Searched refs:old_pg (Results 1 – 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/scsi/device_handler/ |
D | scsi_dh_alua.c | 323 struct alua_port_group *pg, *old_pg = NULL; in alua_check_vpd() local 358 old_pg = rcu_dereference_protected(h->pg, lockdep_is_held(&h->pg_lock)); in alua_check_vpd() 359 if (old_pg != pg) { in alua_check_vpd() 362 spin_lock_irqsave(&old_pg->lock, flags); in alua_check_vpd() 364 spin_unlock_irqrestore(&old_pg->lock, flags); in alua_check_vpd() 380 if (old_pg) in alua_check_vpd() 381 kref_put(&old_pg->kref, release_port_group); in alua_check_vpd()
|
/kernel/linux/linux-5.10/net/core/ |
D | skbuff.c | 1066 unsigned long max_pg, num_pg, new_pg, old_pg; in mm_account_pinned_pages() local 1077 old_pg = atomic_long_read(&user->locked_vm); in mm_account_pinned_pages() 1078 new_pg = old_pg + num_pg; in mm_account_pinned_pages() 1081 } while (atomic_long_cmpxchg(&user->locked_vm, old_pg, new_pg) != in mm_account_pinned_pages() 1082 old_pg); in mm_account_pinned_pages()
|