Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/scsi/device_handler/
Dscsi_dh_alua.c213 struct alua_port_group *pg, *tmp_pg; in alua_alloc_pg() local
246 tmp_pg = alua_find_get_pg(pg->device_id_str, pg->device_id_len, in alua_alloc_pg()
248 if (tmp_pg) { in alua_alloc_pg()
251 return tmp_pg; in alua_alloc_pg()
508 struct alua_port_group *tmp_pg; in alua_rtpg() local
647 tmp_pg = alua_find_get_pg(pg->device_id_str, pg->device_id_len, in alua_rtpg()
650 if (tmp_pg) { in alua_rtpg()
651 if (spin_trylock_irqsave(&tmp_pg->lock, flags)) { in alua_rtpg()
652 if ((tmp_pg == pg) || in alua_rtpg()
653 !(tmp_pg->flags & ALUA_PG_RUNNING)) { in alua_rtpg()
[all …]