Searched refs:atomic_cmpxchg (Results 76 - 100 of 118) sorted by relevance

12345

/linux-master/io_uring/
H A Dpoll.c663 if (atomic_cmpxchg(&req->poll_refs, 1, 0) != 1)
/linux-master/drivers/net/ethernet/sfc/siena/
H A Dfarch.c621 } 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 Dfarch.c633 } else if (atomic_cmpxchg(&tx_queue->flush_outstanding,
1099 if (atomic_cmpxchg(&tx_queue->flush_outstanding, 1, 0)) {
/linux-master/net/mac80211/
H A Dsta_info.c2376 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 Dchan.c172 cur = atomic_cmpxchg(&hal->roc_entity_idx,
182 cur = atomic_cmpxchg(&hal->roc_entity_idx, idx,
/linux-master/kernel/sched/
H A Dpsi.c720 atomic_cmpxchg(&group->rtpoll_wakeup, 1, 0) ||
/linux-master/drivers/video/fbdev/omap2/omapfb/displays/
H A Dpanel-dsi-cm.c828 old = atomic_cmpxchg(&ddata->do_update, 1, 0);
/linux-master/drivers/block/drbd/
H A Ddrbd_actlog.c87 (r = atomic_cmpxchg(&device->md_io.in_use, 0, 1)) == 0 ||
/linux-master/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_svm.c1821 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 Drio.c2228 if (atomic_cmpxchg(&port->state,
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dmsgbuf.c345 if (atomic_cmpxchg(&array[*idx].allocated, 0, 1) == 0)
/linux-master/drivers/media/platform/ti/omap3isp/
H A Disp.c1248 if (atomic_cmpxchg(stopping, 1, 0)) {
/linux-master/drivers/misc/cxl/
H A Dpci.c1119 while (atomic_cmpxchg(&afu->configured_state, 0, -1) != -1)
/linux-master/include/linux/atomic/
H A Datomic-instrumented.h1179 * 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 Dzdata.c156 } while (atomic_cmpxchg((atomic_t *)&folio->private, orig, v) != orig);
/linux-master/mm/
H A Drmap.c755 atomic_cmpxchg(&mm->tlb_flush_batched, batch,
/linux-master/mm/kasan/
H A Dkasan_test.c721 KUNIT_EXPECT_KASAN_FAIL(test, atomic_cmpxchg(unsafe, 21, 42));
/linux-master/fs/ubifs/
H A Djournal.c371 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 Dlio_main.c4094 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 Dvchiq_core.c639 } while (atomic_cmpxchg(&service->poll_flags, value,
645 } while (atomic_cmpxchg(&state->poll_services[index],
/linux-master/drivers/accel/habanalabs/common/
H A Dcommand_submission.c849 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 Damdgpu_ras.c3477 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 Ddasd.c2182 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 Deswitch_offloads.c2508 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 Dqeth_core_main.c1802 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,

Completed in 449 milliseconds

12345