/Linux-v4.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__)
|
/Linux-v4.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()
|
/Linux-v4.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
|
/Linux-v4.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
|
/Linux-v4.19/arch/sh/include/asm/ |
D | atomic.h | 35 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) macro
|
/Linux-v4.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);
|
/Linux-v4.19/arch/h8300/include/asm/ |
D | cmpxchg.h | 64 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) macro
|
/Linux-v4.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()
|
/Linux-v4.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()
|
/Linux-v4.19/arch/hexagon/include/asm/ |
D | atomic.h | 60 #define atomic_xchg(v, new) (xchg(&((v)->counter), (new))) macro
|
/Linux-v4.19/arch/arc/include/asm/ |
D | cmpxchg.h | 219 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) macro
|
/Linux-v4.19/drivers/md/bcache/ |
D | writeback.h | 88 !atomic_xchg(&dc->has_dirty, 1)) { in bch_writeback_add()
|
/Linux-v4.19/arch/powerpc/platforms/powernv/ |
D | opal-prd.c | 100 if (atomic_xchg(&prd_usage, 1) == 1) in opal_prd_open() 268 atomic_xchg(&prd_usage, 0); in opal_prd_release()
|
/Linux-v4.19/arch/xtensa/include/asm/ |
D | atomic.h | 201 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) macro
|
/Linux-v4.19/kernel/locking/ |
D | osq_lock.c | 107 old = atomic_xchg(&lock->tail, curr); in osq_lock()
|
/Linux-v4.19/include/asm-generic/ |
D | atomic.h | 199 #define atomic_xchg(ptr, v) (xchg(&(ptr)->counter, (v))) macro
|
/Linux-v4.19/arch/s390/include/asm/ |
D | atomic.h | 78 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) in ATOMIC_OPS() macro
|
/Linux-v4.19/kernel/ |
D | hung_task.c | 264 if (!atomic_xchg(&reset_hung_task, 0)) in watchdog()
|
/Linux-v4.19/Documentation/ |
D | atomic_t.txt | 37 atomic_xchg{,_relaxed,_acquire,_release}() 112 the typical solution is to then implement atomic_set{}() with atomic_xchg().
|
/Linux-v4.19/drivers/platform/x86/ |
D | dell-smo8800.c | 101 (data = atomic_xchg(&smo8800->counter, 0))); in smo8800_misc_read()
|
/Linux-v4.19/drivers/gpu/drm/nouveau/ |
D | nouveau_usif.c | 206 if (atomic_xchg(&ntfy->enabled, 1)) in usif_notify_get() 244 if (ret == 0 && atomic_xchg(&ntfy->enabled, 0)) in usif_notify_put()
|
/Linux-v4.19/arch/mips/math-emu/ |
D | dsemul.c | 157 fr_idx = atomic_xchg(&tsk->thread.bd_emu_frame, BD_EMUFRAME_NONE); in dsemul_thread_cleanup()
|
/Linux-v4.19/arch/parisc/include/asm/ |
D | atomic.h | 78 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) macro
|
/Linux-v4.19/kernel/printk/ |
D | printk_safe.c | 182 int lost = atomic_xchg(&s->message_lost, 0); in report_message_lost()
|