Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/xen/
Dxen-scsiback.c931 struct scsiback_tpg *tpg_entry, *tpg = NULL; in scsiback_add_translation_entry() local
948 list_for_each_entry(tpg_entry, &scsiback_list, tv_tpg_list) { in scsiback_add_translation_entry()
949 if (!strcmp(phy, tpg_entry->tport->tport_name) || in scsiback_add_translation_entry()
950 !strcmp(phy, tpg_entry->param_alias)) { in scsiback_add_translation_entry()
951 mutex_lock(&tpg_entry->se_tpg.tpg_lun_mutex); in scsiback_add_translation_entry()
952 hlist_for_each_entry(se_lun, &tpg_entry->se_tpg.tpg_lun_hlist, link) { in scsiback_add_translation_entry()
954 if (!tpg_entry->tpg_nexus) in scsiback_add_translation_entry()
957 tpg = tpg_entry; in scsiback_add_translation_entry()
961 mutex_unlock(&tpg_entry->se_tpg.tpg_lun_mutex); in scsiback_add_translation_entry()