/Linux-v5.4/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()
|
/Linux-v5.4/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-v5.4/arch/sh/include/asm/ |
D | atomic.h | 35 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) macro
|
/Linux-v5.4/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-v5.4/arch/h8300/include/asm/ |
D | cmpxchg.h | 64 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) macro
|
/Linux-v5.4/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-v5.4/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()
|
/Linux-v5.4/arch/hexagon/include/asm/ |
D | atomic.h | 46 #define atomic_xchg(v, new) (xchg(&((v)->counter), (new))) macro
|
/Linux-v5.4/arch/arc/include/asm/ |
D | cmpxchg.h | 222 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) macro
|
/Linux-v5.4/include/linux/ |
D | atomic-fallback.h | 823 #define atomic_xchg_acquire atomic_xchg 824 #define atomic_xchg_release atomic_xchg 825 #define atomic_xchg_relaxed atomic_xchg 849 #ifndef atomic_xchg 851 atomic_xchg(atomic_t *v, int i) in atomic_xchg() function 859 #define atomic_xchg atomic_xchg macro
|
/Linux-v5.4/drivers/md/bcache/ |
D | writeback.h | 99 !atomic_xchg(&dc->has_dirty, 1)) { in bch_writeback_add()
|
/Linux-v5.4/arch/powerpc/platforms/powernv/ |
D | opal-prd.c | 92 if (atomic_xchg(&prd_usage, 1) == 1) in opal_prd_open() 260 atomic_xchg(&prd_usage, 0); in opal_prd_release()
|
/Linux-v5.4/kernel/locking/ |
D | osq_lock.c | 107 old = atomic_xchg(&lock->tail, curr); in osq_lock()
|
/Linux-v5.4/arch/xtensa/include/asm/ |
D | atomic.h | 259 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) macro
|
/Linux-v5.4/include/asm-generic/ |
D | atomic.h | 195 #define atomic_xchg(ptr, v) (xchg(&(ptr)->counter, (v))) macro
|
/Linux-v5.4/arch/riscv/include/asm/ |
D | atomic.h | 306 #define atomic_xchg atomic_xchg in ATOMIC_OPS() macro
|
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_ih.c | 156 if (atomic_xchg(&ih->lock, 1)) in amdgpu_ih_process()
|
/Linux-v5.4/arch/s390/include/asm/ |
D | atomic.h | 78 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) in ATOMIC_OPS() macro
|
/Linux-v5.4/kernel/ |
D | hung_task.c | 287 if (!atomic_xchg(&reset_hung_task, 0) && in watchdog()
|
/Linux-v5.4/drivers/platform/x86/ |
D | dell-smo8800.c | 92 (data = atomic_xchg(&smo8800->counter, 0))); in smo8800_misc_read()
|
/Linux-v5.4/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-v5.4/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-v5.4/arch/parisc/include/asm/ |
D | atomic.h | 78 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) macro
|
/Linux-v5.4/kernel/printk/ |
D | printk_safe.c | 170 int lost = atomic_xchg(&s->message_lost, 0); in report_message_lost()
|