ddi_soft_state_bystr
ddi_soft_state_bystr *phymap_name2phys; /* bitset */
ddi_soft_state_bystr *phymap_name2ua;
ddi_soft_state_bystr *phymap_ua2name;
ddi_soft_state_bystr_init(ddi_soft_state_bystr **state_p, size_t size,
*state_p = (ddi_soft_state_bystr *)sss;
ddi_soft_state_bystr_zalloc(ddi_soft_state_bystr *state, const char *str)
ddi_soft_state_bystr_get(ddi_soft_state_bystr *state, const char *str)
ddi_soft_state_bystr_free(ddi_soft_state_bystr *state, const char *str)
ddi_soft_state_bystr_fini(ddi_soft_state_bystr **state_p)
ddi_soft_state_bystr *lun_sstate;
ddi_soft_state_bystr *tgt_sstate; /* tgt softstate */
ddi_soft_state_bystr_init(ddi_soft_state_bystr **state_p,
ddi_soft_state_bystr_zalloc(ddi_soft_state_bystr *state, const char *str);
ddi_soft_state_bystr_get(ddi_soft_state_bystr *state, const char *str);
ddi_soft_state_bystr_free(ddi_soft_state_bystr *state, const char *str);
ddi_soft_state_bystr_fini(ddi_soft_state_bystr **state_p);