Searched refs:br_prod_mask (Results 1 – 2 of 2) sorted by relevance
50 int br_prod_mask; member81 prod_next = (prod_head + 1) & br->br_prod_mask; in buf_ring_enqueue()337 return (((br->br_prod_head + 1) & br->br_prod_mask) == br->br_cons_tail); in buf_ring_full()352 & br->br_prod_mask); in buf_ring_count()
55 br->br_prod_mask = br->br_cons_mask = count-1; in buf_ring_alloc()