Searched refs:tmp_pg (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/scsi/device_handler/ |
H A D | scsi_dh_alua.c | 213 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 649 tmp_pg = alua_find_get_pg(pg->device_id_str, pg->device_id_len, in alua_rtpg() 652 if (tmp_pg) { in alua_rtpg() 653 if (spin_trylock_irqsave(&tmp_pg->lock, flags)) { in alua_rtpg() 654 if ((tmp_pg == pg) || in alua_rtpg() 655 !(tmp_pg in alua_rtpg() [all...] |
/kernel/linux/linux-6.6/drivers/scsi/device_handler/ |
H A D | scsi_dh_alua.c | 220 struct alua_port_group *pg, *tmp_pg; in alua_alloc_pg() local 253 tmp_pg = alua_find_get_pg(pg->device_id_str, pg->device_id_len, in alua_alloc_pg() 255 if (tmp_pg) { in alua_alloc_pg() 258 return tmp_pg; in alua_alloc_pg() 525 struct alua_port_group *tmp_pg; in alua_rtpg() local 674 tmp_pg = alua_find_get_pg(pg->device_id_str, pg->device_id_len, in alua_rtpg() 677 if (tmp_pg) { in alua_rtpg() 678 if (spin_trylock_irqsave(&tmp_pg->lock, flags)) { in alua_rtpg() 679 if ((tmp_pg == pg) || in alua_rtpg() 680 !(tmp_pg in alua_rtpg() [all...] |
Completed in 3 milliseconds