/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | refcount.h | 71 if (atomic_dec_and_test(ref) == true) { in refcount_dec_and_lock_irqsave() 82 return (atomic_dec_and_test(r)); in refcount_dec_and_test()
|
H A D | mm_types.h | 56 if (__predict_false(atomic_dec_and_test(&mm->mm_count))) in mmdrop() 69 if (__predict_false(atomic_dec_and_test(&mm->mm_users))) in mmput()
|
H A D | spinlock.h | 175 if (atomic_dec_and_test(cnt)) in _atomic_dec_and_lock_irqsave()
|
H A D | mutex.h | 137 if (atomic_dec_and_test(cnt)) { in atomic_dec_and_mutex_lock()
|
H A D | sched.h | 125 if (atomic_dec_and_test(&task->usage)) in put_task_struct()
|
/freebsd/sys/contrib/openzfs/module/os/linux/spl/ |
H A D | spl-condvar.c | 147 if (atomic_dec_and_test(&cvp->cv_waiters)) { in cv_wait_common() 254 if (atomic_dec_and_test(&cvp->cv_waiters)) { in __cv_timedwait_common() 362 if (atomic_dec_and_test(&cvp->cv_waiters)) { in __cv_timedwait_hires()
|
/freebsd/sys/ofed/drivers/infiniband/core/ |
H A D | sa.h | 49 if (atomic_dec_and_test(&client->users)) in ib_sa_client_put()
|
H A D | ib_uverbs_main.c | 198 if (atomic_dec_and_test(&file->device->refcount)) in ib_uverbs_release_file() 896 if (atomic_dec_and_test(&dev->refcount)) in ib_uverbs_open() 1111 if (atomic_dec_and_test(&uverbs_dev->refcount)) in ib_uverbs_add_one() 1180 if (atomic_dec_and_test(&uverbs_dev->refcount)) in ib_uverbs_remove_one()
|
H A D | ib_multicast.c | 186 if (atomic_dec_and_test(&port->refcount)) in deref_port() 196 if (atomic_dec_and_test(&group->refcount)) { in release_group() 207 if (atomic_dec_and_test(&member->refcount)) in deref_member()
|
H A D | ib_umem_odp.c | 94 int zero_notifiers = atomic_dec_and_test(&context->notifier_count); in ib_ucontext_notifier_end_account()
|
/freebsd/sys/ofed/include/rdma/ |
H A D | rdmavt_mr.h | 123 if (unlikely(atomic_dec_and_test(&mr->refcount))) in rvt_put_mr()
|
H A D | rdmavt_qp.h | 484 if (qp && atomic_dec_and_test(&qp->refcount)) in rvt_put_qp()
|
/freebsd/sys/dev/cxgbe/iw_cxgbe/ |
H A D | ev.c | 255 if (atomic_dec_and_test(&chp->refcnt)) in c4iw_ev_dispatch() 278 if (atomic_dec_and_test(&chp->refcnt)) in c4iw_ev_handler()
|
/freebsd/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/sys/dev/drm2/ |
H A D | drm_atomic.h | 59 #define atomic_dec_and_test(p) (atomic_dec_return(p) == 0) macro
|
H A D | drmP.h | 1497 if (atomic_dec_and_test(&obj->handle_count)) in drm_gem_object_handle_unreference() 1517 if (atomic_dec_and_test(&obj->handle_count)) in drm_gem_object_handle_unreference_unlocked()
|
/freebsd/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_srq.c | 57 if (atomic_dec_and_test(&srq->refcount)) in mlx5_srq_event() 447 if (atomic_dec_and_test(&srq->refcount)) in mlx5_core_destroy_srq()
|
H A D | mlx5_qp.c | 59 if (atomic_dec_and_test(&common->refcount)) in mlx5_core_put_rsc() 445 if (atomic_dec_and_test(&dct->common.refcount)) in mlx5_core_destroy_dct()
|
/freebsd/sys/compat/linuxkpi/common/include/asm/ |
H A D | atomic.h | 52 #define atomic_dec_and_test(v) (atomic_sub_return(1, (v)) == 0) macro
|
/freebsd/sys/contrib/dev/athk/ath12k/ |
H A D | dp_tx.c | 366 if (atomic_dec_and_test(&ar->dp.num_tx_pending)) in ath12k_dp_tx_free_txbuf() 385 if (atomic_dec_and_test(&ar->dp.num_tx_pending)) in ath12k_dp_tx_htt_tx_complete_buf() 620 if (atomic_dec_and_test(&ar->dp.num_tx_pending)) in ath12k_dp_tx_completion_handler()
|
/freebsd/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/sys/contrib/dev/athk/ath11k/ |
H A D | dp_tx.c | 318 if (atomic_dec_and_test(&ar->dp.num_tx_pending)) in ath11k_dp_tx_free_txbuf() 349 if (atomic_dec_and_test(&ar->dp.num_tx_pending)) in ath11k_dp_tx_htt_tx_complete_buf() 766 if (atomic_dec_and_test(&ar->dp.num_tx_pending)) in ath11k_dp_tx_completion_handler()
|
/freebsd/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()
|