Searched refs:tx_ring (Results 1 – 6 of 6) sorted by relevance
/net/packet/ |
D | af_packet.c | 169 int closing, int tx_ring); 428 int tx_ring, in prb_shutdown_retire_blk_timer() argument 433 pkc = tx_ring ? &po->tx_ring.prb_bdqc : &po->rx_ring.prb_bdqc; in prb_shutdown_retire_blk_timer() 452 static void prb_setup_retire_blk_timer(struct packet_sock *po, int tx_ring) in prb_setup_retire_blk_timer() argument 456 if (tx_ring) in prb_setup_retire_blk_timer() 459 pkc = tx_ring ? &po->tx_ring.prb_bdqc : &po->rx_ring.prb_bdqc; in prb_setup_retire_blk_timer() 515 union tpacket_req_u *req_u, int tx_ring) in init_prb_bdqc() argument 542 prb_setup_retire_blk_timer(po, tx_ring); in init_prb_bdqc() 1922 if (likely(po->tx_ring.pg_vec)) { in tpacket_destruct_skb() 1926 BUG_ON(atomic_read(&po->tx_ring.pending) == 0); in tpacket_destruct_skb() [all …]
|
D | internal.h | 99 struct packet_ring_buffer tx_ring; member
|
D | diag.c | 105 ret = pdiag_put_ring(&po->tx_ring, po->tp_version, in pdiag_put_rings_cfg()
|
/net/netlink/ |
D | af_netlink.c | 150 return nlk_sk(sk)->tx_ring.pg_vec != NULL; in netlink_tx_is_mmaped() 218 bool closing, bool tx_ring) in netlink_set_ring() argument 227 ring = tx_ring ? &nlk->tx_ring : &nlk->rx_ring; in netlink_set_ring() 228 queue = tx_ring ? &sk->sk_write_queue : &sk->sk_receive_queue; in netlink_set_ring() 335 for (ring = &nlk->rx_ring; ring <= &nlk->tx_ring; ring++) { in netlink_mmap() 349 for (ring = &nlk->rx_ring; ring <= &nlk->tx_ring; ring++) { in netlink_mmap() 522 if (nlk->tx_ring.pg_vec) { in netlink_poll() 523 if (netlink_current_frame(&nlk->tx_ring, NL_MMAP_STATUS_UNUSED)) in netlink_poll() 580 ring = &nlk->tx_ring; in netlink_mmap_sendmsg() 587 atomic_read(&nlk->tx_ring.pending)) in netlink_mmap_sendmsg() [all …]
|
D | af_netlink.h | 44 struct netlink_ring tx_ring; member
|
D | diag.c | 32 ret = sk_diag_put_ring(&nlk->tx_ring, NETLINK_DIAG_TX_RING, in sk_diag_put_rings_cfg()
|