Home
last modified time | relevance | path

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

/linux-5.19.10/net/xdp/
Dxdp_umem.c132 unsigned long lock_limit, new_npgs, old_npgs; in xdp_umem_account_pages() local
141 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()