Home
last modified time | relevance | path

Searched refs:atomic_xchg (Results 1 – 9 of 9) sorted by relevance

/linux-4.19.296/include/linux/
Datomic.h425 #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/
Datomic.h199 #define atomic_xchg(ptr, v) (xchg(&(ptr)->counter, (v))) macro
Datomic-instrumented.h43 static __always_inline int atomic_xchg(atomic_t *v, int i) in atomic_xchg() function
/linux-4.19.296/fs/btrfs/
Dvolumes.h507 ret = atomic_xchg(dev->dev_stat_values + index, 0); in btrfs_dev_stat_read_and_reset()
/linux-4.19.296/fs/cachefiles/
Ddaemon.c179 f_released = atomic_xchg(&cache->f_released, 0); in cachefiles_daemon_read()
/linux-4.19.296/drivers/pci/hotplug/
Dpciehp_hpc.c647 events = atomic_xchg(&ctrl->pending_events, 0); in pciehp_ist()
/linux-4.19.296/drivers/misc/lis3lv02d/
Dlis3lv02d.c627 data = atomic_xchg(&lis3->count, 0); in lis3lv02d_misc_read()
/linux-4.19.296/fs/
Daio.c824 if (atomic_xchg(&ctx->dead, 1)) { in kill_ioctx()
/linux-4.19.296/drivers/s390/net/
Dqeth_core_main.c2563 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()