/drivers/scsi/fnic/ |
D | fnic_isr.c | 34 unsigned long work_done = 0; in fnic_isr_legacy() local 51 work_done += fnic_wq_copy_cmpl_handler(fnic, -1); in fnic_isr_legacy() 52 work_done += fnic_wq_cmpl_handler(fnic, -1); in fnic_isr_legacy() 53 work_done += fnic_rq_cmpl_handler(fnic, -1); in fnic_isr_legacy() 56 work_done, in fnic_isr_legacy() 67 unsigned long work_done = 0; in fnic_isr_msi() local 69 work_done += fnic_wq_copy_cmpl_handler(fnic, -1); in fnic_isr_msi() 70 work_done += fnic_wq_cmpl_handler(fnic, -1); in fnic_isr_msi() 71 work_done += fnic_rq_cmpl_handler(fnic, -1); in fnic_isr_msi() 74 work_done, in fnic_isr_msi()
|
D | vnic_cq_copy.h | 32 unsigned int work_done = 0; in vnic_cq_copy_service() local 54 work_done++; in vnic_cq_copy_service() 55 if (work_done >= work_to_do) in vnic_cq_copy_service() 59 return work_done; in vnic_cq_copy_service()
|
D | vnic_cq.h | 77 unsigned int work_done = 0; in vnic_cq_service() local 103 work_done++; in vnic_cq_service() 104 if (work_done >= work_to_do) in vnic_cq_service() 108 return work_done; in vnic_cq_service()
|
/drivers/net/ethernet/cisco/enic/ |
D | vnic_cq.h | 70 unsigned int work_done = 0; in vnic_cq_service() local 96 work_done++; in vnic_cq_service() 97 if (work_done >= work_to_do) in vnic_cq_service() 101 return work_done; in vnic_cq_service()
|
D | enic_main.c | 1339 unsigned int work_done, rq_work_done, wq_work_done; in enic_poll() local 1356 work_done = rq_work_done + wq_work_done; in enic_poll() 1358 if (work_done > 0) in enic_poll() 1360 work_done, in enic_poll() 1394 unsigned int work_done; in enic_poll_msix() local 1400 work_done = vnic_cq_service(&enic->cq[cq], in enic_poll_msix() 1408 if (work_done > 0) in enic_poll_msix() 1410 work_done, in enic_poll_msix() 1421 work_done = work_to_do; in enic_poll_msix() 1423 if (work_done < work_to_do) { in enic_poll_msix() [all …]
|
/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_io.c | 800 int tx_complete, work_done; in qlcnic_poll() local 808 work_done = qlcnic_process_rcv_ring(sds_ring, budget); in qlcnic_poll() 809 if ((work_done < budget) && tx_complete) { in qlcnic_poll() 815 return work_done; in qlcnic_poll() 822 int work_done; in qlcnic_rx_poll() local 827 work_done = qlcnic_process_rcv_ring(sds_ring, budget); in qlcnic_rx_poll() 829 if (work_done < budget) { in qlcnic_rx_poll() 835 return work_done; in qlcnic_rx_poll() 1695 int work_done; in qlcnic_83xx_msix_sriov_vf_poll() local 1706 work_done = qlcnic_83xx_process_rcv_ring(sds_ring, budget); in qlcnic_83xx_msix_sriov_vf_poll() [all …]
|
/drivers/net/can/ |
D | grcan.c | 510 int i, work_done; in catch_up_echo_skb() local 518 for (work_done = 0; work_done < budget || budget < 0; work_done++) { in catch_up_echo_skb() 537 return work_done; in catch_up_echo_skb() 1148 int work_done; in grcan_transmit_catch_up() local 1152 work_done = catch_up_echo_skb(dev, budget, true); in grcan_transmit_catch_up() 1153 if (work_done) { in grcan_transmit_catch_up() 1167 return work_done; in grcan_transmit_catch_up() 1181 int work_done = 0; in grcan_receive() local 1185 for (work_done = 0; work_done < budget; work_done++) { in grcan_receive() 1239 return work_done; in grcan_receive()
|
D | flexcan.c | 579 int work_done = 0; in flexcan_poll() local 588 work_done += flexcan_poll_state(dev, reg_esr); in flexcan_poll() 593 work_done < quota) { in flexcan_poll() 594 work_done += flexcan_read_frame(dev); in flexcan_poll() 599 if (flexcan_has_and_handle_berr(priv, reg_esr) && work_done < quota) in flexcan_poll() 600 work_done += flexcan_poll_bus_err(dev, reg_esr); in flexcan_poll() 602 if (work_done < quota) { in flexcan_poll() 609 return work_done; in flexcan_poll()
|
D | at91_can.c | 816 int work_done = 0; in at91_poll() local 819 work_done += at91_poll_rx(dev, quota - work_done); in at91_poll() 827 work_done += at91_poll_err(dev, quota - work_done, reg_sr); in at91_poll() 829 if (work_done < quota) { in at91_poll() 838 return work_done; in at91_poll()
|
/drivers/net/can/c_can/ |
D | c_can.c | 1005 int work_done = 0; in c_can_poll() local 1031 work_done += c_can_handle_state_change(dev, in c_can_poll() 1037 work_done += c_can_handle_state_change(dev, in c_can_poll() 1043 work_done += c_can_handle_state_change(dev, in c_can_poll() 1064 work_done += c_can_handle_bus_err(dev, lec_type); in c_can_poll() 1068 work_done += c_can_do_rx_poll(dev, (quota - work_done)); in c_can_poll() 1076 if (work_done < quota) { in c_can_poll() 1082 return work_done; in c_can_poll()
|
/drivers/net/ethernet/dec/tulip/ |
D | interrupt.c | 117 int work_done = 0; in tulip_poll() local 155 if (++work_done >= budget) in tulip_poll() 336 return work_done; in tulip_poll() 346 return work_done; in tulip_poll() 360 return work_done; in tulip_poll()
|
/drivers/s390/net/ |
D | qeth_l2_main.c | 410 int work_done = 0; in qeth_l2_process_inbound_buffer() local 452 work_done++; in qeth_l2_process_inbound_buffer() 457 return work_done; in qeth_l2_process_inbound_buffer() 463 int work_done = 0; in qeth_l2_poll() local 494 work_done += qeth_l2_process_inbound_buffer( in qeth_l2_poll() 518 if (work_done >= budget) in qeth_l2_poll() 521 new_budget = budget - work_done; in qeth_l2_poll() 532 return work_done; in qeth_l2_poll()
|
/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | sge.c | 1776 int work_done = process_responses(rspq, budget); in napi_rx_handler() local 1778 if (likely(work_done < budget)) { in napi_rx_handler() 1785 if (unlikely(work_done == 0)) in napi_rx_handler() 1790 CIDXINC(work_done) | in napi_rx_handler() 1793 return work_done; in napi_rx_handler() 1816 unsigned int work_done; in process_intrq() local 1819 for (work_done = 0; ; work_done++) { in process_intrq() 1883 CIDXINC(work_done) | in process_intrq() 1889 return work_done; in process_intrq()
|
/drivers/net/ethernet/smsc/ |
D | epic100.c | 1151 int work_done = 0; in epic_rx() local 1218 work_done++; in epic_rx() 1233 work_done++; in epic_rx() 1238 return work_done; in epic_rx() 1260 int work_done = 0; in epic_poll() local 1267 work_done += epic_rx(dev, budget); in epic_poll() 1271 if (work_done < budget) { in epic_poll() 1293 return work_done; in epic_poll()
|
D | smsc9420.c | 887 int work_done; in smsc9420_rx_poll() local 889 for (work_done = 0; work_done < budget; work_done++) { in smsc9420_rx_poll() 911 if (work_done < budget) { in smsc9420_rx_poll() 920 return work_done; in smsc9420_rx_poll()
|
/drivers/net/ethernet/octeon/ |
D | octeon_mgmt.c | 496 unsigned int work_done = 0; in octeon_mgmt_receive_packets() local 501 while (work_done < budget && mix_ircnt.s.ircnt) { in octeon_mgmt_receive_packets() 505 work_done++; in octeon_mgmt_receive_packets() 513 return work_done; in octeon_mgmt_receive_packets() 520 unsigned int work_done = 0; in octeon_mgmt_napi_poll() local 522 work_done = octeon_mgmt_receive_packets(p, budget); in octeon_mgmt_napi_poll() 524 if (work_done < budget) { in octeon_mgmt_napi_poll() 531 return work_done; in octeon_mgmt_napi_poll()
|
/drivers/net/can/softing/ |
D | softing_main.c | 335 int j, offset, work_done; in softing_irq_thread() local 337 work_done = 0; in softing_irq_thread() 341 ++work_done; in softing_irq_thread() 358 ++work_done; in softing_irq_thread() 361 return work_done ? IRQ_HANDLED : IRQ_NONE; in softing_irq_thread()
|
/drivers/net/ethernet/sun/ |
D | sungem.c | 762 int entry, drops, work_done = 0; in gem_rx() local 783 if (work_done >= RX_RING_SIZE || work_done >= work_to_do) in gem_rx() 800 work_done++; in gem_rx() 880 return work_done; in gem_rx() 887 int work_done; in gem_poll() local 889 work_done = 0; in gem_poll() 907 return work_done; in gem_poll() 919 work_done += gem_rx(gp, budget - work_done); in gem_poll() 921 if (work_done >= budget) in gem_poll() 922 return work_done; in gem_poll() [all …]
|
/drivers/net/ethernet/aeroflex/ |
D | greth.c | 963 int work_done = 0; in greth_poll() local 977 work_done += greth_rx_gbit(greth->netdev, budget - work_done); in greth_poll() 979 work_done += greth_rx(greth->netdev, budget - work_done); in greth_poll() 982 if (work_done < budget) { in greth_poll() 1007 return work_done; in greth_poll()
|
/drivers/net/ethernet/intel/ |
D | e100.c | 1981 unsigned int *work_done, unsigned int work_to_do) in e100_rx_indicate() argument 1989 if (unlikely(work_done && *work_done >= work_to_do)) in e100_rx_indicate() 2070 if (work_done) in e100_rx_indicate() 2071 (*work_done)++; in e100_rx_indicate() 2079 static void e100_rx_clean(struct nic *nic, unsigned int *work_done, in e100_rx_clean() argument 2089 err = e100_rx_indicate(nic, rx, work_done, work_to_do); in e100_rx_clean() 2151 if (work_done) in e100_rx_clean() 2152 (*work_done)++; in e100_rx_clean() 2249 unsigned int work_done = 0; in e100_poll() local 2251 e100_rx_clean(nic, &work_done, budget); in e100_poll() [all …]
|
/drivers/net/ethernet/chelsio/cxgb3/ |
D | sge.c | 1835 int work_done = 0; in ofld_poll() local 1837 while (work_done < budget) { in ofld_poll() 1848 return work_done; in ofld_poll() 1854 if (work_done >= budget) in ofld_poll() 1856 work_done++; in ofld_poll() 1877 return work_done; in ofld_poll() 2414 int work_done = process_responses(adap, qs, budget); in napi_rx_handler() local 2416 if (likely(work_done < budget)) { in napi_rx_handler() 2437 return work_done; in napi_rx_handler() 2668 int work_done, w0, w1; in t3_intr() local [all …]
|
/drivers/net/ethernet/marvell/ |
D | mv643xx_eth.c | 1996 int work_done; in mv643xx_eth_poll() local 2005 work_done = 0; in mv643xx_eth_poll() 2006 while (work_done < budget) { in mv643xx_eth_poll() 2014 work_done++; in mv643xx_eth_poll() 2031 work_tbd = budget - work_done; in mv643xx_eth_poll() 2038 work_done += txq_reclaim(mp->txq + queue, work_tbd, 0); in mv643xx_eth_poll() 2041 work_done += rxq_process(mp->rxq + queue, work_tbd); in mv643xx_eth_poll() 2043 work_done += rxq_refill(mp->rxq + queue, work_tbd); in mv643xx_eth_poll() 2049 if (work_done < budget) { in mv643xx_eth_poll() 2056 return work_done; in mv643xx_eth_poll()
|
/drivers/net/ethernet/broadcom/ |
D | sb1250-mac.c | 1077 int work_done = 0; in sbdma_rx_process() local 1205 work_done++; in sbdma_rx_process() 1212 return work_done; in sbdma_rx_process() 2564 int work_done; in sbmac_poll() local 2566 work_done = sbdma_rx_process(sc, &(sc->sbm_rxdma), budget, 1); in sbmac_poll() 2569 if (work_done < budget) { in sbmac_poll() 2582 return work_done; in sbmac_poll()
|
/drivers/net/ |
D | xen-netfront.c | 965 int work_done; in xennet_poll() local 982 work_done = 0; in xennet_poll() 983 while ((i != rp) && (work_done < budget)) { in xennet_poll() 1036 work_done++; in xennet_poll() 1041 work_done -= handle_incoming_queue(dev, &rxq); in xennet_poll() 1052 if (work_done < budget) { in xennet_poll() 1066 return work_done; in xennet_poll()
|
/drivers/net/ethernet/oki-semi/pch_gbe/ |
D | pch_gbe_main.c | 1649 int *work_done, int work_to_do) in pch_gbe_clean_rx() argument 1666 while (*work_done < work_to_do) { in pch_gbe_clean_rx() 1732 (*work_done)++; in pch_gbe_clean_rx() 2353 int work_done = 0; in pch_gbe_napi_poll() local 2359 pch_gbe_clean_rx(adapter, adapter->rx_ring, &work_done, budget); in pch_gbe_napi_poll() 2363 work_done = budget; in pch_gbe_napi_poll() 2367 if (work_done < budget) in pch_gbe_napi_poll() 2381 poll_end_flag, work_done, budget); in pch_gbe_napi_poll() 2383 return work_done; in pch_gbe_napi_poll()
|