Lines Matching defs:tx_ring
174 int closing, int tx_ring);
1232 po->tx_ring.pending_refcnt = alloc_percpu(unsigned int);
1233 if (unlikely(po->tx_ring.pending_refcnt == NULL))
1241 free_percpu(po->tx_ring.pending_refcnt);
2515 if (likely(po->tx_ring.pg_vec)) {
2520 packet_dec_pending(&po->tx_ring);
2682 off_max = po->tx_ring.frame_size - tp_len;
2740 /* packet_sendmsg() check on tx_ring.pg_vec was lockless,
2743 if (unlikely(!po->tx_ring.pg_vec)) {
2784 size_max = po->tx_ring.frame_size
2793 ph = packet_current_frame(po, &po->tx_ring,
2853 packet_increment_head(&po->tx_ring);
2873 packet_inc_pending(&po->tx_ring);
2892 packet_increment_head(&po->tx_ring);
2901 (need_wait && packet_read_pending(&po->tx_ring))));
3106 /* Reading tx_ring.pg_vec without holding pg_vec_lock is racy.
3109 if (data_race(po->tx_ring.pg_vec))
3158 if (po->tx_ring.pg_vec) {
3858 if (po->rx_ring.pg_vec || po->tx_ring.pg_vec) {
3878 if (po->rx_ring.pg_vec || po->tx_ring.pg_vec) {
3897 if (po->rx_ring.pg_vec || po->tx_ring.pg_vec) {
3951 if (po->rx_ring.pg_vec || po->tx_ring.pg_vec) {
4015 if (!po->rx_ring.pg_vec && !po->tx_ring.pg_vec)
4281 if (po->tx_ring.pg_vec) {
4282 if (packet_current_frame(po, &po->tx_ring, TP_STATUS_AVAILABLE))
4388 int closing, int tx_ring)
4401 rb = tx_ring ? &po->tx_ring : &po->rx_ring;
4402 rb_queue = tx_ring ? &sk->sk_write_queue : &sk->sk_receive_queue;
4464 if (!tx_ring) {
4478 if (!tx_ring) {
4541 if (!tx_ring)
4571 for (rb = &po->rx_ring; rb <= &po->tx_ring; rb++) {
4587 for (rb = &po->rx_ring; rb <= &po->tx_ring; rb++) {