Home
last modified time | relevance | path

Searched refs:lun_list (Results 1 – 4 of 4) sorted by relevance

/titanic_41/usr/src/cmd/iscsid/
H A Discsid.c570 iscsi_lun_list_t *lun_list; in get_luns_count() local
575 lun_list = (iscsi_lun_list_t *)malloc(sizeof (*lun_list)); in get_luns_count()
577 (void) memset(lun_list, 0, sizeof (*lun_list)); in get_luns_count()
578 lun_list->ll_vers = ISCSI_INTERFACE_VERSION; in get_luns_count()
579 lun_list->ll_in_cnt = 1; in get_luns_count()
580 lun_list->ll_all_tgts = B_TRUE; in get_luns_count()
587 lun_list) == -1) { in get_luns_count()
588 free(lun_list); in get_luns_count()
592 if (lun_list->ll_in_cnt >= lun_list->ll_out_cnt) { in get_luns_count()
600 tmp = lun_list; in get_luns_count()
[all …]
/titanic_41/usr/src/uts/common/sys/scsi/adapters/pmcs/
H A Dpmcs.h133 list_t lun_list; /* list of LUNs */ member
/titanic_41/usr/src/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs_scsa.c325 list_insert_tail(&tgt->lun_list, lun); in pmcs_scsa_tran_tgt_init()
379 list_remove(&tgt->lun_list, lun); in pmcs_scsa_tran_tgt_init()
434 list_remove(&target->lun_list, lun); in pmcs_scsa_tran_tgt_free()
3279 list_create(&tgt->lun_list, sizeof (pmcs_lun_t), in pmcs_get_target()
H A Dpmcs_subr.c8107 if (!list_is_empty(&tgt->lun_list)) { in pmcs_update_phy_pm_props()
8110 lunp = list_head(&tgt->lun_list); in pmcs_update_phy_pm_props()
8120 lunp = list_next(&tgt->lun_list, lunp); in pmcs_update_phy_pm_props()