| /src/sys/external/bsd/drm2/include/linux/ |
| refcount.h | 64 } while (atomic_cmpxchg(&rc->rc_count, old, new) != old); 78 } while (atomic_cmpxchg(&rc->rc_count, old, new) != old); 107 } while (atomic_cmpxchg(&rc->rc_count, old, new) != old);
|
| spinlock.h | 237 } while (atomic_cmpxchg(atomic, old, new) != old);
|
| atomic.h | 296 atomic_cmpxchg(atomic_t *atomic, int expect, int new) function 318 *valuep = atomic_cmpxchg(atomic, expect, new);
|
| /src/sys/external/bsd/vchiq/dist/interface/compat/ |
| vchi_bsd.h | 74 #define atomic_cmpxchg(p, oldv, newv) atomic_cas_uint(p, oldv, newv) macro
|
| /src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
| amdgpu_ras.h | 513 if (atomic_cmpxchg(&ras->in_recovery, 0, 1) == 0)
|
| amdgpu_uvd.c | 772 if (!atomic_cmpxchg(&adev->uvd.handles[i], 0, handle)) { 805 atomic_cmpxchg(&adev->uvd.handles[i], handle, 0);
|
| amdgpu_fence.c | 253 } while (atomic_cmpxchg(&drv->last_seq, last_seq, seq) != last_seq);
|
| amdgpu_amdkfd_gpuvm.c | 1773 if (atomic_cmpxchg(&mem->invalid, invalid, 0) != invalid) 1944 if (atomic_cmpxchg(&process_info->evicted_bos, evicted_bos, 0) !=
|
| amdgpu_vce.c | 705 if (!atomic_cmpxchg(&p->adev->vce.handles[i], 0, handle)) {
|
| amdgpu_ras.c | 1995 if (atomic_cmpxchg(&amdgpu_ras_in_intr, 0, 1) == 0) {
|
| /src/sys/external/bsd/drm2/dist/drm/radeon/ |
| radeon_uvd.c | 529 if (!atomic_cmpxchg(&p->rdev->uvd.handles[i], 0, handle)) { 565 atomic_cmpxchg(&p->rdev->uvd.handles[i], handle, 0);
|
| radeon_vce.c | 596 if (!atomic_cmpxchg(&p->rdev->vce.handles[i], 0, handle)) { 737 atomic_cmpxchg(&p->rdev->vce.handles[i], handle, 0);
|
| /src/sys/external/bsd/drm2/dist/drm/i915/gvt/ |
| kvmgt.c | 822 if (atomic_cmpxchg(&vgpu->vdev.released, 0, 1))
|
| /src/sys/external/bsd/vchiq/dist/interface/vchiq_arm/ |
| vchiq_core.c | 544 } while (atomic_cmpxchg(&service->poll_flags, value, 550 } while (atomic_cmpxchg(
|