Searched refs:frames_per_block (Results 1 – 6 of 6) sorted by relevance
14 unsigned int frames_per_block; member
438 ring->frames_per_block = req->nm_block_size / in netlink_set_ring()440 if (ring->frames_per_block == 0) in netlink_set_ring()442 if (ring->frames_per_block * req->nm_block_nr != in netlink_set_ring()588 pg_vec_pos = pos / ring->frames_per_block; in __netlink_lookup_frame()589 frame_off = pos % ring->frames_per_block; in __netlink_lookup_frame()
60 unsigned int frames_per_block; member
499 pg_vec_pos = position / rb->frames_per_block; in packet_lookup_frame()500 frame_offset = position % rb->frames_per_block; in packet_lookup_frame()4120 rb->frames_per_block = req->tp_block_size / req->tp_frame_size; in packet_set_ring()4121 if (unlikely(rb->frames_per_block == 0)) in packet_set_ring()4123 if (unlikely((rb->frames_per_block * req->tp_block_nr) != in packet_set_ring()
98 - frames_per_block = nm_block_size / nm_frame_size100 - nm_frame_nr = frames_per_block * nm_block_nr
223 frames_per_block = tp_block_size/tp_frame_size227 frames_per_block * tp_block_nr == tp_frame_nr400 tp_frame_nr must be exactly frames_per_block*tp_block_nr