Searched refs:atomic_xchg (Results 1 – 9 of 9) sorted by relevance
/linux-4.19.296/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-4.19.296/include/asm-generic/ |
D | atomic.h | 199 #define atomic_xchg(ptr, v) (xchg(&(ptr)->counter, (v))) macro
|
D | atomic-instrumented.h | 43 static __always_inline int atomic_xchg(atomic_t *v, int i) in atomic_xchg() function
|
/linux-4.19.296/fs/btrfs/ |
D | volumes.h | 507 ret = atomic_xchg(dev->dev_stat_values + index, 0); in btrfs_dev_stat_read_and_reset()
|
/linux-4.19.296/fs/cachefiles/ |
D | daemon.c | 179 f_released = atomic_xchg(&cache->f_released, 0); in cachefiles_daemon_read()
|
/linux-4.19.296/drivers/pci/hotplug/ |
D | pciehp_hpc.c | 647 events = atomic_xchg(&ctrl->pending_events, 0); in pciehp_ist()
|
/linux-4.19.296/drivers/misc/lis3lv02d/ |
D | lis3lv02d.c | 627 data = atomic_xchg(&lis3->count, 0); in lis3lv02d_misc_read()
|
/linux-4.19.296/fs/ |
D | aio.c | 824 if (atomic_xchg(&ctx->dead, 1)) { in kill_ioctx()
|
/linux-4.19.296/drivers/s390/net/ |
D | qeth_core_main.c | 2563 if (atomic_xchg(&card->qdio.state, QETH_QDIO_UNINITIALIZED) == in qeth_free_qdio_buffers() 3526 if (atomic_xchg(&queue->state, QETH_OUT_Q_LOCKED_FLUSH) == in qeth_check_outbound_queue() 4165 atomic_xchg(&queue->state, QETH_OUT_Q_LOCKED_FLUSH); in qeth_do_send_packet()
|