Lines Matching refs:rx_ring
528 pkc = GET_PBDQC_FROM_RB(&po->rx_ring); in prb_shutdown_retire_blk_timer()
551 pkc = GET_PBDQC_FROM_RB(&po->rx_ring); in prb_setup_retire_blk_timer()
674 struct tpacket_kbdq_core *pkc = GET_PBDQC_FROM_RB(&po->rx_ring); in prb_retire_rx_blk_timer_expired()
1051 pkc = GET_PBDQC_FROM_RB(&po->rx_ring); in __packet_lookup_frame_in_block()
1111 curr = packet_lookup_frame(po, &po->rx_ring, in packet_current_rx_frame()
1112 po->rx_ring.head, status); in packet_current_rx_frame()
1220 po->rx_ring.pending_refcnt = NULL; in packet_alloc_pending()
1243 len = po->rx_ring.frame_max + 1; in __tpacket_has_room()
1244 idx = po->rx_ring.head; in __tpacket_has_room()
1249 return packet_lookup_frame(po, &po->rx_ring, idx, TP_STATUS_KERNEL); in __tpacket_has_room()
1256 len = po->rx_ring.prb_bdqc.knum_blocks; in __tpacket_v3_has_room()
1257 idx = po->rx_ring.prb_bdqc.kactive_blk_num; in __tpacket_v3_has_room()
1262 return prb_lookup_block(po, &po->rx_ring, idx, TP_STATUS_KERNEL); in __tpacket_v3_has_room()
2159 if (macoff + snaplen > po->rx_ring.frame_size) { in tpacket_rcv()
2171 snaplen = po->rx_ring.frame_size - macoff; in tpacket_rcv()
2176 GET_PBDQC_FROM_RB(&po->rx_ring)->max_frame_len)) { in tpacket_rcv()
2179 nval = GET_PBDQC_FROM_RB(&po->rx_ring)->max_frame_len - macoff; in tpacket_rcv()
2185 macoff = GET_PBDQC_FROM_RB(&po->rx_ring)->max_frame_len; in tpacket_rcv()
2194 packet_increment_rx_head(po, &po->rx_ring); in tpacket_rcv()
2294 prb_clear_blk_fill_status(&po->rx_ring); in tpacket_rcv()
2878 if (po->rx_ring.pg_vec) { in packet_release()
3576 if (po->rx_ring.pg_vec || po->tx_ring.pg_vec) in packet_setsockopt()
3596 if (po->rx_ring.pg_vec || po->tx_ring.pg_vec) in packet_setsockopt()
3609 if (po->rx_ring.pg_vec || po->tx_ring.pg_vec) in packet_setsockopt()
3646 if (po->rx_ring.pg_vec || po->tx_ring.pg_vec) in packet_setsockopt()
3692 if (po->rx_ring.pg_vec || po->tx_ring.pg_vec) in packet_setsockopt()
3942 if (po->rx_ring.pg_vec) { in packet_poll()
3943 if (!packet_previous_rx_frame(po, &po->rx_ring, in packet_poll()
4076 rb = tx_ring ? &po->tx_ring : &po->rx_ring; in packet_set_ring()
4180 po->prot_hook.func = (po->rx_ring.pg_vec) ? in packet_set_ring()
4225 for (rb = &po->rx_ring; rb <= &po->tx_ring; rb++) { in packet_mmap()
4241 for (rb = &po->rx_ring; rb <= &po->tx_ring; rb++) { in packet_mmap()