Searched refs:tp_block_size (Results 1 – 6 of 6) sorted by relevance
648 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()
164 .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()
268 unsigned int tp_block_size; /* Minimal size of contiguous block */ member275 unsigned int tp_block_size; /* Minimal size of contiguous block */ member
57 .tp_block_size = TP_BLOCK_SIZE, // Frames per block. in ring_create()
4185 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];
713 req.tp_block_size, in print_tpacket_req()