atomic_xchg       157 arch/mips/math-emu/dsemul.c 	fr_idx = atomic_xchg(&tsk->thread.bd_emu_frame, BD_EMUFRAME_NONE);
atomic_xchg       283 arch/mips/mm/page.c 	if (atomic_xchg(&run_once, 1)) {
atomic_xchg       430 arch/mips/mm/page.c 	if (atomic_xchg(&run_once, 1)) {
atomic_xchg       201 arch/powerpc/kvm/book3s_xive_template.c 				int p = atomic_xchg(&q->pending_count, 0);
atomic_xchg        92 arch/powerpc/platforms/powernv/opal-prd.c 	if (atomic_xchg(&prd_usage, 1) == 1)
atomic_xchg       260 arch/powerpc/platforms/powernv/opal-prd.c 	atomic_xchg(&prd_usage, 0);
atomic_xchg       169 arch/powerpc/sysdev/xive/common.c 			int p = atomic_xchg(&q->pending_count, 0);
atomic_xchg       306 arch/riscv/include/asm/atomic.h #define atomic_xchg atomic_xchg
atomic_xchg       198 arch/sh/drivers/dma/dma-api.c 	if (atomic_xchg(&channel->busy, 1))
atomic_xchg        29 arch/sparc/include/asm/atomic_32.h int atomic_xchg(atomic_t *, int);
atomic_xchg        70 arch/sparc/lib/atomic32.c int atomic_xchg(atomic_t *v, int new)
atomic_xchg        81 arch/sparc/lib/atomic32.c EXPORT_SYMBOL(atomic_xchg);
atomic_xchg       247 arch/x86/kvm/i8254.c 	if (atomic_read(&ps->reinject) && !atomic_xchg(&ps->irq_ack, 0))
atomic_xchg      7696 arch/x86/kvm/x86.c 	vcpu->arch.nmi_pending += atomic_xchg(&vcpu->arch.nmi_queued, 0);
atomic_xchg       218 block/kyber-iosched.c 		buckets[bucket] += atomic_xchg(&cpu_buckets[bucket], 0);
atomic_xchg       557 drivers/block/drbd/drbd_worker.c 	sect_in = atomic_xchg(&device->rs_sect_in, 0);
atomic_xchg      1307 drivers/firewire/core-device.c 		if (atomic_xchg(&device->state,
atomic_xchg       156 drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c 	if (atomic_xchg(&ih->lock, 1))
atomic_xchg      1227 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c 	if (atomic_xchg(&dpu_enc->frame_done_timeout_ms, 0)) {
atomic_xchg      2149 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c 	} else if (!atomic_xchg(&dpu_enc->frame_done_timeout_ms, 0)) {
atomic_xchg       504 drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c 	pending = atomic_xchg(&mdp4_crtc->pending, 0);
atomic_xchg      1080 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c 	pending = atomic_xchg(&mdp5_crtc->pending, 0);
atomic_xchg       206 drivers/gpu/drm/nouveau/nouveau_usif.c 	if (atomic_xchg(&ntfy->enabled, 1))
atomic_xchg       244 drivers/gpu/drm/nouveau/nouveau_usif.c 	if (ret == 0 && atomic_xchg(&ntfy->enabled, 0))
atomic_xchg       304 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c 	if (!atomic_xchg(&clk->waiting, 0))
atomic_xchg      7575 drivers/gpu/drm/radeon/cik.c 	if (atomic_xchg(&rdev->ih.lock, 1))
atomic_xchg      4725 drivers/gpu/drm/radeon/evergreen.c 	if (atomic_xchg(&rdev->ih.lock, 1))
atomic_xchg      4116 drivers/gpu/drm/radeon/r600.c 	if (atomic_xchg(&rdev->ih.lock, 1))
atomic_xchg      6267 drivers/gpu/drm/radeon/si.c 	if (atomic_xchg(&rdev->ih.lock, 1))
atomic_xchg       145 drivers/gpu/host1x/intr.c 			WARN_ON(atomic_xchg(&waiter->state, WLS_HANDLED) !=
atomic_xchg      1055 drivers/infiniband/hw/hfi1/driver.c 			     atomic_xchg(&dd->drop_packet, DROP_PACKET_OFF) ==
atomic_xchg      1389 drivers/infiniband/ulp/srpt/ib_srpt.c 		cpu_to_be32(1 + atomic_xchg(&ch->req_lim_delta, 0));
atomic_xchg      1462 drivers/infiniband/ulp/srpt/ib_srpt.c 		cpu_to_be32(1 + atomic_xchg(&ch->req_lim_delta, 0));
atomic_xchg       159 drivers/md/bcache/stats.c 	unsigned int t = atomic_xchg(&acc->collector.name, 0);		\
atomic_xchg       963 drivers/md/bcache/super.c 	if (atomic_xchg(&dc->running, 1)) {
atomic_xchg        99 drivers/md/bcache/writeback.h 	    !atomic_xchg(&dc->has_dirty, 1)) {
atomic_xchg      1083 drivers/media/cec/cec-pin.c 		switch (atomic_xchg(&pin->work_irq_change,
atomic_xchg       606 drivers/misc/lis3lv02d/lis3lv02d.c 		data = atomic_xchg(&lis3->count, 0);
atomic_xchg      1072 drivers/net/can/c_can/c_can.c 	if (atomic_xchg(&priv->sie_pending, 0)) {
atomic_xchg      2158 drivers/net/ethernet/ti/netcp_ethss.c 	if (atomic_xchg(&slave->link_state, link_state) != link_state)
atomic_xchg      1477 drivers/net/wireless/ath/wil6210/debugfs.c 	int rx = atomic_xchg(&wil->isr_count_rx, 0);
atomic_xchg      1478 drivers/net/wireless/ath/wil6210/debugfs.c 	int tx = atomic_xchg(&wil->isr_count_tx, 0);
atomic_xchg      2597 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c 	intstatus = atomic_xchg(&bus->intstatus, 0);
atomic_xchg       457 drivers/net/wireless/st/cw1200/bh.c 				rx = atomic_xchg(&priv->bh_rx, 0);
atomic_xchg       458 drivers/net/wireless/st/cw1200/bh.c 				tx = atomic_xchg(&priv->bh_tx, 0);
atomic_xchg       459 drivers/net/wireless/st/cw1200/bh.c 				term = atomic_xchg(&priv->bh_term, 0);
atomic_xchg       335 drivers/net/wireless/st/cw1200/scan.c 	atomic_xchg(&priv->recent_scan, 0);
atomic_xchg       342 drivers/net/wireless/st/cw1200/scan.c 	if (atomic_xchg(&priv->scan.in_progress, 0)) {
atomic_xchg       136 drivers/net/wireless/st/cw1200/sta.c 	if (atomic_xchg(&priv->tx_lock, 1) != 1)
atomic_xchg       140 drivers/net/wireless/st/cw1200/sta.c 	atomic_xchg(&priv->tx_lock, 0); /* for recovery to work */
atomic_xchg      1505 drivers/nvme/host/fc.c 	opstate = atomic_xchg(&op->state, FCPOP_STATE_ABORTED);
atomic_xchg      1605 drivers/nvme/host/fc.c 	opstate = atomic_xchg(&op->state, FCPOP_STATE_COMPLETE);
atomic_xchg      2085 drivers/nvme/host/fc.c 		active = atomic_xchg(&ctrl->err_work_active, 1);
atomic_xchg      2302 drivers/nvme/host/fc.c 		opstate = atomic_xchg(&op->state, FCPOP_STATE_COMPLETE);
atomic_xchg       684 drivers/nvme/target/fc.c 	disconnect = atomic_xchg(&queue->connected, 0);
atomic_xchg       635 drivers/pci/hotplug/pciehp_hpc.c 	events = atomic_xchg(&ctrl->pending_events, 0);
atomic_xchg        92 drivers/platform/x86/dell-smo8800.c 				(data = atomic_xchg(&smo8800->counter, 0)));
atomic_xchg      2400 drivers/s390/net/qeth_core_main.c 	if (atomic_xchg(&card->qdio.state, QETH_QDIO_UNINITIALIZED) ==
atomic_xchg      3370 drivers/s390/net/qeth_core_main.c 		if (atomic_xchg(&queue->state, QETH_OUT_Q_LOCKED_FLUSH) ==
atomic_xchg      3968 drivers/s390/net/qeth_core_main.c 		atomic_xchg(&queue->state, QETH_OUT_Q_LOCKED_FLUSH);
atomic_xchg      1076 drivers/scsi/hptiop.c 	if (atomic_xchg(&hba->resetting, 1) == 0) {
atomic_xchg      1618 drivers/scsi/scsi_debug.c 	atomic_xchg(&devip->stopped, stop);
atomic_xchg       372 drivers/staging/android/vsoc.c 	prev = atomic_xchg(owner_ptr, VSOC_REGION_FREE);
atomic_xchg       582 drivers/staging/android/vsoc.c 		if (!atomic_xchg(reg_data->outgoing_signalled, 1)) {
atomic_xchg       171 drivers/staging/nvec/nvec.c 		if (atomic_xchg(&nvec->msg_pool[i].used, 1) == 0) {
atomic_xchg      2334 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		rc = atomic_xchg(&arm_state->ka_release_count, 0);
atomic_xchg      2335 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		uc = atomic_xchg(&arm_state->ka_use_count, 0);
atomic_xchg      2802 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		long ack_cnt = atomic_xchg(&arm_state->ka_use_ack_count, 0);
atomic_xchg      1274 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		flags = atomic_xchg(&state->poll_services[group], 0);
atomic_xchg      1286 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 					atomic_xchg(&service->poll_flags, 0);
atomic_xchg       138 drivers/tty/tty_buffer.c 	still_used = atomic_xchg(&buf->mem_used, 0);
atomic_xchg       493 drivers/usb/class/usbtmc.c 	srq_asserted = atomic_xchg(&file_data->srq_asserted, srq_asserted);
atomic_xchg       223 drivers/video/backlight/apple_bl.c 	if (atomic_xchg(&apple_bl_registered, 1) == 0)
atomic_xchg       232 drivers/video/backlight/apple_bl.c 	if (atomic_xchg(&apple_bl_registered, 0) == 1)
atomic_xchg       823 fs/aio.c       	if (atomic_xchg(&ctx->dead, 1)) {
atomic_xchg       523 fs/btrfs/volumes.h 	ret = atomic_xchg(dev->dev_stat_values + index, 0);
atomic_xchg       175 fs/cachefiles/daemon.c 	f_released = atomic_xchg(&cache->f_released, 0);
atomic_xchg       616 include/asm-generic/atomic-instrumented.h #define atomic_xchg atomic_xchg
atomic_xchg       882 include/asm-generic/atomic-long.h 	return atomic_xchg(v, i);
atomic_xchg       823 include/linux/atomic-fallback.h #define atomic_xchg_acquire atomic_xchg
atomic_xchg       824 include/linux/atomic-fallback.h #define atomic_xchg_release atomic_xchg
atomic_xchg       825 include/linux/atomic-fallback.h #define atomic_xchg_relaxed atomic_xchg
atomic_xchg       849 include/linux/atomic-fallback.h #ifndef atomic_xchg
atomic_xchg       859 include/linux/atomic-fallback.h #define atomic_xchg atomic_xchg
atomic_xchg      1304 kernel/audit.c 			u32 lost = atomic_xchg(&audit_lost, 0);
atomic_xchg       251 kernel/bpf/helpers.c 	} while (atomic_xchg(l, 1));
atomic_xchg       565 kernel/debug/debug_core.c 			atomic_xchg(&kgdb_active, cpu);
atomic_xchg       580 kernel/debug/debug_core.c 				atomic_xchg(&kgdb_active, cpu);
atomic_xchg      5025 kernel/events/core.c 		events = atomic_xchg(&rb->poll, 0);
atomic_xchg       287 kernel/hung_task.c 			if (!atomic_xchg(&reset_hung_task, 0) &&
atomic_xchg       107 kernel/locking/osq_lock.c 	old = atomic_xchg(&lock->tail, curr);
atomic_xchg       169 kernel/printk/printk_safe.c 	int lost = atomic_xchg(&s->message_lost, 0);
atomic_xchg       267 kernel/rcu/rcu.h 	    !atomic_xchg(&___rfd_beenhere, 1)) { \
atomic_xchg       641 kernel/rcu/tree_stall.h 	    atomic_xchg(&warned, 1)) {
atomic_xchg      3714 kernel/sched/core.c 	os = atomic_xchg(&twork->state, TICK_SCHED_REMOTE_RUNNING);
atomic_xchg      3736 kernel/sched/core.c 	os = atomic_xchg(&twork->state, TICK_SCHED_REMOTE_OFFLINING);
atomic_xchg       410 kernel/smpboot.c 	(void)atomic_xchg(&per_cpu(cpu_hotplug_state, cpu), CPU_ONLINE);
atomic_xchg       124 kernel/trace/trace_mmiotrace.c 	unsigned long cnt = atomic_xchg(&dropped_count, 0);
atomic_xchg       511 mm/swap_state.c 	hits = atomic_xchg(&swapin_readahead_hits, 0);
atomic_xchg       306 net/ceph/messenger.c 	old_state = atomic_xchg(&con->sock_state, CON_SOCK_STATE_CLOSED);
atomic_xchg       317 net/ceph/messenger.c 	old_state = atomic_xchg(&con->sock_state, CON_SOCK_STATE_CONNECTING);
atomic_xchg       328 net/ceph/messenger.c 	old_state = atomic_xchg(&con->sock_state, CON_SOCK_STATE_CONNECTED);
atomic_xchg       339 net/ceph/messenger.c 	old_state = atomic_xchg(&con->sock_state, CON_SOCK_STATE_CLOSING);
atomic_xchg       352 net/ceph/messenger.c 	old_state = atomic_xchg(&con->sock_state, CON_SOCK_STATE_CLOSED);
atomic_xchg      1757 net/core/dev.c 	int deferred = atomic_xchg(&netstamp_needed_deferred, 0);
atomic_xchg      3947 net/packet/af_packet.c 		drops = atomic_xchg(&po->tp_drops, 0);