Searched refs:tp_block_size (Results 1 – 8 of 8) sorted by relevance
61 unsigned int tp_block_size; member90 req.tp_block_size = pgsz; in create_skbuf()92 req.tp_frame_size = req.tp_block_size; in create_skbuf()
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()
177 .tp_block_size = getpagesize(), in sock_fanout_open_ring()196 ring = mmap(0, req.tp_block_size * req.tp_block_nr, in sock_fanout_open_ring()
270 unsigned int tp_block_size; /* Minimal size of contiguous block */ member277 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];
732 PRINT_FIELD_U("{", req, tp_block_size); in print_tpacket_req()