/Linux-v4.19/arch/sparc/include/asm/ |
D | atomic_32.h | 30 int atomic_fetch_add_unless(atomic_t *, int, int); 33 #define atomic_fetch_add_unless atomic_fetch_add_unless macro
|
/Linux-v4.19/arch/openrisc/include/asm/ |
D | atomic.h | 103 static inline int atomic_fetch_add_unless(atomic_t *v, int a, int u) in ATOMIC_OP_RETURN() 122 #define atomic_fetch_add_unless atomic_fetch_add_unless macro
|
/Linux-v4.19/arch/hexagon/include/asm/ |
D | atomic.h | 176 static inline int atomic_fetch_add_unless(atomic_t *v, int a, int u) in ATOMIC_OPS() 199 #define atomic_fetch_add_unless atomic_fetch_add_unless macro
|
/Linux-v4.19/arch/h8300/include/asm/ |
D | atomic.h | 85 static inline int atomic_fetch_add_unless(atomic_t *v, int a, int u) in atomic_fetch_add_unless() function 97 #define atomic_fetch_add_unless atomic_fetch_add_unless macro
|
/Linux-v4.19/arch/alpha/include/asm/ |
D | atomic.h | 217 static __inline__ int atomic_fetch_add_unless(atomic_t *v, int a, int u) in ATOMIC_OPS() 238 #define atomic_fetch_add_unless atomic_fetch_add_unless macro
|
/Linux-v4.19/arch/sparc/lib/ |
D | atomic32.c | 98 int atomic_fetch_add_unless(atomic_t *v, int a, int u) in atomic_fetch_add_unless() function 110 EXPORT_SYMBOL(atomic_fetch_add_unless);
|
/Linux-v4.19/arch/arm/include/asm/ |
D | atomic.h | 133 static inline int atomic_fetch_add_unless(atomic_t *v, int a, int u) in atomic_fetch_add_unless() function 159 #define atomic_fetch_add_unless atomic_fetch_add_unless macro
|
/Linux-v4.19/arch/riscv/include/asm/ |
D | atomic.h | 206 static __always_inline int atomic_fetch_add_unless(atomic_t *v, int a, int u) 223 #define atomic_fetch_add_unless atomic_fetch_add_unless macro
|
/Linux-v4.19/arch/powerpc/include/asm/ |
D | atomic.h | 213 static __inline__ int atomic_fetch_add_unless(atomic_t *v, int a, int u) in atomic_fetch_add_unless() function 235 #define atomic_fetch_add_unless atomic_fetch_add_unless macro
|
/Linux-v4.19/include/asm-generic/ |
D | atomic-instrumented.h | 88 #define atomic_fetch_add_unless atomic_fetch_add_unless macro 89 static __always_inline int atomic_fetch_add_unless(atomic_t *v, int a, int u) in atomic_fetch_add_unless() function
|
/Linux-v4.19/net/rxrpc/ |
D | conn_object.c | 271 int n = atomic_fetch_add_unless(&conn->usage, 1, 0); in rxrpc_queue_conn() 314 int n = atomic_fetch_add_unless(&conn->usage, 1, 0); in rxrpc_get_connection_maybe()
|
D | local_object.c | 338 int n = atomic_fetch_add_unless(&local->usage, 1, 0); in rxrpc_get_local_maybe()
|
D | peer_object.c | 401 int n = atomic_fetch_add_unless(&peer->usage, 1, 0); in rxrpc_get_peer_maybe()
|
D | call_object.c | 419 int n = atomic_fetch_add_unless(&call->usage, 1, 0); in rxrpc_queue_call()
|
/Linux-v4.19/include/linux/ |
D | atomic.h | 572 #ifndef atomic_fetch_add_unless 573 static inline int atomic_fetch_add_unless(atomic_t *v, int a, int u) in atomic_fetch_add_unless() function 597 return atomic_fetch_add_unless(v, a, u) != u; in atomic_add_unless()
|
/Linux-v4.19/drivers/infiniband/core/ |
D | rdma_core.c | 82 return atomic_fetch_add_unless(&uobj->usecnt, 1, -1) == -1 ? in uverbs_try_lock_object()
|
/Linux-v4.19/fs/afs/ |
D | rxrpc.c | 651 u = atomic_fetch_add_unless(&call->usage, 1, 0); in afs_wake_up_async_call()
|
/Linux-v4.19/kernel/bpf/ |
D | syscall.c | 634 refold = atomic_fetch_add_unless(&map->refcnt, 1, 0); in bpf_map_inc_not_zero() 1212 refold = atomic_fetch_add_unless(&prog->aux->refcnt, 1, 0); in bpf_prog_inc_not_zero()
|
/Linux-v4.19/drivers/block/ |
D | rbd.c | 64 counter = (unsigned int)atomic_fetch_add_unless(v, 1, 0); in atomic_inc_return_safe()
|