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.c648 ring->req.tp_block_size = getpagesize() << 2; in __v1_v2_fill()
652 ring->req.tp_frame_nr = ring->req.tp_block_size / in __v1_v2_fill()
656 ring->mm_len = ring->req.tp_block_size * ring->req.tp_block_nr; in __v1_v2_fill()
669 ring->req3.tp_block_size = getpagesize() << 2; in __v3_fill()
673 ring->req3.tp_frame_nr = ring->req3.tp_block_size / in __v3_fill()
677 ring->mm_len = ring->req3.tp_block_size * ring->req3.tp_block_nr; in __v3_fill()
680 ring->flen = ring->req3.tp_block_size; in __v3_fill()
Dpsock_fanout.c164 .tp_block_size = getpagesize(), in sock_fanout_open_ring()
183 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.c4185 req.tp_block_size = getpagesize();
4186 while (req.tp_block_size < req.tp_frame_size)
4187 req.tp_block_size <<= 1;
4189 frames_per_block = req.tp_block_size/req.tp_frame_size;
4350 handlep->mmapbuflen = req.tp_block_nr * req.tp_block_size;
4379 void *base = &handlep->mmapbuf[i*req.tp_block_size];
/external/strace/
Dnet.c713 req.tp_block_size, in print_tpacket_req()