Lines Matching refs:boguscnt
768 int boguscnt; in ravb_rx_gbeth() local
775 boguscnt = priv->dirty_rx[q] + priv->num_rx_ring[q] - priv->cur_rx[q]; in ravb_rx_gbeth()
778 boguscnt = min(boguscnt, *quota); in ravb_rx_gbeth()
779 limit = boguscnt; in ravb_rx_gbeth()
787 if (--boguscnt < 0) in ravb_rx_gbeth()
882 *quota -= limit - (++boguscnt); in ravb_rx_gbeth()
884 return boguscnt <= 0; in ravb_rx_gbeth()
893 int boguscnt = (priv->dirty_rx[q] + priv->num_rx_ring[q]) - in ravb_rx_rcar() local
904 boguscnt = min(boguscnt, *quota); in ravb_rx_rcar()
905 limit = boguscnt; in ravb_rx_rcar()
913 if (--boguscnt < 0) in ravb_rx_rcar()
997 *quota -= limit - (++boguscnt); in ravb_rx_rcar()
999 return boguscnt <= 0; in ravb_rx_rcar()