Home
last modified time | relevance | path

Searched refs:atomic_inc_return (Results 1 – 22 of 22) sorted by relevance

/freebsd/sys/dev/drm2/
H A Ddrm_atomic.h53 #define atomic_inc_return(p) atomic_add_return(1, p) macro
58 #define atomic_inc_and_test(p) (atomic_inc_return(p) == 0)
/freebsd/sys/dev/qat/qat_api/qat_utils/src/
H A DQatUtilsAtomic.c69 return atomic_inc_return((QatUtilsAtomic *)pAtomicVar); in qatUtilsAtomicInc()
/freebsd/sys/compat/linuxkpi/common/include/asm/
H A Datomic.h48 #define atomic_inc_return(v) atomic_add_return(1, (v)) macro
333 return ((atomic_inc_return(v) - 1)); in atomic_fetch_inc()
/freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Datomic.h46 #define atomic_inc_32_nv(v) atomic_inc_return((atomic_t *)(v))
/freebsd/sys/dev/mana/
H A Dgdma_util.h99 #define atomic_inc_return(p) atomic_add_return(1, p) macro
H A Dmana_en.c644 (void)atomic_inc_return(&txq->pending_sends); in mana_xmit()
943 req->activity_id = atomic_inc_return(&activity_id); in mana_send_request()
/freebsd/sys/contrib/dev/athk/ath12k/
H A Dcore.c827 reset_count = atomic_inc_return(&ab->reset_count); in ath12k_core_reset()
847 fail_cont_count = atomic_inc_return(&ab->fail_cont_count); in ath12k_core_reset()
H A Dmac.c4973 recovery_start_count = atomic_inc_return(&ab->recovery_start_count); in ath12k_mac_wait_reconfigure()
6750 recovery_count = atomic_inc_return(&ab->recovery_count); in ath12k_mac_op_reconfig_complete()
/freebsd/sys/contrib/vchiq/interface/compat/
H A Dvchi_bsd.h89 #define atomic_inc_return(v) atomic_add_return(1, (v)) macro
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_fmr_pool.c394 serial = atomic_inc_return(&pool->req_ser); in ib_flush_fmr_pool()
/freebsd/sys/contrib/dev/iwlwifi/mvm/
H A Dtt.c679 sprintf(name, "iwlwifi_%u", atomic_inc_return(&counter) & 0xFF);
/freebsd/sys/contrib/dev/rtw88/
H A Dtx.c170 pkt_info->sn = (atomic_inc_return(&tx_report->sn) << 2) & 0xfc; in rtw_tx_report_enable()
H A Dpci.c1468 (!enter && atomic_inc_return(&rtwpci->link_usage) == 1)) in rtw_pci_link_ps()
/freebsd/sys/contrib/dev/mediatek/mt76/
H A Dtx.c321 pending = atomic_inc_return(&wcid->non_aql_packets); in __mt76_tx_queue_skb()
/freebsd/sys/dev/cxgbe/iw_cxgbe/
H A Dmem.c278 *stag = (stag_idx << 8) | (atomic_inc_return(&key) & 0xff); in write_tpt_entry()
/freebsd/sys/contrib/dev/athk/ath11k/
H A Dcore.c1960 reset_count = atomic_inc_return(&ab->reset_count); in ath11k_core_reset()
H A Dmac.c6256 recovery_start_count = atomic_inc_return(&ab->recovery_start_count); in ath11k_mac_wait_reconfigure()
8488 recovery_count = atomic_inc_return(&ab->recovery_count); in ath11k_mac_op_reconfig_complete()
/freebsd/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_mad.c102 return cpu_to_be64(atomic_inc_return(&ctx->tid)) | in mlx4_ib_get_new_demux_tid()
/freebsd/sys/dev/irdma/
H A Dirdma_hw.c292 if (atomic_inc_return(&iwqp->close_timer_started) == 1) { in irdma_process_aeq()
H A Dirdma_verbs.c1342 close_timer_started = atomic_inc_return(&iwqp->close_timer_started); in irdma_modify_qp()
/freebsd/sys/dev/bnxt/bnxt_re/
H A Dib_verbs.c2392 tmp_qps = atomic_inc_return(&rdev->stats.rsors.rc_qp_count); in bnxt_re_create_qp()
2396 tmp_qps = atomic_inc_return(&rdev->stats.rsors.ud_qp_count); in bnxt_re_create_qp()
/freebsd/sys/contrib/vchiq/interface/vchiq_arm/
H A Dvchiq_core.c1453 if (unlikely(atomic_inc_return(&pause_bulks_count) != 1)) { in pause_bulks()