Searched refs:atomic_cmpxchg (Results 1 - 25 of 118) sorted by last modified time

12345

/linux-master/kernel/bpf/
H A Dcore.c2173 BPF_R0 = (u32) atomic_cmpxchg(
/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,
/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)
H A Dkfd_int_process_v9.c154 old_poison = atomic_cmpxchg(&p->poison, 0, 1);
H A Dkfd_int_process_v10.c143 old_poison = atomic_cmpxchg(&p->poison, 0, 1);
/linux-master/mm/
H A Dhuge_memory.c259 if (atomic_cmpxchg(&huge_zero_refcount, 1, 0) == 1) {
H A Drmap.c755 atomic_cmpxchg(&mm->tlb_flush_batched, batch,
/linux-master/drivers/scsi/
H A Dscsi_lib.c618 if (old && atomic_cmpxchg(&sdev->restarts, old, 0) == old)
/linux-master/drivers/s390/cio/
H A Ddevice.c500 if (atomic_cmpxchg(&cdev->private->onoff, 0, 1) != 0)
1330 (atomic_cmpxchg(&cdev->private->onoff, 0, 1) == 0)) {
H A Dqdio_thinint.c53 if (!atomic_cmpxchg(&q_indicators[i].count, 0, 1))
H A Dccwgroup.c61 if (atomic_cmpxchg(&gdev->onoff, 0, 1) != 0)
91 if (atomic_cmpxchg(&gdev->onoff, 0, 1) != 0)
175 if (atomic_cmpxchg(&gdev->onoff, 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/accel/ivpu/
H A Divpu_pm.c162 if (atomic_cmpxchg(&vdev->pm->reset_pending, 0, 1) == 0) {
/linux-master/drivers/gpio/
H A Dgpiolib-cdev.c2447 int abiv = atomic_cmpxchg(&cdata->watch_abi_version, 0, version);
/linux-master/drivers/scsi/lpfc/
H A Dlpfc_init.c15785 if (atomic_cmpxchg(&phba->dbg_log_dmping, 0, 1) != 0)
/linux-master/io_uring/
H A Dpoll.c663 if (atomic_cmpxchg(&req->poll_refs, 1, 0) != 1)
/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/firewire/
H A Dcore-device.c876 if (atomic_cmpxchg(&device->state,
965 atomic_cmpxchg(&old->state,
1139 if (atomic_cmpxchg(&device->state,
1216 if (atomic_cmpxchg(&device->state,
1242 if (atomic_cmpxchg(&device->state,
1340 if (atomic_cmpxchg(&device->state,
/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/fs/afs/
H A Dvalidation.c350 atomic_cmpxchg(&volume->cb_v_check, cb_v_check, op->cb_v_break);
/linux-master/drivers/vhost/
H A Dvdpa.c1405 opened = atomic_cmpxchg(&v->opened, 0, 1);
1630 opened = atomic_cmpxchg(&v->opened, 0, 1);
/linux-master/drivers/infiniband/hw/irdma/
H A Dverbs.c3903 if (!atomic_cmpxchg(&iwcq->armed, 0, 1) || promo_event) {
/linux-master/drivers/cxl/core/
H A Dregion.c2422 if (atomic_cmpxchg(&cxlrd->region_id, id, rc) != id) {
/linux-master/mm/kasan/
H A Dkasan_test.c721 KUNIT_EXPECT_KASAN_FAIL(test, atomic_cmpxchg(unsafe, 21, 42));
/linux-master/drivers/thermal/
H A Dthermal_core.c959 if (atomic_cmpxchg(&pos->need_update, 1, 0))
1398 if (atomic_cmpxchg(&tz->need_update, 1, 0))

Completed in 626 milliseconds

12345