| /freebsd-13.1/sys/compat/linuxkpi/common/include/linux/ |
| H A D | mm_types.h | 57 if (__predict_false(atomic_dec_and_test(&mm->mm_count))) in mmdrop() 70 if (__predict_false(atomic_dec_and_test(&mm->mm_users))) in mmput()
|
| H A D | refcount.h | 75 if (atomic_dec_and_test(&ref->value) == true) { in refcount_dec_and_lock_irqsave()
|
| H A D | kref.h | 121 if (unlikely(!atomic_dec_and_test(&kref->refcount))) { in kref_put_mutex()
|
| H A D | mutex.h | 136 if (atomic_dec_and_test(cnt)) { in atomic_dec_and_mutex_lock()
|
| H A D | spinlock.h | 182 if (atomic_dec_and_test(cnt)) in _atomic_dec_and_lock_irqsave()
|
| H A D | sched.h | 118 if (atomic_dec_and_test(&task->usage)) in put_task_struct()
|
| /freebsd-13.1/sys/dev/cxgbe/iw_cxgbe/ |
| H A D | ev.c | 185 if (atomic_dec_and_test(&chp->refcnt)) in c4iw_ev_dispatch() 208 if (atomic_dec_and_test(&chp->refcnt)) in c4iw_ev_handler()
|
| /freebsd-13.1/sys/ofed/drivers/infiniband/core/ |
| H A D | sa.h | 51 if (atomic_dec_and_test(&client->users)) in ib_sa_client_put()
|
| H A D | ib_multicast.c | 188 if (atomic_dec_and_test(&port->refcount)) in deref_port() 198 if (atomic_dec_and_test(&group->refcount)) { in release_group() 209 if (atomic_dec_and_test(&member->refcount)) in deref_member()
|
| H A D | ib_uverbs_main.c | 396 if (atomic_dec_and_test(&file->device->refcount)) in ib_uverbs_release_file() 1018 if (atomic_dec_and_test(&dev->refcount)) in ib_uverbs_open() 1272 if (atomic_dec_and_test(&uverbs_dev->refcount)) in ib_uverbs_add_one() 1384 if (atomic_dec_and_test(&uverbs_dev->refcount)) in ib_uverbs_remove_one()
|
| H A D | ib_umem_odp.c | 96 int zero_notifiers = atomic_dec_and_test(&context->notifier_count); in ib_ucontext_notifier_end_account()
|
| /freebsd-13.1/sys/contrib/openzfs/module/os/linux/spl/ |
| H A D | spl-condvar.c | 149 if (atomic_dec_and_test(&cvp->cv_waiters)) { in cv_wait_common() 298 if (atomic_dec_and_test(&cvp->cv_waiters)) { in __cv_timedwait_common() 406 if (atomic_dec_and_test(&cvp->cv_waiters)) { in __cv_timedwait_hires()
|
| /freebsd-13.1/sys/ofed/include/rdma/ |
| H A D | rdmavt_mr.h | 125 if (unlikely(atomic_dec_and_test(&mr->refcount))) in rvt_put_mr()
|
| H A D | rdmavt_qp.h | 486 if (qp && atomic_dec_and_test(&qp->refcount)) in rvt_put_qp()
|
| /freebsd-13.1/sys/dev/mlx4/mlx4_core/ |
| H A D | mlx4_srq.c | 60 if (atomic_dec_and_test(&srq->refcount)) in mlx4_srq_event() 235 if (atomic_dec_and_test(&srq->refcount)) in mlx4_srq_free()
|
| H A D | mlx4_cq.c | 90 if (atomic_dec_and_test(&cq->refcount)) in mlx4_cq_event() 331 if (atomic_dec_and_test(&cq->refcount)) in mlx4_cq_free()
|
| H A D | mlx4_qp.c | 70 if (atomic_dec_and_test(&qp->refcount)) in mlx4_qp_event() 504 if (atomic_dec_and_test(&qp->refcount)) in mlx4_qp_free()
|
| /freebsd-13.1/sys/dev/drm2/ |
| H A D | drm_atomic.h | 61 #define atomic_dec_and_test(p) (atomic_dec_return(p) == 0) macro
|
| H A D | drmP.h | 1499 if (atomic_dec_and_test(&obj->handle_count)) in drm_gem_object_handle_unreference() 1519 if (atomic_dec_and_test(&obj->handle_count)) in drm_gem_object_handle_unreference_unlocked()
|
| /freebsd-13.1/sys/dev/mlx5/mlx5_core/ |
| H A D | mlx5_srq.c | 59 if (atomic_dec_and_test(&srq->refcount)) in mlx5_srq_event() 449 if (atomic_dec_and_test(&srq->refcount)) in mlx5_core_destroy_srq()
|
| H A D | mlx5_qp.c | 61 if (atomic_dec_and_test(&common->refcount)) in mlx5_core_put_rsc() 447 if (atomic_dec_and_test(&dct->common.refcount)) in mlx5_core_destroy_dct()
|
| /freebsd-13.1/sys/compat/linuxkpi/common/include/asm/ |
| H A D | atomic.h | 54 #define atomic_dec_and_test(v) (atomic_sub_return(1, (v)) == 0) macro
|
| /freebsd-13.1/sys/contrib/openzfs/include/os/linux/kernel/linux/ |
| H A D | vfs_compat.h | 201 if (atomic_dec_and_test(&acl->a_refcount)) in zpl_posix_acl_release()
|
| /freebsd-13.1/sys/contrib/vchiq/interface/compat/ |
| H A D | vchi_bsd.h | 88 #define atomic_dec_and_test(p) (atomic_fetchadd_int(p, -1) == 1) macro
|
| /freebsd-13.1/sys/dev/mlx4/mlx4_ib/ |
| H A D | mlx4_ib_mcg.c | 143 if (atomic_dec_and_test(ref)) \ 444 if (atomic_dec_and_test(&group->refcount)) { in release_group()
|