/linux-master/io_uring/ |
H A D | poll.c | 663 if (atomic_cmpxchg(&req->poll_refs, 1, 0) != 1)
|
/linux-master/drivers/net/ethernet/sfc/siena/ |
H A D | farch.c | 621 } else if (atomic_cmpxchg(&tx_queue->flush_outstanding, 1093 if (atomic_cmpxchg(&tx_queue->flush_outstanding, 1, 0))
|
/linux-master/drivers/net/ethernet/sfc/falcon/ |
H A D | farch.c | 633 } else if (atomic_cmpxchg(&tx_queue->flush_outstanding, 1099 if (atomic_cmpxchg(&tx_queue->flush_outstanding, 1, 0)) {
|
/linux-master/net/mac80211/ |
H A D | sta_info.c | 2376 atomic_cmpxchg(&sta->airtime[ac].aql_tx_pending, 2387 atomic_cmpxchg(&local->aql_ac_pending_airtime[ac],
|
/linux-master/drivers/net/wireless/realtek/rtw89/ |
H A D | chan.c | 172 cur = atomic_cmpxchg(&hal->roc_entity_idx, 182 cur = atomic_cmpxchg(&hal->roc_entity_idx, idx,
|
/linux-master/kernel/sched/ |
H A D | psi.c | 720 atomic_cmpxchg(&group->rtpoll_wakeup, 1, 0) ||
|
/linux-master/drivers/video/fbdev/omap2/omapfb/displays/ |
H A D | panel-dsi-cm.c | 828 old = atomic_cmpxchg(&ddata->do_update, 1, 0);
|
/linux-master/drivers/block/drbd/ |
H A D | drbd_actlog.c | 87 (r = atomic_cmpxchg(&device->md_io.in_use, 0, 1)) == 0 ||
|
/linux-master/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_svm.c | 1821 if (atomic_cmpxchg(&prange->invalid, invalid, 0) != invalid) 1825 if (atomic_cmpxchg(&svms->evicted_ranges, evicted_ranges, 0) != 2280 if (atomic_cmpxchg(&svms->drain_pagefaults, drain, 0) != drain)
|
/linux-master/drivers/rapidio/ |
H A D | rio.c | 2228 if (atomic_cmpxchg(&port->state,
|
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | msgbuf.c | 345 if (atomic_cmpxchg(&array[*idx].allocated, 0, 1) == 0)
|
/linux-master/drivers/media/platform/ti/omap3isp/ |
H A D | isp.c | 1248 if (atomic_cmpxchg(stopping, 1, 0)) {
|
/linux-master/drivers/misc/cxl/ |
H A D | pci.c | 1119 while (atomic_cmpxchg(&afu->configured_state, 0, -1) != -1)
|
/linux-master/include/linux/atomic/ |
H A D | atomic-instrumented.h | 1179 * atomic_cmpxchg() - atomic compare and exchange with full ordering 1192 atomic_cmpxchg(atomic_t *v, int old, int new) function
|
/linux-master/fs/erofs/ |
H A D | zdata.c | 156 } while (atomic_cmpxchg((atomic_t *)&folio->private, orig, v) != orig);
|
/linux-master/mm/ |
H A D | rmap.c | 755 atomic_cmpxchg(&mm->tlb_flush_batched, batch,
|
/linux-master/mm/kasan/ |
H A D | kasan_test.c | 721 KUNIT_EXPECT_KASAN_FAIL(test, atomic_cmpxchg(unsafe, 21, 42));
|
/linux-master/fs/ubifs/ |
H A D | journal.c | 371 if (atomic_cmpxchg(&c->need_wait_space, 0, 1) == 0) { 500 * atomic_cmpxchg // 0, start queuing
|
/linux-master/drivers/net/ethernet/cavium/liquidio/ |
H A D | lio_main.c | 4094 atomic_cmpxchg(octeon_dev->adapter_fw_state, 4099 fw_state = atomic_cmpxchg(octeon_dev->adapter_fw_state,
|
/linux-master/drivers/staging/vc04_services/interface/vchiq_arm/ |
H A D | vchiq_core.c | 639 } while (atomic_cmpxchg(&service->poll_flags, value, 645 } while (atomic_cmpxchg(&state->poll_services[index],
|
/linux-master/drivers/accel/habanalabs/common/ |
H A D | command_submission.c | 849 rc = atomic_cmpxchg(&hdev->captured_err_info.cs_timeout.write_enable, 1, 0); 1700 do_ctx_switch = atomic_cmpxchg(&ctx->thread_ctx_switch_token, 1, 0);
|
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_ras.c | 3477 if (atomic_cmpxchg(&amdgpu_ras_in_intr, 0, 1) == 0) { 3667 if (atomic_cmpxchg(&ras->in_recovery, 0, 1) == 0)
|
/linux-master/drivers/s390/block/ |
H A D | dasd.c | 2182 if (atomic_cmpxchg (&device->tasklet_scheduled, 0, 1) != 0) 3033 if (atomic_cmpxchg(&block->tasklet_scheduled, 0, 1) != 0)
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | eswitch_offloads.c | 2508 if (atomic_cmpxchg(&rep->rep_data[rep_type].state, 2530 if (atomic_cmpxchg(&rep->rep_data[rep_type].state,
|
/linux-master/drivers/s390/net/ |
H A D | qeth_core_main.c | 1802 switch (atomic_cmpxchg(&card->qdio.state, QETH_QDIO_ESTABLISHED, 2638 if (atomic_cmpxchg(&card->qdio.state, QETH_QDIO_UNINITIALIZED, 5117 if (atomic_cmpxchg(&card->qdio.state, QETH_QDIO_ALLOCATED,
|