Home
last modified time | relevance | path

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

/Linux-v4.19/arch/sparc/include/asm/
Datomic_32.h30 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/
Datomic.h103 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/
Datomic.h176 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/
Datomic.h85 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/
Datomic.h217 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/
Datomic32.c98 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/
Datomic.h133 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/
Datomic.h206 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/
Datomic.h213 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/
Datomic-instrumented.h88 #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/
Dconn_object.c271 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()
Dlocal_object.c338 int n = atomic_fetch_add_unless(&local->usage, 1, 0); in rxrpc_get_local_maybe()
Dpeer_object.c401 int n = atomic_fetch_add_unless(&peer->usage, 1, 0); in rxrpc_get_peer_maybe()
Dcall_object.c419 int n = atomic_fetch_add_unless(&call->usage, 1, 0); in rxrpc_queue_call()
/Linux-v4.19/include/linux/
Datomic.h572 #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/
Drdma_core.c82 return atomic_fetch_add_unless(&uobj->usecnt, 1, -1) == -1 ? in uverbs_try_lock_object()
/Linux-v4.19/fs/afs/
Drxrpc.c651 u = atomic_fetch_add_unless(&call->usage, 1, 0); in afs_wake_up_async_call()
/Linux-v4.19/kernel/bpf/
Dsyscall.c634 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/
Drbd.c64 counter = (unsigned int)atomic_fetch_add_unless(v, 1, 0); in atomic_inc_return_safe()