/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
D | ringbuf.c | 35 static int atomic_xchg(int *cnt, int val) in atomic_xchg() function 129 cnt = atomic_xchg(&sample_cnt, 0); in test_ringbuf() 136 cnt = atomic_xchg(&sample_cnt, 0); in test_ringbuf() 153 cnt = atomic_xchg(&sample_cnt, 0); in test_ringbuf() 183 cnt = atomic_xchg(&sample_cnt, 0); in test_ringbuf() 200 cnt = atomic_xchg(&sample_cnt, 0); in test_ringbuf() 230 cnt = atomic_xchg(&sample_cnt, 0); in test_ringbuf()
|
/kernel/linux/linux-4.19/include/linux/ |
D | atomic.h | 425 #define atomic_xchg_relaxed atomic_xchg 426 #define atomic_xchg_acquire atomic_xchg 427 #define atomic_xchg_release atomic_xchg 433 __atomic_op_acquire(atomic_xchg, __VA_ARGS__) 438 __atomic_op_release(atomic_xchg, __VA_ARGS__) 441 #ifndef atomic_xchg 442 #define atomic_xchg(...) \ macro 443 __atomic_op_fence(atomic_xchg, __VA_ARGS__)
|
/kernel/linux/linux-4.19/arch/arm64/include/asm/ |
D | atomic.h | 91 #define atomic_xchg(v, new) xchg(&((v)->counter), (new)) macro 153 #define atomic64_xchg atomic_xchg
|
/kernel/linux/linux-4.19/drivers/video/backlight/ |
D | apple_bl.c | 226 if (atomic_xchg(&apple_bl_registered, 1) == 0) in apple_bl_register() 235 if (atomic_xchg(&apple_bl_registered, 0) == 1) in apple_bl_unregister()
|
/kernel/linux/linux-5.10/drivers/video/backlight/ |
D | apple_bl.c | 223 if (atomic_xchg(&apple_bl_registered, 1) == 0) in apple_bl_register() 232 if (atomic_xchg(&apple_bl_registered, 0) == 1) in apple_bl_unregister()
|
/kernel/linux/linux-5.10/arch/sh/include/asm/ |
D | atomic.h | 33 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) macro
|
/kernel/linux/linux-4.19/arch/m68k/include/asm/ |
D | atomic.h | 166 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) macro 183 static inline int atomic_xchg(atomic_t *v, int new) in atomic_xchg() function
|
/kernel/linux/linux-5.10/arch/m68k/include/asm/ |
D | atomic.h | 164 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) macro 181 static inline int atomic_xchg(atomic_t *v, int new) in atomic_xchg() function
|
/kernel/linux/linux-4.19/arch/sh/include/asm/ |
D | atomic.h | 35 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) macro
|
/kernel/linux/linux-5.10/drivers/staging/wfx/ |
D | bh.c | 146 ctrl_reg = atomic_xchg(&wdev->hif.ctrl_reg, 0); in bh_work_rx() 161 ctrl_reg = atomic_xchg(&wdev->hif.ctrl_reg, piggyback); in bh_work_rx() 274 prev = atomic_xchg(&wdev->hif.ctrl_reg, cur); in wfx_bh_request_rx()
|
/kernel/linux/linux-5.10/arch/sparc/lib/ |
D | atomic32.c | 70 int atomic_xchg(atomic_t *v, int new) in atomic_xchg() function 81 EXPORT_SYMBOL(atomic_xchg);
|
/kernel/linux/linux-4.19/arch/sparc/lib/ |
D | atomic32.c | 70 int atomic_xchg(atomic_t *v, int new) in atomic_xchg() function 81 EXPORT_SYMBOL(atomic_xchg);
|
/kernel/linux/linux-5.10/arch/sparc/include/asm/ |
D | atomic_32.h | 27 int atomic_xchg(atomic_t *, int);
|
D | atomic_64.h | 54 static inline int atomic_xchg(atomic_t *v, int new) in ATOMIC_OPS()
|
/kernel/linux/linux-5.10/arch/h8300/include/asm/ |
D | cmpxchg.h | 64 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) macro
|
/kernel/linux/linux-4.19/arch/h8300/include/asm/ |
D | cmpxchg.h | 64 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) macro
|
/kernel/linux/linux-4.19/arch/sparc/include/asm/ |
D | atomic_32.h | 29 int atomic_xchg(atomic_t *, int);
|
D | atomic_64.h | 55 static inline int atomic_xchg(atomic_t *v, int new) in ATOMIC_OPS()
|
/kernel/linux/linux-5.10/arch/arc/include/asm/ |
D | cmpxchg.h | 156 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) macro
|
/kernel/linux/linux-5.10/drivers/gpu/drm/panfrost/ |
D | panfrost_job.c | 389 old_status = atomic_xchg(&queue->status, in panfrost_scheduler_stop() 419 old_status = atomic_xchg(&queue->status, in panfrost_scheduler_start() 427 old_status = atomic_xchg(&queue->status, in panfrost_scheduler_start() 461 if (!atomic_xchg(&pfdev->reset.pending, 1)) in panfrost_job_timedout()
|
/kernel/linux/linux-4.19/drivers/net/wireless/st/cw1200/ |
D | bh.c | 460 rx = atomic_xchg(&priv->bh_rx, 0); in cw1200_bh() 461 tx = atomic_xchg(&priv->bh_tx, 0); in cw1200_bh() 462 term = atomic_xchg(&priv->bh_term, 0); in cw1200_bh()
|
/kernel/linux/linux-5.10/drivers/net/wireless/st/cw1200/ |
D | bh.c | 457 rx = atomic_xchg(&priv->bh_rx, 0); in cw1200_bh() 458 tx = atomic_xchg(&priv->bh_tx, 0); in cw1200_bh() 459 term = atomic_xchg(&priv->bh_term, 0); in cw1200_bh()
|
/kernel/linux/linux-4.19/arch/hexagon/include/asm/ |
D | atomic.h | 60 #define atomic_xchg(v, new) (xchg(&((v)->counter), (new))) macro
|
/kernel/linux/linux-5.10/arch/hexagon/include/asm/ |
D | atomic.h | 44 #define atomic_xchg(v, new) (xchg(&((v)->counter), (new))) macro
|
/kernel/linux/linux-4.19/arch/arc/include/asm/ |
D | cmpxchg.h | 225 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) macro
|