Home
last modified time | relevance | path

Searched refs:atomic_sub_return (Results 1 – 8 of 8) sorted by relevance

/freebsd/sys/compat/linuxkpi/common/include/asm/
H A Datomic.h47 #define atomic_sub(i, v) atomic_sub_return((i), (v))
51 #define atomic_sub_and_test(i, v) (atomic_sub_return((i), (v)) == 0)
52 #define atomic_dec_and_test(v) (atomic_sub_return(1, (v)) == 0)
54 #define atomic_dec_return(v) atomic_sub_return(1, (v))
64 atomic_sub_return(int i, atomic_t *v) in atomic_sub_return() function
/freebsd/sys/dev/drm2/
H A Ddrm_atomic.h52 #define atomic_sub_return(v, p) (atomic_fetchadd_int(p, -(v)) - (v)) macro
54 #define atomic_dec_return(p) atomic_sub_return(1, p)
57 #define atomic_sub_and_test(v, p) (atomic_sub_return(v, p) == 0)
/freebsd/sys/dev/mana/
H A Dgdma_util.h98 #define atomic_sub_return(v, p) (atomic_fetchadd_int(p, -(v)) - (v)) macro
100 #define atomic_dec_return(p) atomic_sub_return(1, p)
H A Dmana_en.c1586 if (atomic_sub_return(pkt_transmitted, &txq->pending_sends) < 0) in mana_poll_tx_cq()
/freebsd/sys/dev/qat/qat_api/qat_utils/src/
H A DQatUtilsAtomic.c63 return atomic_sub_return(inValue, (QatUtilsAtomic *)pAtomicVar); in qatUtilsAtomicSub()
/freebsd/sys/contrib/vchiq/interface/compat/
H A Dvchi_bsd.h90 #define atomic_dec_return(v) atomic_sub_return(1, (v))
103 atomic_sub_return(int i, atomic_t *v) in atomic_sub_return() function
/freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Datomic.h49 #define atomic_sub_32_nv(v, i) atomic_sub_return((i), (atomic_t *)(v))
/freebsd/sys/dev/qat/qat_common/
H A Dadf_dev_mgr.c375 if (atomic_sub_return(1, &accel_dev->ref_count) == 0) in adf_dev_put()