/linux-master/drivers/gpu/drm/msm/adreno/ |
H A D | a5xx_preempt.c | 15 enum preempt_state cur = atomic_cmpxchg(&a5xx_gpu->preempt_state,
|
/linux-master/drivers/accel/habanalabs/common/ |
H A D | memory_mgr.c | 276 if (atomic_cmpxchg(&buf->mmap, 0, 1)) {
|
H A D | irq.c | 278 if (atomic_cmpxchg(&free_node->in_use, 0, 1)) {
|
/linux-master/kernel/ |
H A D | irq_work.c | 228 (void)atomic_cmpxchg(&work->node.a_flags, flags, flags & ~IRQ_WORK_BUSY);
|
/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/mm/ |
H A D | page_reporting.c | 344 state = atomic_cmpxchg(&prdev->state, state, PAGE_REPORTING_IDLE);
|
/linux-master/drivers/gpu/drm/i915/gt/ |
H A D | intel_context.h | 197 if (atomic_cmpxchg(&ce->pin_count, 1, 2) == 1) {
|
/linux-master/drivers/firmware/arm_scmi/ |
H A D | smc.c | 104 ret = atomic_cmpxchg(inflight, INFLIGHT_NONE, xfer->hdr.seq);
|
H A D | bus.c | 372 atomic_cmpxchg(&scmi_syspower_registered, 0, 1)) {
|
/linux-master/drivers/gpu/drm/radeon/ |
H A D | radeon_vce.c | 538 if (!atomic_cmpxchg(&p->rdev->vce.handles[i], 0, handle)) { 679 atomic_cmpxchg(&p->rdev->vce.handles[i], handle, 0);
|
/linux-master/drivers/scsi/qla2xxx/ |
H A D | qla_inline.h | 122 if (old_val == atomic_cmpxchg(&fcport->shadow_disc_state, 475 old = atomic_cmpxchg((v), c, dec);
|
/linux-master/drivers/irqchip/ |
H A D | irq-mvebu-icu.c | 77 if (atomic_cmpxchg(&msi_data->initialized, false, true))
|
/linux-master/drivers/platform/chrome/wilco_ec/ |
H A D | telemetry.c | 245 if (atomic_cmpxchg(&dev_data->available, 1, 0) == 0)
|
H A D | event.c | 312 if (atomic_cmpxchg(&dev_data->available, 1, 0) == 0)
|
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | mxgpu_ai.c | 262 if (atomic_cmpxchg(&adev->reset_domain->in_gpu_reset, 0, 1) != 0)
|
H A D | mxgpu_nv.c | 295 if (atomic_cmpxchg(&adev->reset_domain->in_gpu_reset, 0, 1) != 0)
|
/linux-master/fs/afs/ |
H A D | validation.c | 350 atomic_cmpxchg(&volume->cb_v_check, cb_v_check, op->cb_v_break);
|
/linux-master/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_int_process_v10.c | 143 old_poison = atomic_cmpxchg(&p->poison, 0, 1);
|
H A D | kfd_int_process_v9.c | 154 old_poison = atomic_cmpxchg(&p->poison, 0, 1);
|
/linux-master/drivers/media/pci/saa7164/ |
H A D | saa7164-encoder.c | 743 if (atomic_cmpxchg(&fh->v4l_reading, 1, 0) == 1) { 811 if (atomic_cmpxchg(&fh->v4l_reading, 0, 1) == 0) { 912 if (atomic_cmpxchg(&fh->v4l_reading, 0, 1) == 0) {
|
/linux-master/drivers/md/dm-vdo/ |
H A D | recovery-journal.c | 177 prior_state = atomic_cmpxchg(&journal->lock_counter.state, 310 prior_state = atomic_cmpxchg(&counter->state, LOCK_COUNTER_STATE_NOT_NOTIFYING, 1655 prior_state = atomic_cmpxchg(&counter->state, LOCK_COUNTER_STATE_SUSPENDED,
|
H A D | funnel-workqueue.c | 146 if ((atomic_read(&queue->idle) != 1) || (atomic_cmpxchg(&queue->idle, 1, 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/fs/dlm/ |
H A D | midcomms.c | 418 } while (atomic_cmpxchg(&node->ulp_delivered, oval, nval) != oval); 534 } while (atomic_cmpxchg(&node->seq_next, oval, nval) != oval);
|