Searched refs:old_npgs (Results 1 – 1 of 1) sorted by relevance
130 unsigned long lock_limit, new_npgs, old_npgs; in xdp_umem_account_pages() local139 old_npgs = atomic_long_read(&umem->user->locked_vm); in xdp_umem_account_pages()140 new_npgs = old_npgs + umem->npgs; in xdp_umem_account_pages()146 } while (atomic_long_cmpxchg(&umem->user->locked_vm, old_npgs, in xdp_umem_account_pages()147 new_npgs) != old_npgs); in xdp_umem_account_pages()