sd_w_map
static struct sd_w_map *sd_range_lock(struct sd_lun *un, daddr_t startb,
static struct sd_w_map *sd_get_range(struct sd_lun *un, daddr_t startb,
static void sd_free_inlist_wmap(struct sd_lun *un, struct sd_w_map *wmp);
static void sd_range_unlock(struct sd_lun *un, struct sd_w_map *wm);
bzero(wm, sizeof (struct sd_w_map));
cv_init(&((struct sd_w_map *)wm)->wm_avail, NULL, CV_DRIVER, NULL);
cv_destroy(&((struct sd_w_map *)wm)->wm_avail);
static struct sd_w_map *
struct sd_w_map *wmp = NULL;
struct sd_w_map *sl_wmp = NULL;
struct sd_w_map *tmp_wmp;
static struct sd_w_map *
struct sd_w_map *wmp;
sd_free_inlist_wmap(struct sd_lun *un, struct sd_w_map *wmp)
sd_range_unlock(struct sd_lun *un, struct sd_w_map *wm)
name_str, sizeof (struct sd_w_map),
name_str, sizeof (struct sd_w_map),
struct sd_w_map *wm_next; /* Forward pointed to sd_w_map */
struct sd_w_map *wm_prev; /* Back pointer to sd_w_map */
_NOTE(MUTEX_PROTECTS_DATA(scsi_device::sd_mutex, sd_w_map::wm_flags))
struct sd_w_map *mbs_wmp; /* ptr to write-map struct for RMW */
struct sd_w_map *un_wm; /* head of sd_w_map chain */