Lines Matching refs:n_bytes
824 uint32_t n_pkts_max, struct pktq *pktq, uint32_t *n_bytes) in fsw_ring_dequeue_pktq() argument
835 *n_bytes = 0; in fsw_ring_dequeue_pktq()
858 *n_bytes += pkt->pkt_length; in fsw_ring_dequeue_pktq()
875 uint32_t n, n_pkts = 0, n_bytes = 0; in fsw_ring_enqueue_pktq() local
893 n_bytes += pkt->pkt_length; in fsw_ring_enqueue_pktq()
902 kr_update_stats(r, n_pkts, n_bytes); in fsw_ring_enqueue_pktq()
2054 uint32_t n_bytes = 0, n_pkts = 0; in fsw_devna_rx() local
2075 n_bytes += pkt->pkt_length; in fsw_devna_rx()
2091 total_bytes += n_bytes; in fsw_devna_rx()
2093 n_bytes = 0; in fsw_devna_rx()
3150 uint32_t n_bytes; in fsw_dev_ring_flush() local
3151 fsw_ring_dequeue_pktq(fsw, r, fsw_rx_batch, &pktq, &n_bytes); in fsw_dev_ring_flush()
3152 if (n_bytes == 0) { in fsw_dev_ring_flush()
3156 total_bytes += n_bytes; in fsw_dev_ring_flush()
3187 uint32_t n_bytes; in fsw_user_ring_flush() local
3188 fsw_ring_dequeue_pktq(fsw, r, fsw_tx_batch, &pktq, &n_bytes); in fsw_user_ring_flush()
3189 if (n_bytes == 0) { in fsw_user_ring_flush()
3193 total_bytes += n_bytes; in fsw_user_ring_flush()