Searched refs:frames_per_block (Results 1 – 2 of 2) sorted by relevance
63 unsigned int frames_per_block; member
487 pg_vec_pos = position / rb->frames_per_block; in packet_lookup_frame()488 frame_offset = position % rb->frames_per_block; in packet_lookup_frame()4397 rb->frames_per_block = req->tp_block_size / req->tp_frame_size; in packet_set_ring()4398 if (unlikely(rb->frames_per_block == 0)) in packet_set_ring()4400 if (unlikely(rb->frames_per_block > UINT_MAX / req->tp_block_nr)) in packet_set_ring()4402 if (unlikely((rb->frames_per_block * req->tp_block_nr) != in packet_set_ring()