Searched refs:atomic_long_cmpxchg (Results 1 – 9 of 9) sorted by relevance
/Linux-v4.19/arch/alpha/include/asm/ |
D | rwsem.h | 76 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/ |
D | spsc_queue.h | 107 if (atomic_long_cmpxchg(&queue->tail, in spsc_queue_pop()
|
/Linux-v4.19/include/asm-generic/ |
D | local.h | 44 #define local_cmpxchg(l, o, n) atomic_long_cmpxchg((&(l)->a), (o), (n))
|
D | atomic-long.h | 92 #define atomic_long_cmpxchg(l, old, new) \ macro
|
/Linux-v4.19/fs/ |
D | nsfs.c | 96 d = atomic_long_cmpxchg(&ns->stashed, 0, (unsigned long)dentry); in __ns_get_path()
|
/Linux-v4.19/net/xdp/ |
D | xdp_umem.c | 266 } while (atomic_long_cmpxchg(&umem->user->locked_vm, old_npgs, in xdp_umem_account_pages()
|
/Linux-v4.19/drivers/block/zram/ |
D | zram_drv.c | 188 old_max = atomic_long_cmpxchg( in update_used_max()
|
/Linux-v4.19/net/core/ |
D | skbuff.c | 912 } while (atomic_long_cmpxchg(&user->locked_vm, old_pg, new_pg) != in mm_account_pinned_pages()
|
/Linux-v4.19/kernel/events/ |
D | core.c | 4466 if (WARN(atomic_long_cmpxchg(&event->refcount, 1, 0) != 1, in free_event()
|