brb 255 arch/mips/include/asm/octeon/cvmx-pci-defs.h uint32_t brb:1; brb 267 arch/mips/include/asm/octeon/cvmx-pci-defs.h uint32_t brb:1; brb 101 drivers/md/persistent-data/dm-space-map-metadata.c static void brb_init(struct bop_ring_buffer *brb) brb 103 drivers/md/persistent-data/dm-space-map-metadata.c brb->begin = 0; brb 104 drivers/md/persistent-data/dm-space-map-metadata.c brb->end = 0; brb 107 drivers/md/persistent-data/dm-space-map-metadata.c static bool brb_empty(struct bop_ring_buffer *brb) brb 109 drivers/md/persistent-data/dm-space-map-metadata.c return brb->begin == brb->end; brb 112 drivers/md/persistent-data/dm-space-map-metadata.c static unsigned brb_next(struct bop_ring_buffer *brb, unsigned old) brb 115 drivers/md/persistent-data/dm-space-map-metadata.c return r >= ARRAY_SIZE(brb->bops) ? 0 : r; brb 118 drivers/md/persistent-data/dm-space-map-metadata.c static int brb_push(struct bop_ring_buffer *brb, brb 122 drivers/md/persistent-data/dm-space-map-metadata.c unsigned next = brb_next(brb, brb->end); brb 128 drivers/md/persistent-data/dm-space-map-metadata.c if (next == brb->begin) brb 131 drivers/md/persistent-data/dm-space-map-metadata.c bop = brb->bops + brb->end; brb 135 drivers/md/persistent-data/dm-space-map-metadata.c brb->end = next; brb 140 drivers/md/persistent-data/dm-space-map-metadata.c static int brb_peek(struct bop_ring_buffer *brb, struct block_op *result) brb 144 drivers/md/persistent-data/dm-space-map-metadata.c if (brb_empty(brb)) brb 147 drivers/md/persistent-data/dm-space-map-metadata.c bop = brb->bops + brb->begin; brb 154 drivers/md/persistent-data/dm-space-map-metadata.c static int brb_pop(struct bop_ring_buffer *brb) brb 156 drivers/md/persistent-data/dm-space-map-metadata.c if (brb_empty(brb)) brb 159 drivers/md/persistent-data/dm-space-map-metadata.c brb->begin = brb_next(brb, brb->begin); brb 11916 drivers/net/ethernet/qlogic/qed/qed_hsi.h struct brb_stats brb; brb 1829 drivers/net/ethernet/qlogic/qed/qed_l2.c p_common->brb_truncates += port_stats.brb.brb_truncate[j]; brb 1830 drivers/net/ethernet/qlogic/qed/qed_l2.c p_common->brb_discards += port_stats.brb.brb_discard[j];