Searched refs:frames_per_block (Results 1 – 3 of 3) sorted by relevance
63 unsigned int frames_per_block; member
522 pg_vec_pos = position / rb->frames_per_block; in packet_lookup_frame()523 frame_offset = position % rb->frames_per_block; in packet_lookup_frame()4518 rb->frames_per_block = req->tp_block_size / req->tp_frame_size; in packet_set_ring()4519 if (unlikely(rb->frames_per_block == 0)) in packet_set_ring()4521 if (unlikely(rb->frames_per_block > UINT_MAX / req->tp_block_nr)) in packet_set_ring()4523 if (unlikely((rb->frames_per_block * req->tp_block_nr) != in packet_set_ring()
219 frames_per_block = tp_block_size/tp_frame_size223 frames_per_block * tp_block_nr == tp_frame_nr397 - tp_frame_nr must be exactly frames_per_block*tp_block_nr