Home
last modified time | relevance | path

Searched refs:slu (Results 1 – 3 of 3) sorted by relevance

/titanic_50/usr/src/uts/common/io/comstar/lu/stmf_sbd/
H A Dsbd_pgr.c280 sbd_pgr_meta_init(sbd_lu_t *slu) in sbd_pgr_meta_init() argument
293 ret = sbd_write_meta_section(slu, (sm_section_hdr_t *)spi); in sbd_pgr_meta_init()
299 sbd_pgr_meta_load(sbd_lu_t *slu) in sbd_pgr_meta_load() argument
301 sbd_pgr_t *pgr = slu->sl_pgr; in sbd_pgr_meta_load()
310 ret = sbd_read_meta_section(slu, (sm_section_hdr_t **)&spi, in sbd_pgr_meta_load()
316 ret = sbd_pgr_meta_init(slu); in sbd_pgr_meta_load()
333 PGR_CLEAR_FLAG(slu->sl_pgr->pgr_flags, SBD_PGR_ALL_KEYS_HAS_IT); in sbd_pgr_meta_load()
417 char *lun_name = sbd_get_devid_string(slu); in sbd_pgr_meta_load()
418 sbd_pgr_keylist_dealloc(slu); in sbd_pgr_meta_load()
428 sbd_pgr_meta_write(sbd_lu_t *slu) in sbd_pgr_meta_write() argument
[all …]
H A Dsbd.c75 int sbd_create_register_lu(sbd_create_and_reg_lu_t *slu, int struct_sz,
77 int sbd_create_standby_lu(sbd_create_standby_lu_t *slu, uint32_t *err_ret);
211 sbd_lu_t *slu; in _fini() local
215 for (slu = sbd_lu_list; slu != NULL; slu = slu->sl_next) { in _fini()
216 if ((slu->sl_state != STMF_STATE_OFFLINE) || in _fini()
217 slu->sl_state_not_acked) { in _fini()
1718 sbd_create_register_lu(sbd_create_and_reg_lu_t *slu, int struct_sz, in sbd_create_register_lu() argument
1738 if (((slu->slu_meta_fname_valid) && in sbd_create_register_lu()
1739 (slu->slu_meta_fname_off >= sz)) || in sbd_create_register_lu()
1740 (slu->slu_data_fname_off >= sz) || in sbd_create_register_lu()
[all …]
/titanic_50/usr/src/cmd/mdb/common/modules/stmf_sbd/
H A Dstmf_sbd.c273 sbd_lu_t slu; in stmf_sbd_lu_walk_step() local
278 if (mdb_vread(&slu, sizeof (sbd_lu_t), addr) == -1) { in stmf_sbd_lu_walk_step()
282 wsp->walk_addr = (uintptr_t)slu.sl_next; in stmf_sbd_lu_walk_step()
283 return (wsp->walk_callback(addr, &slu, wsp->walk_cbdata)); in stmf_sbd_lu_walk_step()
294 stmf_sbd_lu_cb(uintptr_t addr, const sbd_lu_t *slu, stmf_sbd_cb_t *cb_st) in stmf_sbd_lu_cb() argument
303 slu->sl_device_id, nhconvert_8bytes(&slu->sl_device_id[4]), in stmf_sbd_lu_cb()
304 nhconvert_8bytes(&slu->sl_device_id[12])); in stmf_sbd_lu_cb()
305 mdb_printf("\tsl_name: %-?p %s\n", slu->sl_name, in stmf_sbd_lu_cb()
306 stmf_sbd_getstr((uintptr_t)slu->sl_name, str)); in stmf_sbd_lu_cb()
307 mdb_printf("\tsl_alias: %-?p %s\n", slu->sl_alias, in stmf_sbd_lu_cb()
[all …]