Searched refs:frames_per_block (Results 1 – 2 of 2) sorted by relevance
63 unsigned int frames_per_block; member
512 pg_vec_pos = position / rb->frames_per_block; in packet_lookup_frame()513 frame_offset = position % rb->frames_per_block; in packet_lookup_frame()4367 rb->frames_per_block = req->tp_block_size / req->tp_frame_size; in packet_set_ring()4368 if (unlikely(rb->frames_per_block == 0)) in packet_set_ring()4370 if (unlikely(rb->frames_per_block > UINT_MAX / req->tp_block_nr)) in packet_set_ring()4372 if (unlikely((rb->frames_per_block * req->tp_block_nr) != in packet_set_ring()