Home
last modified time | relevance | path

Searched refs:tp_block_size (Results 1 – 6 of 6) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/net/
Dpsock_tpacket.c593 ring->req.tp_block_size = getpagesize() << 2; in __v1_v2_fill()
597 ring->req.tp_frame_nr = ring->req.tp_block_size / in __v1_v2_fill()
601 ring->mm_len = ring->req.tp_block_size * ring->req.tp_block_nr; in __v1_v2_fill()
613 ring->req3.tp_block_size = getpagesize() << 2; in __v3_fill()
617 ring->req3.tp_frame_nr = ring->req3.tp_block_size / in __v3_fill()
621 ring->mm_len = ring->req3.tp_block_size * ring->req3.tp_block_nr; in __v3_fill()
624 ring->flen = ring->req3.tp_block_size; in __v3_fill()
Dpsock_fanout.c146 .tp_block_size = getpagesize(), in sock_fanout_open_ring()
165 ring = mmap(0, req.tp_block_size * req.tp_block_nr, in sock_fanout_open_ring()
/external/kernel-headers/original/uapi/linux/
Dif_packet.h268 unsigned int tp_block_size; /* Minimal size of contiguous block */ member
275 unsigned int tp_block_size; /* Minimal size of contiguous block */ member
/external/android-clat/
Dring.c57 .tp_block_size = TP_BLOCK_SIZE, // Frames per block. in ring_create()
/external/libpcap/
Dpcap-linux.c4001 req.tp_block_size = getpagesize();
4002 while (req.tp_block_size < req.tp_frame_size)
4003 req.tp_block_size <<= 1;
4005 frames_per_block = req.tp_block_size/req.tp_frame_size;
4158 handlep->mmapbuflen = req.tp_block_nr * req.tp_block_size;
4187 void *base = &handlep->mmapbuf[i*req.tp_block_size];
/external/strace/
Dnet.c723 req.tp_block_size, in print_tpacket_req()