Home
last modified time | relevance | path

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

/Linux-v4.19/arch/alpha/include/asm/
Drwsem.h76 res = atomic_long_cmpxchg(&sem->count, old, new); in __down_read_trylock()
125 long ret = atomic_long_cmpxchg(&sem->count, RWSEM_UNLOCKED_VALUE, in __down_write_trylock()
/Linux-v4.19/include/drm/
Dspsc_queue.h107 if (atomic_long_cmpxchg(&queue->tail, in spsc_queue_pop()
/Linux-v4.19/include/asm-generic/
Dlocal.h44 #define local_cmpxchg(l, o, n) atomic_long_cmpxchg((&(l)->a), (o), (n))
Datomic-long.h92 #define atomic_long_cmpxchg(l, old, new) \ macro
/Linux-v4.19/fs/
Dnsfs.c96 d = atomic_long_cmpxchg(&ns->stashed, 0, (unsigned long)dentry); in __ns_get_path()
/Linux-v4.19/net/xdp/
Dxdp_umem.c266 } while (atomic_long_cmpxchg(&umem->user->locked_vm, old_npgs, in xdp_umem_account_pages()
/Linux-v4.19/drivers/block/zram/
Dzram_drv.c188 old_max = atomic_long_cmpxchg( in update_used_max()
/Linux-v4.19/net/core/
Dskbuff.c912 } while (atomic_long_cmpxchg(&user->locked_vm, old_pg, new_pg) != in mm_account_pinned_pages()
/Linux-v4.19/kernel/events/
Dcore.c4466 if (WARN(atomic_long_cmpxchg(&event->refcount, 1, 0) != 1, in free_event()