Searched refs:brb (Results 1 – 3 of 3) sorted by relevance
102 static void brb_init(struct bop_ring_buffer *brb) in brb_init() argument104 brb->begin = 0; in brb_init()105 brb->end = 0; in brb_init()108 static bool brb_empty(struct bop_ring_buffer *brb) in brb_empty() argument110 return brb->begin == brb->end; in brb_empty()113 static unsigned int brb_next(struct bop_ring_buffer *brb, unsigned int old) in brb_next() argument116 return r >= ARRAY_SIZE(brb->bops) ? 0 : r; in brb_next()119 static int brb_push(struct bop_ring_buffer *brb, in brb_push() argument123 unsigned int next = brb_next(brb, brb->end); in brb_push()129 if (next == brb->begin) in brb_push()[all …]
1809 p_common->brb_truncates += port_stats.brb.brb_truncate[j]; in __qed_get_vport_port_stats()1810 p_common->brb_discards += port_stats.brb.brb_discard[j]; in __qed_get_vport_port_stats()
270 struct brb_stats brb; member