Lines Matching full:handled
573 int handled = 0; in bcm4908_enet_poll_rx() local
575 while (handled < weight) { in bcm4908_enet_poll_rx()
615 handled++; in bcm4908_enet_poll_rx()
618 if (handled < weight) { in bcm4908_enet_poll_rx()
619 napi_complete_done(napi, handled); in bcm4908_enet_poll_rx()
626 return handled; in bcm4908_enet_poll_rx()
637 int handled = 0; in bcm4908_enet_poll_tx() local
639 while (handled < weight && tx_ring->read_idx != tx_ring->write_idx) { in bcm4908_enet_poll_tx()
648 handled++; in bcm4908_enet_poll_tx()
655 enet->netdev->stats.tx_packets += handled; in bcm4908_enet_poll_tx()
658 if (handled < weight) { in bcm4908_enet_poll_tx()
659 napi_complete_done(napi, handled); in bcm4908_enet_poll_tx()
666 return handled; in bcm4908_enet_poll_tx()