Home
last modified time | relevance | path

Searched refs:atomic_add_32 (Results 1 – 25 of 55) sorted by relevance

123

/illumos-gate/usr/src/lib/udapl/udapl_tavor/include/
H A Ddapl_osd.h124 #define dapl_os_atomic_inc(v) atomic_add_32((uint32_t *)(v), 1)
134 atomic_add_32((uint32_t *)(v), -1)
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_rx.c388 atomic_add_32(&rq->pending, frag_cnt); in oce_rx()
527 atomic_add_32(&rq->rqb_free, frag_cnt); in oce_drain_rq_cq()
629 atomic_add_32(&rq->buf_avail, in oce_clean_rq()
657 atomic_add_32(&rq->rqb_free, -to_charge); in oce_start_rq()
H A Doce_tx.c587 atomic_add_32(&wq->wq_free, wqe_freed); in oce_process_tx_compl()
853 atomic_add_32(&wq->wq_free, -num_wqes); in oce_send_packet()
957 atomic_add_32(&wq->wq_free, wqed->wqe_cnt); in oce_clean_wq()
/illumos-gate/usr/src/uts/common/c2/
H A Daudit.h456 #define AS_INC(a, b, c) atomic_add_32(&(c->auk_statistics.a), (b))
457 #define AS_DEC(a, b, c) atomic_add_32(&(c->auk_statistics.a), -(b))
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dib_ring.c137 atomic_add_32(&ring->w_free_ctr, val); in rdsv3_ib_ring_free()
H A Dib_send.c434 atomic_add_32(&ic->i_credits, IB_SET_SEND_CREDITS(credits)); in rdsv3_ib_send_add_credits()
458 atomic_add_32(&ic->i_credits, IB_SET_POST_CREDITS(posted)); in rdsv3_ib_advertise_credits()
/illumos-gate/usr/src/uts/common/io/chxge/
H A Dsge.h48 #define atomic_sub(a, b) atomic_add_32(b, -(a))
49 #define atomic_add(a, b) atomic_add_32(b, (a))
/illumos-gate/usr/src/uts/common/dtrace/
H A Dfasttrap.c1132 atomic_add_32(&fasttrap_total, -probe->ftp_ntps); in fasttrap_pid_destroy()
1641 atomic_add_32(&fasttrap_total, pdata->ftps_noffs); in fasttrap_add_probe()
1644 atomic_add_32(&fasttrap_total, -pdata->ftps_noffs); in fasttrap_add_probe()
1659 atomic_add_32(&fasttrap_total, -pdata->ftps_noffs); in fasttrap_add_probe()
1838 atomic_add_32(&fasttrap_total, ntps); in fasttrap_meta_create_probe()
1841 atomic_add_32(&fasttrap_total, -ntps); in fasttrap_meta_create_probe()
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfake_vop.c81 atomic_add_32(&((*vpp)->v_rdcnt), 1); in fop_open()
83 atomic_add_32(&((*vpp)->v_wrcnt), 1); in fop_open()
111 atomic_add_32(&(vp->v_rdcnt), -1); in fop_close()
115 atomic_add_32(&(vp->v_wrcnt), -1); in fop_close()
/illumos-gate/usr/src/uts/common/sys/
H A Datomic.h79 extern void atomic_add_32(volatile uint32_t *, int32_t);
/illumos-gate/usr/src/uts/common/io/igb/
H A Digb_tx.c1223 atomic_add_32(&tx_ring->tbd_free, desc_num); in igb_tx_recycle_legacy()
1364 atomic_add_32(&tx_ring->tbd_free, desc_num); in igb_tx_recycle_head_wb()
1505 atomic_add_32(&tx_ring->tcb_free, tcb_num); in igb_put_free_list()
/illumos-gate/usr/src/uts/common/io/ixgbe/
H A Dixgbe_tx.c1237 atomic_add_32(&tx_ring->tbd_free, desc_num); in ixgbe_tx_recycle_legacy()
1369 atomic_add_32(&tx_ring->tbd_free, desc_num); in ixgbe_tx_recycle_head_wb()
1518 atomic_add_32(&tx_ring->tcb_free, tcb_num); in ixgbe_put_free_list()
H A Dixgbe_rx.c308 atomic_add_32(&rx_data->rcb_free, lro_num); in ixgbe_lro_bind()
328 atomic_add_32(&rx_data->rcb_free, lro_num); in ixgbe_lro_bind()
/illumos-gate/usr/src/common/atomic/amd64/
H A Datomic.S212 ENTRY(atomic_add_32) function
218 SET_SIZE(atomic_add_32)
/illumos-gate/usr/src/uts/intel/asm/
H A Datomic.h124 __ATOMIC_OPXX(atomic_add_32, uint32_t, int32_t, "add" SUF_32, "r")
/illumos-gate/usr/src/cmd/tzreload/
H A Dtzreload.c264 atomic_add_32((uint32_t *)addr, 1); in counter_set()
/illumos-gate/usr/src/uts/common/io/comstar/lu/stmf_sbd/
H A Dats_copy_mgr.c462 atomic_add_32(&scmd->len, -len); in sbd_do_ats_xfer()
578 atomic_add_32(&scmd->len, -dbuf->db_data_size); in sbd_handle_ats()
H A Dsbd_scsi.c187 atomic_add_32(&scmd->len, -buflen); in sbd_do_read_xfer()
473 atomic_add_32(&scmd->len, -xfer_len); in sbd_do_sgl_read_xfer()
1138 atomic_add_32(&scmd->len, -len); in sbd_do_write_xfer()
1369 atomic_add_32(&scmd->len, -xfer_len); in sbd_do_sgl_write_xfer()
1696 atomic_add_32(&scmd->len, -dbuf->db_data_size); in sbd_handle_write()
2577 atomic_add_32(&scmd->len, -len); in sbd_do_write_same_xfer()
2723 atomic_add_32(&scmd->len, -dbuf->db_data_size); in sbd_handle_write_same()
/illumos-gate/usr/src/uts/sun4v/cpu/
H A Dmach_cpu_module.c265 atomic_add_32(volatile uint32_t *target, int32_t delta) in atomic_add_32() function
/illumos-gate/usr/src/uts/common/ipp/flowacct/
H A Dflowacct.c813 atomic_add_32(&flowacct_data->nflows, in flowacct_timer()
828 atomic_add_32(&flowacct_data->nflows, (~items_deleted + 1)); in flowacct_timer()
/illumos-gate/usr/src/common/atomic/i386/
H A Datomic.S260 ENTRY(atomic_add_32) function
272 SET_SIZE(atomic_add_32)
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4x_srv.c895 atomic_add_32(&sp->sn_rcached, add); in rfs4x_sequence_done()
999 atomic_add_32(&(rfs4_servinst(cp))->nreclaim, -1); in rfs4x_op_reclaim_complete()
/illumos-gate/usr/src/common/atomic/
H A Datomic.c116 atomic_add_32(volatile uint32_t *target, int32_t delta) in atomic_add_32() function
/illumos-gate/usr/src/common/atomic/sparc/
H A Datomic.S240 ENTRY(atomic_add_32) function
265 SET_SIZE(atomic_add_32)
/illumos-gate/usr/src/uts/common/os/
H A Dcred.c1222 atomic_add_32(&eph_zsd->last_uid, count); in eph_uid_alloc()
1248 atomic_add_32(&eph_zsd->last_gid, count); in eph_gid_alloc()

123