Home
last modified time | relevance | path

Searched defs:ring (Results 1 – 25 of 86) sorted by relevance

1234

/titanic_50/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dib_ring.c74 rdsv3_ib_ring_init(struct rdsv3_ib_work_ring *ring, uint32_t nr) in rdsv3_ib_ring_init()
82 __rdsv3_ib_ring_used(struct rdsv3_ib_work_ring *ring) in __rdsv3_ib_ring_used()
94 rdsv3_ib_ring_resize(struct rdsv3_ib_work_ring *ring, uint32_t nr) in rdsv3_ib_ring_resize()
105 __rdsv3_ib_ring_empty(struct rdsv3_ib_work_ring *ring) in __rdsv3_ib_ring_empty()
111 rdsv3_ib_ring_alloc(struct rdsv3_ib_work_ring *ring, uint32_t val, in rdsv3_ib_ring_alloc()
134 rdsv3_ib_ring_free(struct rdsv3_ib_work_ring *ring, uint32_t val) in rdsv3_ib_ring_free()
144 rdsv3_ib_ring_unalloc(struct rdsv3_ib_work_ring *ring, uint32_t val) in rdsv3_ib_ring_unalloc()
151 rdsv3_ib_ring_empty(struct rdsv3_ib_work_ring *ring) in rdsv3_ib_ring_empty()
157 rdsv3_ib_ring_low(struct rdsv3_ib_work_ring *ring) in rdsv3_ib_ring_low()
167 rdsv3_ib_ring_oldest(struct rdsv3_ib_work_ring *ring) in rdsv3_ib_ring_oldest()
[all …]
/titanic_50/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dring.c104 ring_init(ring, buffer, count) in ring_init() argument
129 ring_mark(ring) in ring_mark() argument
140 ring_at_mark(ring) in ring_at_mark() argument
155 ring_clear_mark(ring) in ring_clear_mark() argument
165 ring_supplied(ring, count) in ring_supplied() argument
177 ring_consumed(ring, count) in ring_consumed() argument
214 ring_empty_count(ring) in ring_empty_count() argument
226 ring_empty_consecutive(ring) in ring_empty_consecutive() argument
249 ring_full_count(ring) in ring_full_count() argument
269 ring_full_consecutive(ring) in ring_full_consecutive() argument
[all …]
/titanic_50/usr/src/uts/common/xen/io/
H A Dblk_common.c171 blk_ring_t ring; in blk_ring_init() local
248 blk_ring_t ring; in blk_ring_fini() local
274 blk_kstat_init(blk_ring_t ring) in blk_kstat_init()
308 blk_kstat_fini(blk_ring_t ring) in blk_kstat_fini()
322 blk_ring_t ring; in blk_kstat_update() local
356 blk_ring_t ring; in blk_oe_state_change() local
419 blk_ring_t ring; in blk_hp_state_change() local
450 blk_check_state_transition(blk_ring_t ring, XenbusState oestate) in blk_check_state_transition()
508 blk_start_connect(blk_ring_t ring) in blk_start_connect()
642 blk_start_disconnect(blk_ring_t ring) in blk_start_disconnect()
[all …]
/titanic_50/usr/src/uts/common/sys/fibre-channel/fca/oce/
H A Doce_buf.h146 #define RING_NUM_PENDING(ring) ring->num_used argument
148 #define RING_NUM_FREE(ring) \ argument
151 #define RING_FULL(ring) (ring->num_used == ring->num_items) argument
153 #define RING_EMPTY(ring) (ring->num_used == 0) argument
155 #define RING_GET(ring, n) \ argument
158 #define RING_PUT(ring, n) \ argument
161 #define RING_GET_CONSUMER_ITEM_VA(ring, type) \ argument
164 #define RING_GET_CONSUMER_ITEM_PA(ring, type) \ argument
167 #define RING_GET_PRODUCER_ITEM_VA(ring, type) \ argument
170 #define RING_GET_PRODUCER_ITEM_PA(ring, type) \ argument
/titanic_50/usr/src/uts/common/io/xge/hal/xgehal/
H A Dxgehal-ring.c76 xge_hal_ring_t *ring, int from, int to) in __hal_ring_rxdblock_link()
130 xge_hal_ring_t *ring = (xge_hal_ring_t *)userdata; in __hal_ring_mempool_item_alloc() local
244 xge_hal_ring_t *ring = (xge_hal_ring_t *)channelh; in __hal_ring_open() local
346 xge_hal_ring_t *ring = (xge_hal_ring_t *)channelh; in __hal_ring_close() local
384 xge_hal_ring_t *ring = (xge_hal_ring_t *)channelh; in __hal_ring_prc_enable() local
462 xge_hal_ring_t *ring = (xge_hal_ring_t *)channelh; in __hal_ring_prc_disable() local
H A Dxgehal-ring-fp.c29 __hal_ring_rxd_priv(xge_hal_ring_t *ring, xge_hal_dtr_h dtrh) in __hal_ring_rxd_priv()
477 xge_hal_ring_t *ring = (xge_hal_ring_t *)channelh; in xge_hal_ring_dtr_pre_post() local
545 xge_hal_ring_t *ring = (xge_hal_ring_t *)channelh; in xge_hal_ring_dtr_post_post() local
579 xge_hal_ring_t *ring = (xge_hal_ring_t *)channelh; in xge_hal_ring_dtr_post_post_wmb() local
665 xge_hal_ring_t *ring = (xge_hal_ring_t *)channelh; in xge_hal_ring_dtr_next_completed() local
809 xge_hal_ring_t *ring = (xge_hal_ring_t *)channelh; in xge_hal_ring_is_next_dtr_completed() local
/titanic_50/usr/src/uts/i86pc/io/ioat/
H A Dioat_chan.c295 ioat_channel_ring_t *ring; in ioat_channel_resume() local
631 ioat_channel_ring_t *ring; in ioat_ring_alloc() local
765 ioat_channel_ring_t *ring; in ioat_ring_seed() local
819 ioat_ring_loop(ioat_channel_ring_t *ring, dcopy_cmd_t cmd) in ioat_ring_loop()
960 ioat_channel_ring_t *ring; in ioat_cmd_post() local
1121 ioat_cmd_post_dca(ioat_channel_ring_t *ring, uint32_t dca_id) in ioat_cmd_post_dca()
1211 ioat_cmd_post_copy(ioat_channel_ring_t *ring, uint64_t src_addr, in ioat_cmd_post_copy()
1296 ioat_channel_ring_t *ring; in ioat_cmd_poll() local
1383 ioat_ring_reserve(ioat_channel_t channel, ioat_channel_ring_t *ring, in ioat_ring_reserve()
/titanic_50/usr/src/uts/common/io/nxge/
H A Dnxge_txdma.c1340 tx_ring_t *ring = nxgep->tx_rings->rings[tdc]; in nxge_txdma_hw_mode() local
1492 tx_ring_t *ring = nxgep->tx_rings->rings[tdc]; in nxge_fixup_txdma_rings() local
1580 tx_ring_t *ring = nxgep->tx_rings->rings[tdc]; in nxge_txdma_hw_kick() local
1733 tx_ring_t *ring = nxgep->tx_rings->rings[tdc]; in nxge_txdma_hung() local
1873 tx_ring_t *ring = nxgep->tx_rings->rings[tdc]; in nxge_fixup_hung_txdma_rings() local
2026 tx_ring_t *ring = nxgep->tx_rings->rings[tdc]; in nxge_reclaim_rings() local
2067 tx_ring_t *ring = nxgep->tx_rings->rings[tdc]; in nxge_txdma_regs_dump_channels() local
2175 tx_ring_t *ring; in nxge_tdc_hvio_setup() local
2217 tx_ring_t **pRing, *ring; in nxge_map_txdma() local
2339 tx_ring_t *ring; in nxge_unmap_txdma_channel() local
[all …]
/titanic_50/usr/src/uts/common/io/xge/drv/
H A Dxgell.c197 xgell_rx_buffer_replenish_all(xgell_rx_ring_t *ring) in xgell_rx_buffer_replenish_all()
236 xgell_rx_ring_t *ring = rx_buffer->ring; in xgell_rx_buffer_release() local
268 xgell_rx_ring_t *ring = rx_buffer->ring; in xgell_rx_buffer_recycle() local
307 xgell_rx_buffer_alloc(xgell_rx_ring_t *ring) in xgell_rx_buffer_alloc()
396 xgell_rx_destroy_buffer_pool(xgell_rx_ring_t *ring) in xgell_rx_destroy_buffer_pool()
474 xgell_rx_create_buffer_pool(xgell_rx_ring_t *ring) in xgell_rx_create_buffer_pool()
534 xgell_rx_ring_t *ring = userdata; in xgell_rx_dtr_replenish() local
657 xgell_rx_1b_msg_alloc(xgell_rx_ring_t *ring, xgell_rx_buffer_t *rx_buffer, in xgell_rx_1b_msg_alloc()
706 xgell_rx_ring_t *ring = (xgell_rx_ring_t *)userdata; in xgell_rx_1b_callback() local
867 xgell_rx_ring_t *ring = (xgell_rx_ring_t *)arg; in xgell_rx_poll() local
[all …]
/titanic_50/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_buf.c170 oce_ring_buffer_t *ring; in create_ring_buffer() local
208 destroy_ring_buffer(struct oce_dev *dev, oce_ring_buffer_t *ring) in destroy_ring_buffer()
H A Doce_rx.c274 oce_ring_buffer_t *ring; in oce_rq_charge() local
343 oce_ring_buffer_t *ring; in oce_rx() local
403 oce_ring_buffer_t *ring; in oce_rx_bcopy() local
/titanic_50/usr/src/uts/common/io/mac/
H A Dmac.c602 mac_ring_t *ring = (mac_ring_t *)buf; in i_mac_ring_ctor() local
615 mac_ring_t *ring = (mac_ring_t *)buf; in i_mac_ring_dtor() local
1090 mac_ring_t *ring = NULL; in mac_start() local
1177 mac_ring_t *ring; in mac_stop() local
1448 mac_ring_t *ring; in mac_rx_group_unmark() local
1493 mac_ring_t *ring; in mac_hwrings_get() local
1538 mac_ring_t *ring = (mac_ring_t *)rh; in mac_hwring_getinfo() local
1648 mac_ring_t *ring = (mac_ring_t *)rh; in mac_hwring_tx() local
1662 mac_ring_t *ring = (mac_ring_t *)rh; in mac_hwring_getstat() local
1705 mac_ring_t *ring = (mac_ring_t *)rh; in mac_hwring_set_default() local
[all …]
H A Dmac_stat.c415 mac_ring_t *ring = (mac_ring_t *)handle; in mac_rx_ring_stat_get() local
439 i_mac_rx_ring_stat_create(mac_ring_t *ring, const char *modname, in i_mac_rx_ring_stat_create()
456 mac_ring_t *ring = (mac_ring_t *)handle; in mac_tx_ring_stat_get() local
480 i_mac_tx_ring_stat_create(mac_ring_t *ring, const char *modname, in i_mac_tx_ring_stat_create()
1003 mac_ring_stat_create(mac_ring_t *ring) in mac_ring_stat_create()
1049 mac_ring_t *ring = srs_tx->st_arg2; in mac_srs_stat_create() local
1061 mac_ring_t *ring = mac_srs->srs_ring; in mac_srs_stat_create() local
1096 mac_ring_t *ring = (mac_ring_t *)ringp->s_ring_tx_arg2; in mac_soft_ring_stat_create() local
1139 mac_ring_stat_delete(mac_ring_t *ring) in mac_ring_stat_delete()
1213 mac_ring_t *ring; in mac_pseudo_ring_stat_rename() local
H A Dmac_datapath_setup.c194 #define MAC_RING_RETARGETABLE(ring) \ argument
505 mac_ring_t *ring; in mac_srs_poll_state_change() local
714 mac_ring_t *ring; in mac_tx_cpu_init() local
1275 mac_ring_t *ring = mac_srs->srs_ring; in mac_rx_srs_retarget_intr() local
1323 mac_ring_t *ring; in mac_tx_srs_retarget_intr() local
2076 mac_ring_t *ring) in mac_srs_create()
2317 mac_ring_t *ring; in mac_rx_switch_grp_to_sw() local
2379 mac_ring_t *ring; in mac_rx_srs_group_setup() local
2473 mac_ring_t *ring; in mac_tx_srs_group_setup() local
3216 mac_ring_t *ring; in mac_datapath_teardown() local
[all …]
/titanic_50/usr/src/uts/common/io/bge/
H A Dbge_send.c214 uint64_t ring; in bge_recycle() local
582 send_ring_t *ring; in bge_send() local
592 uint_t ring = 0; /* use ring 0 */ in bge_send_drain() local
H A Dbge_main2.c285 bge_reinit_buff_ring(buff_ring_t *brp, uint32_t ring) in bge_reinit_buff_ring()
335 uint32_t ring; in bge_reinit_rings() local
382 uint32_t ring; in bge_reset() local
518 uint32_t ring; in bge_m_stop() local
1526 uint8_t ring = (uint8_t)(rrp - bgep->recv) + 1; local
2206 bge_init_buff_ring(bge_t *bgep, uint64_t ring)
2284 bge_fini_buff_ring(bge_t *bgep, uint64_t ring)
2306 bge_init_recv_ring(bge_t *bgep, uint64_t ring)
2348 bge_fini_recv_ring(bge_t *bgep, uint64_t ring)
2367 bge_init_send_ring(bge_t *bgep, uint64_t ring)
[all …]
/titanic_50/usr/src/uts/sun4u/sunfire/io/
H A Djtag.c1114 get_ring_descriptor_bytype(int ring, enum board_type type) in get_ring_descriptor_bytype()
1147 jtag_ring ring, in jtag_check_plus_board()
1174 int ring; in jtag_get_board_type() local
1296 int ring; in jtag_get_board_info() local
1666 jtag_error_print(int ring, jtag_error code) in jtag_error_print()
1822 jtag_ring ring, in jtag_init_chip()
1893 jtag_ring ring, in jtag_scanout_chip()
1959 int ring = (bid << 4); in jtag_init_ac() local
2040 int ring; in jtag_powerdown_board() local
2126 int ring; in jtag_init_disk_board() local
[all …]
/titanic_50/usr/src/uts/common/io/bnxe/
H A Dbnxe_rr.c45 int ring = 0; in BnxeRouteTxRing() local
/titanic_50/usr/src/uts/common/sys/
H A Dmac_client_priv.h141 #define MAC_HWRING_POLL(ring, bytes) \ argument
/titanic_50/usr/src/uts/common/io/virtio/
H A Dvirtioreg.h157 uint16_t ring[]; member
171 struct vring_used_elem ring[]; member
/titanic_50/usr/src/uts/common/xen/public/io/
H A Dconsole.h32 #define MASK_XENCONS_IDX(idx, ring) ((idx) & (sizeof(ring)-1)) argument
/titanic_50/usr/src/uts/common/io/rwd/
H A Drt2661.c609 struct rt2661_tx_ring *ring, int count) in rt2661_alloc_tx_ring()
682 rt2661_reset_tx_ring(struct rt2661_softc *sc, struct rt2661_tx_ring *ring) in rt2661_reset_tx_ring()
712 rt2661_free_tx_ring(struct rt2661_softc *sc, struct rt2661_tx_ring *ring) in rt2661_free_tx_ring()
738 struct rt2661_rx_ring *ring, int count) in rt2661_alloc_rx_ring()
810 rt2661_reset_rx_ring(struct rt2661_softc *sc, struct rt2661_rx_ring *ring) in rt2661_reset_rx_ring()
827 rt2661_free_rx_ring(struct rt2661_softc *sc, struct rt2661_rx_ring *ring) in rt2661_free_rx_ring()
847 rt2661_tx_dma_intr(struct rt2661_softc *sc, struct rt2661_tx_ring *ring) in rt2661_tx_dma_intr()
889 struct rt2661_tx_ring *ring; in rt2661_tx_intr() local
965 struct rt2661_rx_ring *ring; in rt2661_rx_intr() local
1407 struct rt2661_tx_ring *ring; in rt2661_send() local
[all …]
/titanic_50/usr/src/uts/common/io/wpi/
H A Dwpi.c951 wpi_rx_ring_t *ring; in wpi_alloc_rx_ring() local
1034 wpi_alloc_tx_ring(wpi_sc_t *sc, wpi_tx_ring_t *ring, int count, int qid) in wpi_alloc_tx_ring()
1114 wpi_reset_tx_ring(wpi_sc_t *sc, wpi_tx_ring_t *ring) in wpi_reset_tx_ring()
1148 wpi_free_tx_ring(wpi_sc_t *sc, wpi_tx_ring_t *ring) in wpi_free_tx_ring()
1657 wpi_rx_ring_t *ring = &sc->sc_rxq; local
1773 wpi_tx_ring_t *ring = &sc->sc_txq[desc->qid & 0x3]; local
2074 wpi_tx_ring_t *ring; local
2713 wpi_tx_ring_t *ring = &sc->sc_cmdq; local
2884 wpi_tx_ring_t *ring = &sc->sc_cmdq; local
/titanic_50/usr/src/uts/common/io/aggr/
H A Daggr_recv.c48 aggr_pseudo_rx_ring_t *ring = (aggr_pseudo_rx_ring_t *)mrh; in aggr_mac_rx() local
/titanic_50/usr/src/uts/common/io/yge/
H A Dyge.c492 yge_ring_t *ring; in yge_init_rx_ring() local
523 yge_ring_t *ring = &port->p_tx_ring; in yge_init_tx_ring() local
1465 yge_alloc_ring(yge_port_t *port, yge_dev_t *dev, yge_ring_t *ring, uint32_t num) in yge_alloc_ring()
1513 yge_free_ring(yge_ring_t *ring) in yge_free_ring()
1665 yge_ring_t *ring = &port->p_tx_ring; in yge_send() local
1817 yge_ring_t *ring; in yge_rxeof() local
2176 yge_ring_t *ring; in yge_handle_events() local
2682 yge_set_prefetch(yge_dev_t *dev, int qaddr, yge_ring_t *ring) in yge_set_prefetch()

1234