/linux-2.4.37.9/drivers/net/ |
D | gt64240eth.c | 130 static int gt64240_poll(struct net_device *dev, int *budget); 131 static int gt64240_rx(struct net_device *dev, u32 status, int budget); 1226 static int gt64240_poll(struct net_device *netdev, int *budget) in gt64240_poll() argument 1239 orig_budget = *budget; in gt64240_poll() 1244 *budget -= work_done; in gt64240_poll() 1362 gt64240_rx(struct net_device *dev, u32 status, int budget) in gt64240_rx() argument 1385 if (budget <= 0) in gt64240_rx() 1388 budget--; in gt64240_rx()
|
D | sundance.c | 482 int budget; member 1202 if (np->budget < 0) in intr_handler() 1203 np->budget = RX_BUDGET; in intr_handler() 1311 int boguscnt = np->budget; in rx_poll() 1382 np->budget -= received; in rx_poll() 1391 np->budget -= received; in rx_poll() 1392 if (np->budget <= 0) in rx_poll() 1393 np->budget = RX_BUDGET; in rx_poll()
|
D | mv64340_eth.c | 87 static int mv64340_poll(struct net_device *dev, int *budget); 442 int budget) argument 464 budget > 0) { 473 budget--; 1026 static int mv64340_poll(struct net_device *netdev, int *budget) argument 1044 orig_budget = *budget; 1049 *budget -= work_done;
|
D | titan_ge.c | 127 static int titan_ge_poll(struct net_device *netdev, int *budget); 1714 static int titan_ge_poll(struct net_device *netdev, int *budget) argument 1721 titan_ge_eth->rx_work_limit = *budget; 1756 *budget -= work_done; 1774 *budget -= work_done;
|
D | ibmveth.c | 88 static int ibmveth_poll(struct net_device *dev, int *budget); 701 static int ibmveth_poll(struct net_device *netdev, int *budget) in ibmveth_poll() argument 749 *budget -= frames_processed; in ibmveth_poll() 768 *budget -= frames_processed; in ibmveth_poll()
|
D | typhoon.c | 1667 volatile u32 * cleared, int budget) in typhoon_rx() argument 1683 while(rxaddr != local_ready && budget > 0) { in typhoon_rx() 1737 budget--; in typhoon_rx() 1764 int budget, work_done, done; in typhoon_poll() local 1776 budget = orig_budget; in typhoon_poll() 1782 &indexes->rxHiCleared, budget); in typhoon_poll() 1783 budget -= work_done; in typhoon_poll() 1788 &indexes->rxLoCleared, budget); in typhoon_poll()
|
D | dl2k.c | 788 if (np->budget < 0) { in rio_interrupt() 789 np->budget = RX_BUDGET; in rio_interrupt() 939 int cnt = np->budget; in rx_poll() 1010 np->budget -= received; in rx_poll() 1018 np->budget -= received; in rx_poll() 1019 if (np->budget <= 0) in rx_poll() 1020 np->budget = RX_BUDGET; in rx_poll()
|
D | b44.c | 678 static int b44_rx(struct b44 *bp, int budget) in b44_rx() argument 688 while (cons != prod && budget > 0) { in b44_rx() 755 budget--; in b44_rx() 768 static int b44_poll(struct net_device *netdev, int *budget) in b44_poll() argument 784 int orig_budget = *budget; in b44_poll() 792 *budget -= work_done; in b44_poll()
|
D | dl2k.h | 686 int budget; member
|
D | 8139cp.c | 516 static int cp_rx_poll (struct net_device *dev, int *budget) in cp_rx_poll() argument 614 *budget -= rx; in cp_rx_poll()
|
D | skge.c | 2675 static int skge_poll(struct net_device *dev, int *budget) in skge_poll() argument 2681 int to_do = min(dev->quota, *budget); in skge_poll() 2710 *budget -= work_done; in skge_poll()
|
D | tg3.c | 2721 static int tg3_rx(struct tg3 *tp, int budget) in tg3_rx() argument 2736 while (sw_idx != hw_idx && budget > 0) { in tg3_rx() 2832 budget--; in tg3_rx() 2866 static int tg3_poll(struct net_device *netdev, int *budget) in tg3_poll() argument 2900 int orig_budget = *budget; in tg3_poll() 2908 *budget -= work_done; in tg3_poll()
|
/linux-2.4.37.9/net/ipv4/ |
D | tcp_timer.c | 474 int i, budget; in tcp_synack_timer() local 510 budget = 2*(TCP_SYNQ_HSIZE/(TCP_TIMEOUT_INIT/TCP_SYNQ_INTERVAL)); in tcp_synack_timer() 546 } while (--budget > 0); in tcp_synack_timer()
|
/linux-2.4.37.9/net/core/ |
D | dev.c | 1543 static int process_backlog(struct net_device *backlog_dev, int *budget) in process_backlog() argument 1546 int quota = min(backlog_dev->quota, *budget); in process_backlog() 1584 *budget -= work; in process_backlog() 1589 *budget -= work; in process_backlog() 1611 int budget = netdev_max_backlog; in net_rx_action() local 1619 if (budget <= 0 || jiffies - start_time > 1) in net_rx_action() 1626 if (dev->quota <= 0 || dev->poll(dev, &budget)) { in net_rx_action()
|
/linux-2.4.37.9/Documentation/networking/ |
D | NAPI_HOWTO.txt | 179 int my_poll(struct net_device *dev, int *budget) 181 budget is the remaining number of packets the network subsystem on the 183 *Each driver is responsible for decrementing budget by the total number of 433 static void my_poll (struct net_device *dev, int *budget) 523 *budget -= received; 559 *budget -= received;
|
/linux-2.4.37.9/drivers/net/e1000/ |
D | e1000_main.c | 176 static int e1000_clean(struct net_device *poll_dev, int *budget); 3742 e1000_clean(struct net_device *poll_dev, int *budget) argument 3745 int work_to_do = min(*budget, poll_dev->quota); 3768 *budget -= work_done;
|