Home
last modified time | relevance | path

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

/openbmc/linux/drivers/scsi/device_handler/
H A Dscsi_dh_alua.c330 struct alua_port_group *pg, *old_pg = NULL; in alua_check_vpd() local
367 old_pg = rcu_dereference_protected(h->pg, lockdep_is_held(&h->pg_lock)); in alua_check_vpd()
368 if (old_pg != pg) { in alua_check_vpd()
371 spin_lock_irqsave(&old_pg->lock, flags); in alua_check_vpd()
373 spin_unlock_irqrestore(&old_pg->lock, flags); in alua_check_vpd()
389 if (old_pg) in alua_check_vpd()
390 kref_put(&old_pg->kref, release_port_group); in alua_check_vpd()
/openbmc/linux/net/core/
H A Dskbuff.c1499 unsigned long max_pg, num_pg, new_pg, old_pg, rlim; in mm_account_pinned_pages() local
1513 old_pg = atomic_long_read(&user->locked_vm); in mm_account_pinned_pages()
1515 new_pg = old_pg + num_pg; in mm_account_pinned_pages()
1518 } while (!atomic_long_try_cmpxchg(&user->locked_vm, &old_pg, new_pg)); in mm_account_pinned_pages()