Home
last modified time | relevance | path

Searched refs:pg_vec (Results 1 – 5 of 5) sorted by relevance

/net/packet/
Daf_packet.c406 h.raw = rb->pg_vec[pg_vec_pos].buffer + in packet_lookup_frame()
514 struct pgv *pg_vec, in init_prb_bdqc() argument
523 p1->pkbdq = pg_vec; in init_prb_bdqc()
524 pbd = (struct tpacket_block_desc *)pg_vec[0].buffer; in init_prb_bdqc()
525 p1->pkblk_start = pg_vec[0].buffer; in init_prb_bdqc()
1922 if (likely(po->tx_ring.pg_vec)) { in tpacket_destruct_skb()
2412 if (po->tx_ring.pg_vec) in packet_sendmsg()
2454 if (po->rx_ring.pg_vec) { in packet_release()
2459 if (po->tx_ring.pg_vec) { in packet_release()
3139 if (po->rx_ring.pg_vec || po->tx_ring.pg_vec) { in packet_setsockopt()
[all …]
Dinternal.h57 struct pgv *pg_vec; member
Ddiag.c75 if (!ring->pg_vec || ((ver > TPACKET_V2) && in pdiag_put_ring()
/net/netlink/
Daf_netlink.c145 return nlk_sk(sk)->rx_ring.pg_vec != NULL; in netlink_rx_is_mmaped()
150 return nlk_sk(sk)->tx_ring.pg_vec != NULL; in netlink_tx_is_mmaped()
161 static void free_pg_vec(void **pg_vec, unsigned int order, unsigned int len) in free_pg_vec() argument
166 if (pg_vec[i] != NULL) { in free_pg_vec()
167 if (is_vmalloc_addr(pg_vec[i])) in free_pg_vec()
168 vfree(pg_vec[i]); in free_pg_vec()
170 free_pages((unsigned long)pg_vec[i], order); in free_pg_vec()
173 kfree(pg_vec); in free_pg_vec()
199 void **pg_vec, *ptr; in alloc_pg_vec() local
201 pg_vec = kcalloc(block_nr, sizeof(void *), GFP_KERNEL); in alloc_pg_vec()
[all …]
Daf_netlink.h10 void **pg_vec; member