Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/scsi/device_handler/
Dscsi_dh_alua.c324 struct alua_port_group *pg, *old_pg = NULL; in alua_check_vpd() local
359 old_pg = rcu_dereference_protected(h->pg, lockdep_is_held(&h->pg_lock)); in alua_check_vpd()
360 if (old_pg != pg) { in alua_check_vpd()
363 spin_lock_irqsave(&old_pg->lock, flags); in alua_check_vpd()
365 spin_unlock_irqrestore(&old_pg->lock, flags); in alua_check_vpd()
381 if (old_pg) in alua_check_vpd()
382 kref_put(&old_pg->kref, release_port_group); in alua_check_vpd()
/linux-5.19.10/net/core/
Dskbuff.c1133 unsigned long max_pg, num_pg, new_pg, old_pg; in mm_account_pinned_pages() local
1144 old_pg = atomic_long_read(&user->locked_vm); in mm_account_pinned_pages()
1145 new_pg = old_pg + num_pg; in mm_account_pinned_pages()
1148 } while (atomic_long_cmpxchg(&user->locked_vm, old_pg, new_pg) != in mm_account_pinned_pages()
1149 old_pg); in mm_account_pinned_pages()