Home
last modified time | relevance | path

Searched refs:atomic_dec_return (Results 1 – 9 of 9) sorted by relevance

/openbsd/src/sys/dev/pci/drm/include/linux/
Drefcount.h37 if (atomic_dec_return(v) == 0) in refcount_dec_and_lock_irqsave()
Datomic.h56 #define atomic_dec_return(v) atomic_sub_return(1, (v)) macro
57 #define atomic_dec_and_test(v) (atomic_dec_return(v) == 0)
/openbsd/src/sys/dev/pci/drm/amd/display/amdgpu_dm/
Ddc_fpu.c49 #define __this_cpu_dec_return(x) atomic_dec_return(&x)
/openbsd/src/sys/dev/pci/drm/include/drm/
Dtask_barrier.h103 if (atomic_dec_return(&tb->count) == 0) in task_barrier_exit()
/openbsd/src/sys/dev/pci/drm/amd/amdkfd/
Dkfd_device.c1391 int count = atomic_dec_return(&node->kfd->compute_profile); in kfd_dec_compute_active()
/openbsd/src/sys/dev/pci/drm/amd/amdgpu/
Damdgpu_xgmi.c1053 if (atomic_dec_return(&hive->number_devices) == 0) { in amdgpu_xgmi_remove_device()
Damdgpu_vm.c1386 if (atomic_dec_return(&adev->vm_manager.num_prt_users) == 0) in amdgpu_vm_prt_put()
/openbsd/src/sys/dev/pci/drm/i915/gvt/
Dgtt.c939 return atomic_dec_return(&spt->refcount); in ppgtt_put_spt()
/openbsd/src/sys/dev/pci/drm/
Ddrm_linux.c3007 if (atomic_dec_return(v) == 0) in atomic_dec_and_mutex_lock()