Searched refs:old_npgs (Results 1 – 1 of 1) sorted by relevance
132 unsigned long lock_limit, new_npgs, old_npgs; in xdp_umem_account_pages() local141 old_npgs = atomic_long_read(&umem->user->locked_vm); in xdp_umem_account_pages()142 new_npgs = old_npgs + umem->npgs; in xdp_umem_account_pages()148 } while (atomic_long_cmpxchg(&umem->user->locked_vm, old_npgs, in xdp_umem_account_pages()149 new_npgs) != old_npgs); in xdp_umem_account_pages()