/linux-master/drivers/net/ethernet/aquantia/atlantic/ |
H A D | aq_utils.h | 21 } while (atomic_cmpxchg(flags, flags_old, flags_new) != flags_old); 31 } while (atomic_cmpxchg(flags, flags_old, flags_new) != flags_old);
|
/linux-master/tools/testing/selftests/futex/include/ |
H A D | atomic.h | 28 * atomic_cmpxchg() - Atomic compare and exchange 36 atomic_cmpxchg(atomic_t *addr, int oldval, int newval) function
|
/linux-master/arch/mips/net/ |
H A D | bpf_jit_comp32.c | 892 emit_mov_i(ctx, MIPS_R_T9, (u32)&atomic_cmpxchg);
|
/linux-master/arch/sh/kernel/ |
H A D | ftrace.c | 110 old = atomic_cmpxchg(&nmi_running, old, new); 149 if (!atomic_cmpxchg(&nmi_running, 0, MOD_CODE_WRITE_FLAG)) 154 } while (atomic_cmpxchg(&nmi_running, 0, MOD_CODE_WRITE_FLAG));
|
/linux-master/arch/x86/include/asm/ |
H A D | qspinlock.h | 100 } while (atomic_cmpxchg(&lock->val, 0, _Q_LOCKED_VAL) != 0);
|
/linux-master/drivers/accel/habanalabs/common/ |
H A D | command_buffer.c | 316 rc = atomic_cmpxchg(&cb->is_handle_destroyed, 0, 1);
|
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);
|
H A D | device.c | 2631 if (atomic_cmpxchg(&hdev->captured_err_info.razwi_info.razwi_detected, 0, 1)) 2720 if (atomic_cmpxchg(&pgf_info->page_fault_detected, 0, 1)) 2745 if (atomic_cmpxchg(&info->event_detected, 0, 1)) 2767 if (atomic_cmpxchg(&info->event_detected, 0, 1)) 2791 if (atomic_cmpxchg(&info->event_detected, 0, 1))
|
H A D | irq.c | 278 if (atomic_cmpxchg(&free_node->in_use, 0, 1)) {
|
H A D | memory_mgr.c | 276 if (atomic_cmpxchg(&buf->mmap, 0, 1)) {
|
/linux-master/drivers/accel/ivpu/ |
H A D | ivpu_pm.c | 162 if (atomic_cmpxchg(&vdev->pm->reset_pending, 0, 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/char/hw_random/ |
H A D | ba431-rng.c | 109 if (atomic_cmpxchg(&ba431->reset_pending, 0, 1))
|
H A D | cctrng.c | 249 if (atomic_cmpxchg(&drvdata->pending_hw, 0, 1) == 0) { 379 if (atomic_cmpxchg(&drvdata->pending_hw, 0, 1) == 0) {
|
/linux-master/drivers/char/ipmi/ |
H A D | ipmi_watchdog.c | 637 } else if (atomic_cmpxchg(&pretimeout_since_last_heartbeat, 1, 0)) {
|
/linux-master/drivers/cxl/core/ |
H A D | region.c | 2422 if (atomic_cmpxchg(&cxlrd->region_id, id, rc) != id) {
|
/linux-master/drivers/firewire/ |
H A D | core-device.c | 876 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/firmware/arm_scmi/ |
H A D | bus.c | 372 atomic_cmpxchg(&scmi_syspower_registered, 0, 1)) {
|
H A D | driver.c | 789 ret = atomic_cmpxchg(&xfer->busy, SCMI_XFER_FREE, SCMI_XFER_BUSY);
|
H A D | smc.c | 104 ret = atomic_cmpxchg(inflight, INFLIGHT_NONE, xfer->hdr.seq);
|
/linux-master/drivers/gpio/ |
H A D | gpiolib-cdev.c | 2447 int abiv = atomic_cmpxchg(&cdata->watch_abi_version, 0, version);
|
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_fence.c | 282 } while (atomic_cmpxchg(&drv->last_seq, last_seq, seq) != last_seq);
|
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)
|
H A D | amdgpu_uvd.c | 858 if (!atomic_cmpxchg(&adev->uvd.handles[i], 0, handle)) { 891 atomic_cmpxchg(&adev->uvd.handles[i], handle, 0);
|
H A D | amdgpu_vce.c | 717 if (!atomic_cmpxchg(&p->adev->vce.handles[i], 0, handle)) {
|