Searched refs:r_index (Results 1 – 5 of 5) sorted by relevance
/illumos-gate/usr/src/cmd/dlstat/ |
H A D | dlstat.c | 172 char r_index[MAXSTATLEN]; member 185 offsetof(ring_fields_buf_t, r_index), print_default_cb}, 1014 (void) snprintf(buf->r_index, sizeof (buf->r_index), "--"); in print_rx_generic_ring_stats() 1016 (void) snprintf(buf->r_index, sizeof (buf->r_index), in print_rx_generic_ring_stats() 1048 (void) snprintf(buf->r_index, sizeof (buf->r_index), "--"); in print_tx_generic_ring_stats() 1050 (void) snprintf(buf->r_index, sizeof (buf->r_index), in print_tx_generic_ring_stats()
|
/illumos-gate/usr/src/uts/common/io/nxge/ |
H A D | nxge_kstats.c | 2201 int r_index; in nxge_rx_ring_stat() local 2207 r_index = rhp->index + nxgep->pt_config.hw_config.start_rdc; in nxge_rx_ring_stat() 2209 if (statsp->rdc_ksp[r_index] == NULL) in nxge_rx_ring_stat() 2214 *val = statsp->rdc_stats[r_index].ierrors; in nxge_rx_ring_stat() 2218 *val = statsp->rdc_stats[r_index].ibytes; in nxge_rx_ring_stat() 2222 *val = statsp->rdc_stats[r_index].ipackets; in nxge_rx_ring_stat() 2241 int r_index; in nxge_tx_ring_stat() local 2249 if (statsp->tdc_ksp[r_index] == NULL) in nxge_tx_ring_stat() 2254 *val = statsp->tdc_stats[r_index].oerrors; in nxge_tx_ring_stat() 2258 *val = statsp->tdc_stats[r_index].obytes; in nxge_tx_ring_stat() [all …]
|
H A D | nxge_rxdma.c | 708 int r_index, l_index, anchor_index; in nxge_rxbuf_pp_to_vp() local 818 r_index = rbr_p->num_blocks - 1; in nxge_rxbuf_pp_to_vp() 821 anchor_index = MID_INDEX(r_index, l_index); in nxge_rxbuf_pp_to_vp() 823 if ((r_index == l_index) || in nxge_rxbuf_pp_to_vp() 859 anchor_index = MID_INDEX(r_index, l_index); in nxge_rxbuf_pp_to_vp() 864 r_index = anchor_index - 1; in nxge_rxbuf_pp_to_vp() 865 anchor_index = MID_INDEX(r_index, l_index); in nxge_rxbuf_pp_to_vp()
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vnet.c | 84 const int r_index, mac_ring_info_t *infop, mac_ring_handle_t r_handle); 2216 const int r_index, mac_ring_info_t *infop, mac_ring_handle_t r_handle) in vnet_get_ring() argument 2233 ASSERT((r_index >= 0) && (r_index < rx_grp->max_ring_cnt)); in vnet_get_ring() 2236 rx_ringp = &rx_grp->rings[r_index]; in vnet_get_ring() 2284 ASSERT((r_index >= 0) && (r_index < tx_grp->ring_cnt)); in vnet_get_ring() 2287 tx_ringp = &tx_grp->rings[r_index]; in vnet_get_ring() 2290 tx_ringp->index = r_index; in vnet_get_ring()
|
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hxge_rxdma.c | 341 int r_index, l_index, anchor_index; in hxge_rxbuf_pp_to_vp() local 439 r_index = rbr_p->num_blocks - 1; in hxge_rxbuf_pp_to_vp() 442 anchor_index = MID_INDEX(r_index, l_index); in hxge_rxbuf_pp_to_vp() 444 if ((r_index == l_index) || in hxge_rxbuf_pp_to_vp() 479 anchor_index = MID_INDEX(r_index, l_index); in hxge_rxbuf_pp_to_vp() 484 r_index = anchor_index - 1; in hxge_rxbuf_pp_to_vp() 485 anchor_index = MID_INDEX(r_index, l_index); in hxge_rxbuf_pp_to_vp()
|