Home
last modified time | relevance | path

Searched refs:brb (Results 1 – 3 of 3) sorted by relevance

/drivers/md/persistent-data/
Ddm-space-map-metadata.c102 static void brb_init(struct bop_ring_buffer *brb) in brb_init() argument
104 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() argument
110 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() argument
116 return r >= ARRAY_SIZE(brb->bops) ? 0 : r; in brb_next()
119 static int brb_push(struct bop_ring_buffer *brb, in brb_push() argument
123 unsigned int next = brb_next(brb, brb->end); in brb_push()
129 if (next == brb->begin) in brb_push()
[all …]
/drivers/net/ethernet/qlogic/qed/
Dqed_l2.c1809 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()
Dqed_mfw_hsi.h270 struct brb_stats brb; member