napi 4631 drivers/crypto/caam/caamalg_qi2.c napi_schedule_irqoff(&ppriv->napi); napi 4844 drivers/crypto/caam/caamalg_qi2.c static int dpaa2_dpseci_poll(struct napi_struct *napi, int budget) napi 4850 drivers/crypto/caam/caamalg_qi2.c ppriv = container_of(napi, struct dpaa2_caam_priv_per_cpu, napi); napi 4871 drivers/crypto/caam/caamalg_qi2.c napi_complete_done(napi, cleaned); napi 5036 drivers/crypto/caam/caamalg_qi2.c netif_napi_add(&ppriv->net_dev, &ppriv->napi, dpaa2_dpseci_poll, napi 5059 drivers/crypto/caam/caamalg_qi2.c napi_enable(&ppriv->napi); napi 5088 drivers/crypto/caam/caamalg_qi2.c napi_disable(&ppriv->napi); napi 5089 drivers/crypto/caam/caamalg_qi2.c netif_napi_del(&ppriv->napi); napi 84 drivers/crypto/caam/caamalg_qi2.h struct napi_struct napi; napi 473 drivers/crypto/caam/qi.c static int caam_qi_poll(struct napi_struct *napi, int budget) napi 475 drivers/crypto/caam/qi.c struct caam_napi *np = container_of(napi, struct caam_napi, irqtask); napi 480 drivers/crypto/caam/qi.c napi_complete(napi); napi 106 drivers/infiniband/hw/hfi1/vnic.h struct napi_struct napi; napi 501 drivers/infiniband/hw/hfi1/vnic_main.c napi_gro_receive(&rxq->napi, skb); napi 507 drivers/infiniband/hw/hfi1/vnic_main.c static int hfi1_vnic_napi(struct napi_struct *napi, int budget) napi 509 drivers/infiniband/hw/hfi1/vnic_main.c struct hfi1_vnic_rx_queue *rxq = container_of(napi, napi 510 drivers/infiniband/hw/hfi1/vnic_main.c struct hfi1_vnic_rx_queue, napi); napi 519 drivers/infiniband/hw/hfi1/vnic_main.c napi_complete(napi); napi 585 drivers/infiniband/hw/hfi1/vnic_main.c if (napi_schedule_prep(&rxq->napi)) { napi 587 drivers/infiniband/hw/hfi1/vnic_main.c __napi_schedule(&rxq->napi); napi 609 drivers/infiniband/hw/hfi1/vnic_main.c napi_enable(&rxq->napi); napi 636 drivers/infiniband/hw/hfi1/vnic_main.c napi_disable(&rxq->napi); napi 844 drivers/infiniband/hw/hfi1/vnic_main.c netif_napi_add(netdev, &rxq->napi, hfi1_vnic_napi, 64); napi 481 drivers/infiniband/ulp/ipoib/ipoib.h int ipoib_rx_poll(struct napi_struct *napi, int budget); napi 482 drivers/infiniband/ulp/ipoib/ipoib.h int ipoib_tx_poll(struct napi_struct *napi, int budget); napi 450 drivers/infiniband/ulp/ipoib/ipoib_ib.c int ipoib_rx_poll(struct napi_struct *napi, int budget) napi 453 drivers/infiniband/ulp/ipoib/ipoib_ib.c container_of(napi, struct ipoib_dev_priv, recv_napi); napi 487 drivers/infiniband/ulp/ipoib/ipoib_ib.c napi_complete(napi); napi 491 drivers/infiniband/ulp/ipoib/ipoib_ib.c napi_reschedule(napi)) napi 498 drivers/infiniband/ulp/ipoib/ipoib_ib.c int ipoib_tx_poll(struct napi_struct *napi, int budget) napi 500 drivers/infiniband/ulp/ipoib/ipoib_ib.c struct ipoib_dev_priv *priv = container_of(napi, struct ipoib_dev_priv, napi 518 drivers/infiniband/ulp/ipoib/ipoib_ib.c napi_complete(napi); napi 521 drivers/infiniband/ulp/ipoib/ipoib_ib.c napi_reschedule(napi)) napi 111 drivers/net/caif/caif_virtio.c struct napi_struct napi; napi 250 drivers/net/caif/caif_virtio.c static int cfv_rx_poll(struct napi_struct *napi, int quota) napi 252 drivers/net/caif/caif_virtio.c struct cfv_info *cfv = container_of(napi, struct cfv_info, napi); napi 319 drivers/net/caif/caif_virtio.c napi_complete(napi); napi 321 drivers/net/caif/caif_virtio.c napi_schedule_prep(napi)) { napi 323 drivers/net/caif/caif_virtio.c __napi_schedule(napi); napi 331 drivers/net/caif/caif_virtio.c napi_complete(napi); napi 339 drivers/net/caif/caif_virtio.c napi_complete(napi); napi 356 drivers/net/caif/caif_virtio.c napi_schedule(&cfv->napi); napi 446 drivers/net/caif/caif_virtio.c napi_enable(&cfv->napi); napi 449 drivers/net/caif/caif_virtio.c napi_schedule(&cfv->napi); napi 464 drivers/net/caif/caif_virtio.c napi_disable(&cfv->napi); napi 717 drivers/net/caif/caif_virtio.c netif_napi_add(netdev, &cfv->napi, cfv_rx_poll, CFV_DEFAULT_QUOTA); napi 127 drivers/net/can/at91_can.c struct napi_struct napi; napi 789 drivers/net/can/at91_can.c static int at91_poll(struct napi_struct *napi, int quota) napi 791 drivers/net/can/at91_can.c struct net_device *dev = napi->dev; napi 812 drivers/net/can/at91_can.c napi_complete_done(napi, work_done); napi 1085 drivers/net/can/at91_can.c napi_schedule(&priv->napi); napi 1123 drivers/net/can/at91_can.c napi_enable(&priv->napi); napi 1144 drivers/net/can/at91_can.c napi_disable(&priv->napi); napi 1335 drivers/net/can/at91_can.c netif_napi_add(dev, &priv->napi, at91_poll, get_mb_rx_num(priv)); napi 1064 drivers/net/can/c_can/c_can.c static int c_can_poll(struct napi_struct *napi, int quota) napi 1066 drivers/net/can/c_can/c_can.c struct net_device *dev = napi->dev; napi 1124 drivers/net/can/c_can/c_can.c napi_complete_done(napi, work_done); napi 1149 drivers/net/can/c_can/c_can.c napi_schedule(&priv->napi); napi 1184 drivers/net/can/c_can/c_can.c napi_enable(&priv->napi); napi 1206 drivers/net/can/c_can/c_can.c napi_disable(&priv->napi); napi 1229 drivers/net/can/c_can/c_can.c netif_napi_add(dev, &priv->napi, c_can_poll, C_CAN_NAPI_WEIGHT); napi 1323 drivers/net/can/c_can/c_can.c netif_napi_del(&priv->napi); napi 197 drivers/net/can/c_can/c_can.h struct napi_struct napi; napi 251 drivers/net/can/grcan.c struct napi_struct napi; napi 458 drivers/net/can/grcan.c static int grcan_poll(struct napi_struct *napi, int budget); napi 790 drivers/net/can/grcan.c napi_schedule(&priv->napi); napi 1083 drivers/net/can/grcan.c napi_enable(&priv->napi); napi 1110 drivers/net/can/grcan.c napi_disable(&priv->napi); napi 1236 drivers/net/can/grcan.c static int grcan_poll(struct napi_struct *napi, int budget) napi 1238 drivers/net/can/grcan.c struct grcan_priv *priv = container_of(napi, struct grcan_priv, napi); napi 1255 drivers/net/can/grcan.c napi_complete(napi); napi 1629 drivers/net/can/grcan.c netif_napi_add(dev, &priv->napi, grcan_poll, GRCAN_NAPI_WEIGHT); napi 1714 drivers/net/can/grcan.c netif_napi_del(&priv->napi); napi 221 drivers/net/can/ifi_canfd/ifi_canfd.c struct napi_struct napi; napi 569 drivers/net/can/ifi_canfd/ifi_canfd.c static int ifi_canfd_poll(struct napi_struct *napi, int quota) napi 571 drivers/net/can/ifi_canfd/ifi_canfd.c struct net_device *ndev = napi->dev; napi 592 drivers/net/can/ifi_canfd/ifi_canfd.c napi_complete_done(napi, work_done); napi 627 drivers/net/can/ifi_canfd/ifi_canfd.c napi_schedule(&priv->napi); napi 839 drivers/net/can/ifi_canfd/ifi_canfd.c napi_enable(&priv->napi); napi 853 drivers/net/can/ifi_canfd/ifi_canfd.c napi_disable(&priv->napi); napi 981 drivers/net/can/ifi_canfd/ifi_canfd.c netif_napi_add(ndev, &priv->napi, ifi_canfd_poll, 64); napi 220 drivers/net/can/janz-ican3.c struct napi_struct napi; napi 1445 drivers/net/can/janz-ican3.c static int ican3_napi(struct napi_struct *napi, int budget) napi 1447 drivers/net/can/janz-ican3.c struct ican3_dev *mod = container_of(napi, struct ican3_dev, napi); napi 1474 drivers/net/can/janz-ican3.c napi_complete_done(napi, received); napi 1507 drivers/net/can/janz-ican3.c napi_schedule(&mod->napi); napi 1912 drivers/net/can/janz-ican3.c netif_napi_add(ndev, &mod->napi, ican3_napi, ICAN3_RX_BUFFERS); napi 1986 drivers/net/can/janz-ican3.c napi_enable(&mod->napi); napi 2004 drivers/net/can/janz-ican3.c napi_disable(&mod->napi); napi 2024 drivers/net/can/janz-ican3.c napi_disable(&mod->napi); napi 856 drivers/net/can/m_can/m_can.c static int m_can_poll(struct napi_struct *napi, int quota) napi 858 drivers/net/can/m_can/m_can.c struct net_device *dev = napi->dev; napi 864 drivers/net/can/m_can/m_can.c napi_complete_done(napi, work_done); napi 936 drivers/net/can/m_can/m_can.c napi_schedule(&cdev->napi); napi 1301 drivers/net/can/m_can/m_can.c netif_napi_add(dev, &m_can_dev->napi, napi 1380 drivers/net/can/m_can/m_can.c napi_disable(&cdev->napi); napi 1621 drivers/net/can/m_can/m_can.c napi_enable(&cdev->napi); napi 74 drivers/net/can/m_can/m_can.h struct napi_struct napi; napi 378 drivers/net/can/mscan/mscan.c static int mscan_rx_poll(struct napi_struct *napi, int quota) napi 380 drivers/net/can/mscan/mscan.c struct mscan_priv *priv = container_of(napi, struct mscan_priv, napi); napi 381 drivers/net/can/mscan/mscan.c struct net_device *dev = napi->dev; napi 415 drivers/net/can/mscan/mscan.c if (likely(napi_complete_done(&priv->napi, work_done))) { napi 476 drivers/net/can/mscan/mscan.c napi_schedule(&priv->napi); napi 559 drivers/net/can/mscan/mscan.c napi_enable(&priv->napi); napi 583 drivers/net/can/mscan/mscan.c napi_disable(&priv->napi); napi 601 drivers/net/can/mscan/mscan.c napi_disable(&priv->napi); napi 687 drivers/net/can/mscan/mscan.c netif_napi_add(dev, &priv->napi, mscan_rx_poll, 8); napi 285 drivers/net/can/mscan/mscan.h struct napi_struct napi; napi 169 drivers/net/can/pch_can.c struct napi_struct napi; napi 578 drivers/net/can/pch_can.c napi_schedule(&priv->napi); napi 726 drivers/net/can/pch_can.c static int pch_can_poll(struct napi_struct *napi, int quota) napi 728 drivers/net/can/pch_can.c struct net_device *ndev = napi->dev; napi 766 drivers/net/can/pch_can.c napi_complete(napi); napi 854 drivers/net/can/pch_can.c napi_enable(&priv->napi); napi 872 drivers/net/can/pch_can.c napi_disable(&priv->napi); napi 1221 drivers/net/can/pch_can.c netif_napi_add(ndev, &priv->napi, pch_can_poll, PCH_RX_OBJ_END); napi 93 drivers/net/can/rcar/rcar_can.c struct napi_struct napi; napi 416 drivers/net/can/rcar/rcar_can.c if (napi_schedule_prep(&priv->napi)) { napi 420 drivers/net/can/rcar/rcar_can.c __napi_schedule(&priv->napi); napi 531 drivers/net/can/rcar/rcar_can.c napi_enable(&priv->napi); napi 543 drivers/net/can/rcar/rcar_can.c napi_disable(&priv->napi); napi 584 drivers/net/can/rcar/rcar_can.c napi_disable(&priv->napi); napi 678 drivers/net/can/rcar/rcar_can.c static int rcar_can_rx_poll(struct napi_struct *napi, int quota) napi 680 drivers/net/can/rcar/rcar_can.c struct rcar_can_priv *priv = container_of(napi, napi 681 drivers/net/can/rcar/rcar_can.c struct rcar_can_priv, napi); napi 703 drivers/net/can/rcar/rcar_can.c napi_complete_done(napi, num_pkts); napi 812 drivers/net/can/rcar/rcar_can.c netif_napi_add(ndev, &priv->napi, rcar_can_rx_poll, napi 827 drivers/net/can/rcar/rcar_can.c netif_napi_del(&priv->napi); napi 840 drivers/net/can/rcar/rcar_can.c netif_napi_del(&priv->napi); napi 498 drivers/net/can/rcar/rcar_canfd.c struct napi_struct napi; napi 1097 drivers/net/can/rcar/rcar_canfd.c if (napi_schedule_prep(&priv->napi)) { napi 1102 drivers/net/can/rcar/rcar_canfd.c __napi_schedule(&priv->napi); napi 1280 drivers/net/can/rcar/rcar_canfd.c napi_enable(&priv->napi); napi 1288 drivers/net/can/rcar/rcar_canfd.c napi_disable(&priv->napi); napi 1331 drivers/net/can/rcar/rcar_canfd.c napi_disable(&priv->napi); napi 1486 drivers/net/can/rcar/rcar_canfd.c static int rcar_canfd_rx_poll(struct napi_struct *napi, int quota) napi 1489 drivers/net/can/rcar/rcar_canfd.c container_of(napi, struct rcar_canfd_channel, napi); napi 1511 drivers/net/can/rcar/rcar_canfd.c if (napi_complete_done(napi, num_pkts)) { napi 1599 drivers/net/can/rcar/rcar_canfd.c netif_napi_add(ndev, &priv->napi, rcar_canfd_rx_poll, napi 1614 drivers/net/can/rcar/rcar_canfd.c netif_napi_del(&priv->napi); napi 1626 drivers/net/can/rcar/rcar_canfd.c netif_napi_del(&priv->napi); napi 37 drivers/net/can/rx-offload.c static int can_rx_offload_napi_poll(struct napi_struct *napi, int quota) napi 39 drivers/net/can/rx-offload.c struct can_rx_offload *offload = container_of(napi, struct can_rx_offload, napi); napi 56 drivers/net/can/rx-offload.c napi_complete_done(napi, work_done); napi 60 drivers/net/can/rx-offload.c napi_reschedule(&offload->napi); napi 341 drivers/net/can/rx-offload.c netif_napi_add(dev, &offload->napi, can_rx_offload_napi_poll, weight); napi 381 drivers/net/can/rx-offload.c napi_enable(&offload->napi); napi 387 drivers/net/can/rx-offload.c netif_napi_del(&offload->napi); napi 203 drivers/net/can/xilinx_can.c struct napi_struct napi; napi 1182 drivers/net/can/xilinx_can.c static int xcan_rx_poll(struct napi_struct *napi, int quota) napi 1184 drivers/net/can/xilinx_can.c struct net_device *ndev = napi->dev; napi 1215 drivers/net/can/xilinx_can.c napi_complete_done(napi, work_done); napi 1350 drivers/net/can/xilinx_can.c napi_schedule(&priv->napi); napi 1416 drivers/net/can/xilinx_can.c napi_enable(&priv->napi); napi 1442 drivers/net/can/xilinx_can.c napi_disable(&priv->napi); napi 1796 drivers/net/can/xilinx_can.c netif_napi_add(ndev, &priv->napi, xcan_rx_poll, rx_max); napi 1843 drivers/net/can/xilinx_can.c netif_napi_del(&priv->napi); napi 277 drivers/net/ethernet/3com/typhoon.c struct napi_struct napi; napi 1724 drivers/net/ethernet/3com/typhoon.c typhoon_poll(struct napi_struct *napi, int budget) napi 1726 drivers/net/ethernet/3com/typhoon.c struct typhoon *tp = container_of(napi, struct typhoon, napi); napi 1755 drivers/net/ethernet/3com/typhoon.c napi_complete_done(napi, work_done); napi 1778 drivers/net/ethernet/3com/typhoon.c if (napi_schedule_prep(&tp->napi)) { napi 1781 drivers/net/ethernet/3com/typhoon.c __napi_schedule(&tp->napi); napi 2064 drivers/net/ethernet/3com/typhoon.c napi_enable(&tp->napi); napi 2068 drivers/net/ethernet/3com/typhoon.c napi_disable(&tp->napi); napi 2098 drivers/net/ethernet/3com/typhoon.c napi_disable(&tp->napi); napi 2440 drivers/net/ethernet/3com/typhoon.c netif_napi_add(dev, &tp->napi, typhoon_poll, 16); napi 547 drivers/net/ethernet/adaptec/starfire.c struct napi_struct napi; napi 585 drivers/net/ethernet/adaptec/starfire.c static int netdev_poll(struct napi_struct *napi, int budget); napi 788 drivers/net/ethernet/adaptec/starfire.c netif_napi_add(dev, &np->napi, netdev_poll, max_interrupt_work); napi 989 drivers/net/ethernet/adaptec/starfire.c napi_enable(&np->napi); napi 1336 drivers/net/ethernet/adaptec/starfire.c if (likely(napi_schedule_prep(&np->napi))) { napi 1337 drivers/net/ethernet/adaptec/starfire.c __napi_schedule(&np->napi); napi 1560 drivers/net/ethernet/adaptec/starfire.c static int netdev_poll(struct napi_struct *napi, int budget) napi 1562 drivers/net/ethernet/adaptec/starfire.c struct netdev_private *np = container_of(napi, struct netdev_private, napi); napi 1577 drivers/net/ethernet/adaptec/starfire.c napi_complete(napi); napi 1942 drivers/net/ethernet/adaptec/starfire.c napi_disable(&np->napi); napi 364 drivers/net/ethernet/aeroflex/greth.c napi_enable(&greth->napi); napi 377 drivers/net/ethernet/aeroflex/greth.c napi_disable(&greth->napi); napi 609 drivers/net/ethernet/aeroflex/greth.c napi_schedule(&greth->napi); napi 969 drivers/net/ethernet/aeroflex/greth.c static int greth_poll(struct napi_struct *napi, int budget) napi 975 drivers/net/ethernet/aeroflex/greth.c greth = container_of(napi, struct greth_private, napi); napi 1008 drivers/net/ethernet/aeroflex/greth.c napi_complete_done(napi, work_done); napi 1512 drivers/net/ethernet/aeroflex/greth.c netif_napi_add(dev, &greth->napi, greth_poll, 64); napi 124 drivers/net/ethernet/aeroflex/greth.h struct napi_struct napi; napi 445 drivers/net/ethernet/agere/et131x.c struct napi_struct napi; napi 3301 drivers/net/ethernet/agere/et131x.c netif_napi_del(&adapter->napi); napi 3413 drivers/net/ethernet/agere/et131x.c napi_schedule(&adapter->napi); napi 3561 drivers/net/ethernet/agere/et131x.c static int et131x_poll(struct napi_struct *napi, int budget) napi 3564 drivers/net/ethernet/agere/et131x.c container_of(napi, struct et131x_adapter, napi); napi 3570 drivers/net/ethernet/agere/et131x.c napi_complete_done(&adapter->napi, work_done); napi 3633 drivers/net/ethernet/agere/et131x.c napi_enable(&adapter->napi); napi 3645 drivers/net/ethernet/agere/et131x.c napi_disable(&adapter->napi); napi 3984 drivers/net/ethernet/agere/et131x.c netif_napi_add(netdev, &adapter->napi, et131x_poll, 64); napi 544 drivers/net/ethernet/alacritech/slic.h struct napi_struct napi; napi 609 drivers/net/ethernet/alacritech/slicoss.c napi_gro_receive(&sdev->napi, skb); napi 711 drivers/net/ethernet/alacritech/slicoss.c static int slic_poll(struct napi_struct *napi, int todo) napi 713 drivers/net/ethernet/alacritech/slicoss.c struct slic_device *sdev = container_of(napi, struct slic_device, napi); napi 722 drivers/net/ethernet/alacritech/slicoss.c napi_complete_done(napi, done); napi 753 drivers/net/ethernet/alacritech/slicoss.c napi_schedule_irqoff(&sdev->napi); napi 1305 drivers/net/ethernet/alacritech/slicoss.c napi_enable(&sdev->napi); napi 1337 drivers/net/ethernet/alacritech/slicoss.c napi_disable(&sdev->napi); napi 1376 drivers/net/ethernet/alacritech/slicoss.c napi_disable(&sdev->napi); napi 1808 drivers/net/ethernet/alacritech/slicoss.c netif_napi_add(dev, &sdev->napi, slic_poll, SLIC_NAPI_WEIGHT); napi 409 drivers/net/ethernet/altera/altera_tse.h struct napi_struct napi; napi 429 drivers/net/ethernet/altera/altera_tse_main.c napi_gro_receive(&priv->napi, skb); napi 492 drivers/net/ethernet/altera/altera_tse_main.c static int tse_poll(struct napi_struct *napi, int budget) napi 495 drivers/net/ethernet/altera/altera_tse_main.c container_of(napi, struct altera_tse_private, napi); napi 505 drivers/net/ethernet/altera/altera_tse_main.c napi_complete_done(napi, rxcomplete); napi 538 drivers/net/ethernet/altera/altera_tse_main.c if (likely(napi_schedule_prep(&priv->napi))) { napi 543 drivers/net/ethernet/altera/altera_tse_main.c __napi_schedule(&priv->napi); napi 1238 drivers/net/ethernet/altera/altera_tse_main.c napi_enable(&priv->napi); napi 1272 drivers/net/ethernet/altera/altera_tse_main.c napi_disable(&priv->napi); napi 1565 drivers/net/ethernet/altera/altera_tse_main.c netif_napi_add(ndev, &priv->napi, tse_poll, NAPI_POLL_WEIGHT); napi 1599 drivers/net/ethernet/altera/altera_tse_main.c netif_napi_del(&priv->napi); napi 157 drivers/net/ethernet/amazon/ena/ena_netdev.c ring->napi = &adapter->ena_napi[qid].napi; napi 845 drivers/net/ethernet/amazon/ena/ena_netdev.c skb = napi_get_frags(rx_ring->napi); napi 1047 drivers/net/ethernet/amazon/ena/ena_netdev.c static int ena_clean_rx_irq(struct ena_ring *rx_ring, struct napi_struct *napi, napi 1110 drivers/net/ethernet/amazon/ena/ena_netdev.c napi_gro_receive(napi, skb); napi 1113 drivers/net/ethernet/amazon/ena/ena_netdev.c napi_gro_frags(napi); napi 1236 drivers/net/ethernet/amazon/ena/ena_netdev.c static int ena_io_poll(struct napi_struct *napi, int budget) napi 1238 drivers/net/ethernet/amazon/ena/ena_netdev.c struct ena_napi *ena_napi = container_of(napi, struct ena_napi, napi); napi 1254 drivers/net/ethernet/amazon/ena/ena_netdev.c napi_complete_done(napi, 0); napi 1263 drivers/net/ethernet/amazon/ena/ena_netdev.c rx_work_done = ena_clean_rx_irq(rx_ring, napi, budget); napi 1270 drivers/net/ethernet/amazon/ena/ena_netdev.c napi_complete_done(napi, 0); napi 1279 drivers/net/ethernet/amazon/ena/ena_netdev.c if (napi_complete_done(napi, rx_work_done)) { napi 1328 drivers/net/ethernet/amazon/ena/ena_netdev.c napi_schedule_irqoff(&ena_napi->napi); napi 1537 drivers/net/ethernet/amazon/ena/ena_netdev.c netif_napi_del(&adapter->ena_napi[i].napi); napi 1542 drivers/net/ethernet/amazon/ena/ena_netdev.c struct ena_napi *napi; napi 1546 drivers/net/ethernet/amazon/ena/ena_netdev.c napi = &adapter->ena_napi[i]; napi 1549 drivers/net/ethernet/amazon/ena/ena_netdev.c &adapter->ena_napi[i].napi, napi 1552 drivers/net/ethernet/amazon/ena/ena_netdev.c napi->rx_ring = &adapter->rx_ring[i]; napi 1553 drivers/net/ethernet/amazon/ena/ena_netdev.c napi->tx_ring = &adapter->tx_ring[i]; napi 1554 drivers/net/ethernet/amazon/ena/ena_netdev.c napi->qid = i; napi 1563 drivers/net/ethernet/amazon/ena/ena_netdev.c napi_disable(&adapter->ena_napi[i].napi); napi 1571 drivers/net/ethernet/amazon/ena/ena_netdev.c napi_enable(&adapter->ena_napi[i].napi); napi 1917 drivers/net/ethernet/amazon/ena/ena_netdev.c napi_schedule(&adapter->ena_napi[i].napi); napi 3018 drivers/net/ethernet/amazon/ena/ena_netdev.c napi_schedule(rx_ring->napi); napi 155 drivers/net/ethernet/amazon/ena/ena_netdev.h struct napi_struct napi ____cacheline_aligned; napi 255 drivers/net/ethernet/amazon/ena/ena_netdev.h struct napi_struct *napi; napi 677 drivers/net/ethernet/amd/amd8111e.c static int amd8111e_rx_poll(struct napi_struct *napi, int budget) napi 679 drivers/net/ethernet/amd/amd8111e.c struct amd8111e_priv *lp = container_of(napi, struct amd8111e_priv, napi); napi 758 drivers/net/ethernet/amd/amd8111e.c napi_gro_receive(napi, skb); napi 774 drivers/net/ethernet/amd/amd8111e.c if (num_rx_pkt < budget && napi_complete_done(napi, num_rx_pkt)) { napi 1113 drivers/net/ethernet/amd/amd8111e.c if (napi_schedule_prep(&lp->napi)) { napi 1117 drivers/net/ethernet/amd/amd8111e.c __napi_schedule(&lp->napi); napi 1165 drivers/net/ethernet/amd/amd8111e.c napi_disable(&lp->napi); napi 1202 drivers/net/ethernet/amd/amd8111e.c napi_enable(&lp->napi); napi 1210 drivers/net/ethernet/amd/amd8111e.c napi_disable(&lp->napi); napi 1841 drivers/net/ethernet/amd/amd8111e.c netif_napi_add(dev, &lp->napi, amd8111e_rx_poll, 32); napi 752 drivers/net/ethernet/amd/amd8111e.h struct napi_struct napi; napi 288 drivers/net/ethernet/amd/pcnet32.c struct napi_struct napi; napi 455 drivers/net/ethernet/amd/pcnet32.c napi_disable(&lp->napi); napi 469 drivers/net/ethernet/amd/pcnet32.c napi_enable(&lp->napi); napi 923 drivers/net/ethernet/amd/pcnet32.c lp->napi.weight = lp->rx_ring_size / 2; napi 1397 drivers/net/ethernet/amd/pcnet32.c static int pcnet32_poll(struct napi_struct *napi, int budget) napi 1399 drivers/net/ethernet/amd/pcnet32.c struct pcnet32_private *lp = container_of(napi, struct pcnet32_private, napi); napi 1417 drivers/net/ethernet/amd/pcnet32.c if (work_done < budget && napi_complete_done(napi, work_done)) { napi 1885 drivers/net/ethernet/amd/pcnet32.c lp->napi.weight = lp->rx_ring_size / 2; napi 1887 drivers/net/ethernet/amd/pcnet32.c netif_napi_add(dev, &lp->napi, pcnet32_poll, lp->rx_ring_size / 2); napi 2275 drivers/net/ethernet/amd/pcnet32.c napi_enable(&lp->napi); napi 2605 drivers/net/ethernet/amd/pcnet32.c if (napi_schedule_prep(&lp->napi)) { napi 2612 drivers/net/ethernet/amd/pcnet32.c __napi_schedule(&lp->napi); napi 2636 drivers/net/ethernet/amd/pcnet32.c napi_disable(&lp->napi); napi 512 drivers/net/ethernet/amd/xgbe/xgbe-drv.c if (napi_schedule_prep(&pdata->napi)) { napi 517 drivers/net/ethernet/amd/xgbe/xgbe-drv.c __napi_schedule(&pdata->napi); napi 624 drivers/net/ethernet/amd/xgbe/xgbe-drv.c if (napi_schedule_prep(&channel->napi)) { napi 632 drivers/net/ethernet/amd/xgbe/xgbe-drv.c __napi_schedule_irqoff(&channel->napi); napi 648 drivers/net/ethernet/amd/xgbe/xgbe-drv.c struct napi_struct *napi; napi 652 drivers/net/ethernet/amd/xgbe/xgbe-drv.c napi = (pdata->per_channel_irq) ? &channel->napi : &pdata->napi; napi 654 drivers/net/ethernet/amd/xgbe/xgbe-drv.c if (napi_schedule_prep(napi)) { napi 665 drivers/net/ethernet/amd/xgbe/xgbe-drv.c __napi_schedule(napi); napi 1026 drivers/net/ethernet/amd/xgbe/xgbe-drv.c netif_napi_add(pdata->netdev, &channel->napi, napi 1029 drivers/net/ethernet/amd/xgbe/xgbe-drv.c napi_enable(&channel->napi); napi 1033 drivers/net/ethernet/amd/xgbe/xgbe-drv.c netif_napi_add(pdata->netdev, &pdata->napi, napi 1036 drivers/net/ethernet/amd/xgbe/xgbe-drv.c napi_enable(&pdata->napi); napi 1048 drivers/net/ethernet/amd/xgbe/xgbe-drv.c napi_disable(&channel->napi); napi 1051 drivers/net/ethernet/amd/xgbe/xgbe-drv.c netif_napi_del(&channel->napi); napi 1054 drivers/net/ethernet/amd/xgbe/xgbe-drv.c napi_disable(&pdata->napi); napi 1057 drivers/net/ethernet/amd/xgbe/xgbe-drv.c netif_napi_del(&pdata->napi); napi 2549 drivers/net/ethernet/amd/xgbe/xgbe-drv.c struct napi_struct *napi, napi 2556 drivers/net/ethernet/amd/xgbe/xgbe-drv.c skb = napi_alloc_skb(napi, rdata->rx.hdr.dma_len); napi 2691 drivers/net/ethernet/amd/xgbe/xgbe-drv.c struct napi_struct *napi; napi 2708 drivers/net/ethernet/amd/xgbe/xgbe-drv.c napi = (pdata->per_channel_irq) ? &channel->napi : &pdata->napi; napi 2768 drivers/net/ethernet/amd/xgbe/xgbe-drv.c skb = xgbe_create_skb(pdata, napi, rdata, napi 2853 drivers/net/ethernet/amd/xgbe/xgbe-drv.c napi_gro_receive(napi, skb); napi 2873 drivers/net/ethernet/amd/xgbe/xgbe-drv.c static int xgbe_one_poll(struct napi_struct *napi, int budget) napi 2875 drivers/net/ethernet/amd/xgbe/xgbe-drv.c struct xgbe_channel *channel = container_of(napi, struct xgbe_channel, napi 2876 drivers/net/ethernet/amd/xgbe/xgbe-drv.c napi); napi 2889 drivers/net/ethernet/amd/xgbe/xgbe-drv.c if ((processed < budget) && napi_complete_done(napi, processed)) { napi 2902 drivers/net/ethernet/amd/xgbe/xgbe-drv.c static int xgbe_all_poll(struct napi_struct *napi, int budget) napi 2904 drivers/net/ethernet/amd/xgbe/xgbe-drv.c struct xgbe_prv_data *pdata = container_of(napi, struct xgbe_prv_data, napi 2905 drivers/net/ethernet/amd/xgbe/xgbe-drv.c napi); napi 2932 drivers/net/ethernet/amd/xgbe/xgbe-drv.c if ((processed < budget) && napi_complete_done(napi, processed)) { napi 510 drivers/net/ethernet/amd/xgbe/xgbe.h struct napi_struct napi; napi 1187 drivers/net/ethernet/amd/xgbe/xgbe.h struct napi_struct napi; napi 133 drivers/net/ethernet/apm/xgene-v2/main.c if (napi_schedule_prep(&pdata->napi)) { napi 135 drivers/net/ethernet/apm/xgene-v2/main.c __napi_schedule(&pdata->napi); napi 333 drivers/net/ethernet/apm/xgene-v2/main.c napi_gro_receive(&pdata->napi, skb); napi 479 drivers/net/ethernet/apm/xgene-v2/main.c napi_enable(&pdata->napi); napi 504 drivers/net/ethernet/apm/xgene-v2/main.c napi_disable(&pdata->napi); napi 510 drivers/net/ethernet/apm/xgene-v2/main.c static int xge_napi(struct napi_struct *napi, const int budget) napi 512 drivers/net/ethernet/apm/xgene-v2/main.c struct net_device *ndev = napi->dev; napi 522 drivers/net/ethernet/apm/xgene-v2/main.c napi_complete_done(napi, processed); napi 589 drivers/net/ethernet/apm/xgene-v2/main.c napi_disable(&pdata->napi); napi 600 drivers/net/ethernet/apm/xgene-v2/main.c napi_enable(&pdata->napi); napi 675 drivers/net/ethernet/apm/xgene-v2/main.c netif_napi_add(ndev, &pdata->napi, xge_napi, NAPI_POLL_WEIGHT); napi 59 drivers/net/ethernet/apm/xgene-v2/main.h struct napi_struct napi; napi 217 drivers/net/ethernet/apm/xgene/xgene_enet_main.c if (napi_schedule_prep(&rx_ring->napi)) { napi 219 drivers/net/ethernet/apm/xgene/xgene_enet_main.c __napi_schedule(&rx_ring->napi); napi 758 drivers/net/ethernet/apm/xgene/xgene_enet_main.c napi_gro_receive(&rx_ring->napi, skb); napi 846 drivers/net/ethernet/apm/xgene/xgene_enet_main.c static int xgene_enet_napi(struct napi_struct *napi, const int budget) napi 851 drivers/net/ethernet/apm/xgene/xgene_enet_main.c ring = container_of(napi, struct xgene_enet_desc_ring, napi); napi 855 drivers/net/ethernet/apm/xgene/xgene_enet_main.c napi_complete_done(napi, processed); napi 959 drivers/net/ethernet/apm/xgene/xgene_enet_main.c struct napi_struct *napi; napi 963 drivers/net/ethernet/apm/xgene/xgene_enet_main.c napi = &pdata->rx_ring[i]->napi; napi 964 drivers/net/ethernet/apm/xgene/xgene_enet_main.c napi_enable(napi); napi 968 drivers/net/ethernet/apm/xgene/xgene_enet_main.c napi = &pdata->tx_ring[i]->cp_ring->napi; napi 969 drivers/net/ethernet/apm/xgene/xgene_enet_main.c napi_enable(napi); napi 975 drivers/net/ethernet/apm/xgene/xgene_enet_main.c struct napi_struct *napi; napi 979 drivers/net/ethernet/apm/xgene/xgene_enet_main.c napi = &pdata->rx_ring[i]->napi; napi 980 drivers/net/ethernet/apm/xgene/xgene_enet_main.c napi_disable(napi); napi 984 drivers/net/ethernet/apm/xgene/xgene_enet_main.c napi = &pdata->tx_ring[i]->cp_ring->napi; napi 985 drivers/net/ethernet/apm/xgene/xgene_enet_main.c napi_disable(napi); napi 1973 drivers/net/ethernet/apm/xgene/xgene_enet_main.c struct napi_struct *napi; napi 1977 drivers/net/ethernet/apm/xgene/xgene_enet_main.c napi = &pdata->rx_ring[i]->napi; napi 1978 drivers/net/ethernet/apm/xgene/xgene_enet_main.c netif_napi_add(pdata->ndev, napi, xgene_enet_napi, napi 1983 drivers/net/ethernet/apm/xgene/xgene_enet_main.c napi = &pdata->tx_ring[i]->cp_ring->napi; napi 1984 drivers/net/ethernet/apm/xgene/xgene_enet_main.c netif_napi_add(pdata->ndev, napi, xgene_enet_napi, napi 121 drivers/net/ethernet/apm/xgene/xgene_enet_main.h struct napi_struct napi; napi 284 drivers/net/ethernet/aquantia/atlantic/aq_ring.c struct napi_struct *napi, napi 363 drivers/net/ethernet/aquantia/atlantic/aq_ring.c skb = napi_alloc_skb(napi, AQ_CFG_RX_HDR_SIZE); napi 433 drivers/net/ethernet/aquantia/atlantic/aq_ring.c napi_gro_receive(napi, skb); napi 172 drivers/net/ethernet/aquantia/atlantic/aq_ring.h struct napi_struct *napi, napi 25 drivers/net/ethernet/aquantia/atlantic/aq_vec.c struct napi_struct napi; napi 32 drivers/net/ethernet/aquantia/atlantic/aq_vec.c static int aq_vec_poll(struct napi_struct *napi, int budget) napi 34 drivers/net/ethernet/aquantia/atlantic/aq_vec.c struct aq_vec_s *self = container_of(napi, struct aq_vec_s, napi); napi 69 drivers/net/ethernet/aquantia/atlantic/aq_vec.c napi, napi 94 drivers/net/ethernet/aquantia/atlantic/aq_vec.c napi_complete_done(napi, work_done); napi 128 drivers/net/ethernet/aquantia/atlantic/aq_vec.c netif_napi_add(aq_nic_get_ndev(aq_nic), &self->napi, napi 230 drivers/net/ethernet/aquantia/atlantic/aq_vec.c napi_enable(&self->napi); napi 250 drivers/net/ethernet/aquantia/atlantic/aq_vec.c napi_disable(&self->napi); napi 283 drivers/net/ethernet/aquantia/atlantic/aq_vec.c netif_napi_del(&self->napi); napi 299 drivers/net/ethernet/aquantia/atlantic/aq_vec.c napi_schedule(&self->napi); napi 320 drivers/net/ethernet/aquantia/atlantic/aq_vec.c napi_schedule(&self->napi); napi 144 drivers/net/ethernet/arc/emac.h struct napi_struct napi; napi 323 drivers/net/ethernet/arc/emac_main.c static int arc_emac_poll(struct napi_struct *napi, int budget) napi 325 drivers/net/ethernet/arc/emac_main.c struct net_device *ndev = napi->dev; napi 334 drivers/net/ethernet/arc/emac_main.c napi_complete_done(napi, work_done); napi 367 drivers/net/ethernet/arc/emac_main.c if (likely(napi_schedule_prep(&priv->napi))) { napi 369 drivers/net/ethernet/arc/emac_main.c __napi_schedule(&priv->napi); napi 382 drivers/net/ethernet/arc/emac_main.c napi_schedule(&priv->napi); napi 493 drivers/net/ethernet/arc/emac_main.c napi_enable(&priv->napi); napi 617 drivers/net/ethernet/arc/emac_main.c napi_disable(&priv->napi); napi 1001 drivers/net/ethernet/arc/emac_main.c netif_napi_add(ndev, &priv->napi, arc_emac_poll, ARC_EMAC_NAPI_WEIGHT); napi 1013 drivers/net/ethernet/arc/emac_main.c netif_napi_del(&priv->napi); napi 1034 drivers/net/ethernet/arc/emac_main.c netif_napi_del(&priv->napi); napi 306 drivers/net/ethernet/atheros/ag71xx.c struct napi_struct napi; napi 1215 drivers/net/ethernet/atheros/ag71xx.c napi_enable(&ag->napi); napi 1230 drivers/net/ethernet/atheros/ag71xx.c napi_disable(&ag->napi); napi 1409 drivers/net/ethernet/atheros/ag71xx.c napi_schedule(&ag->napi); napi 1517 drivers/net/ethernet/atheros/ag71xx.c static int ag71xx_poll(struct napi_struct *napi, int limit) napi 1519 drivers/net/ethernet/atheros/ag71xx.c struct ag71xx *ag = container_of(napi, struct ag71xx, napi); napi 1554 drivers/net/ethernet/atheros/ag71xx.c napi_complete(napi); napi 1570 drivers/net/ethernet/atheros/ag71xx.c napi_complete(napi); napi 1600 drivers/net/ethernet/atheros/ag71xx.c napi_schedule(&ag->napi); napi 1754 drivers/net/ethernet/atheros/ag71xx.c netif_napi_add(ndev, &ag->napi, ag71xx_poll, AG71XX_NAPI_WEIGHT); napi 94 drivers/net/ethernet/atheros/alx/alx.h struct napi_struct napi; napi 278 drivers/net/ethernet/atheros/alx/main.c napi_gro_receive(&rxq->np->napi, skb); napi 297 drivers/net/ethernet/atheros/alx/main.c static int alx_poll(struct napi_struct *napi, int budget) napi 299 drivers/net/ethernet/atheros/alx/main.c struct alx_napi *np = container_of(napi, struct alx_napi, napi); napi 314 drivers/net/ethernet/atheros/alx/main.c napi_complete_done(&np->napi, work); napi 372 drivers/net/ethernet/atheros/alx/main.c napi_schedule(&alx->qnapi[0]->napi); napi 395 drivers/net/ethernet/atheros/alx/main.c napi_schedule(&np->napi); napi 720 drivers/net/ethernet/atheros/alx/main.c netif_napi_del(&np->napi); napi 755 drivers/net/ethernet/atheros/alx/main.c netif_napi_add(alx->dev, &np->napi, alx_poll, 64); napi 1117 drivers/net/ethernet/atheros/alx/main.c napi_disable(&alx->qnapi[i]->napi); napi 1190 drivers/net/ethernet/atheros/alx/main.c napi_enable(&alx->qnapi[i]->napi); napi 508 drivers/net/ethernet/atheros/atl1c/atl1c.h struct napi_struct napi; napi 1604 drivers/net/ethernet/atheros/atl1c/atl1c_main.c if (likely(napi_schedule_prep(&adapter->napi))) { napi 1607 drivers/net/ethernet/atheros/atl1c/atl1c_main.c __napi_schedule(&adapter->napi); napi 1870 drivers/net/ethernet/atheros/atl1c/atl1c_main.c static int atl1c_clean(struct napi_struct *napi, int budget) napi 1873 drivers/net/ethernet/atheros/atl1c/atl1c_main.c container_of(napi, struct atl1c_adapter, napi); napi 1884 drivers/net/ethernet/atheros/atl1c/atl1c_main.c napi_complete_done(napi, work_done); napi 2325 drivers/net/ethernet/atheros/atl1c/atl1c_main.c napi_enable(&adapter->napi); napi 2345 drivers/net/ethernet/atheros/atl1c/atl1c_main.c napi_disable(&adapter->napi); napi 2600 drivers/net/ethernet/atheros/atl1c/atl1c_main.c netif_napi_add(netdev, &adapter->napi, atl1c_clean, 64); napi 422 drivers/net/ethernet/atheros/atl1e/atl1e.h struct napi_struct napi; napi 1341 drivers/net/ethernet/atheros/atl1e/atl1e_main.c &adapter->napi))) napi 1342 drivers/net/ethernet/atheros/atl1e/atl1e_main.c __napi_schedule(&adapter->napi); napi 1465 drivers/net/ethernet/atheros/atl1e/atl1e_main.c napi_gro_receive(&adapter->napi, skb); napi 1503 drivers/net/ethernet/atheros/atl1e/atl1e_main.c static int atl1e_clean(struct napi_struct *napi, int budget) napi 1506 drivers/net/ethernet/atheros/atl1e/atl1e_main.c container_of(napi, struct atl1e_adapter, napi); napi 1519 drivers/net/ethernet/atheros/atl1e/atl1e_main.c napi_complete_done(napi, work_done); napi 1951 drivers/net/ethernet/atheros/atl1e/atl1e_main.c napi_enable(&adapter->napi); napi 1975 drivers/net/ethernet/atheros/atl1e/atl1e_main.c napi_disable(&adapter->napi); napi 2351 drivers/net/ethernet/atheros/atl1e/atl1e_main.c netif_napi_add(netdev, &adapter->napi, atl1e_clean, 64); napi 2426 drivers/net/ethernet/atheros/atlx/atl1.c static int atl1_rings_clean(struct napi_struct *napi, int budget) napi 2428 drivers/net/ethernet/atheros/atlx/atl1.c struct atl1_adapter *adapter = container_of(napi, struct atl1_adapter, napi); napi 2438 drivers/net/ethernet/atheros/atlx/atl1.c napi_complete_done(napi, work_done); napi 2447 drivers/net/ethernet/atheros/atlx/atl1.c if (!napi_schedule_prep(&adapter->napi)) napi 2455 drivers/net/ethernet/atheros/atlx/atl1.c __napi_schedule(&adapter->napi); napi 2625 drivers/net/ethernet/atheros/atlx/atl1.c napi_enable(&adapter->napi); napi 2642 drivers/net/ethernet/atheros/atlx/atl1.c napi_disable(&adapter->napi); napi 2983 drivers/net/ethernet/atheros/atlx/atl1.c netif_napi_add(netdev, &adapter->napi, atl1_rings_clean, 64); napi 753 drivers/net/ethernet/atheros/atlx/atl1.h struct napi_struct napi; napi 187 drivers/net/ethernet/aurora/nb8800.c static int nb8800_alloc_rx(struct net_device *dev, unsigned int i, bool napi) napi 198 drivers/net/ethernet/aurora/nb8800.c data = napi ? napi_alloc_frag(size) : netdev_alloc_frag(size); napi 235 drivers/net/ethernet/aurora/nb8800.c skb = napi_alloc_skb(&priv->napi, size); napi 264 drivers/net/ethernet/aurora/nb8800.c napi_gro_receive(&priv->napi, skb); napi 284 drivers/net/ethernet/aurora/nb8800.c static int nb8800_poll(struct napi_struct *napi, int budget) napi 286 drivers/net/ethernet/aurora/nb8800.c struct net_device *dev = napi->dev; napi 342 drivers/net/ethernet/aurora/nb8800.c napi_complete_done(napi, work); napi 553 drivers/net/ethernet/aurora/nb8800.c napi_schedule_irqoff(&priv->napi); napi 572 drivers/net/ethernet/aurora/nb8800.c napi_schedule_irqoff(&priv->napi); napi 643 drivers/net/ethernet/aurora/nb8800.c napi_disable(&priv->napi); napi 649 drivers/net/ethernet/aurora/nb8800.c napi_enable(&priv->napi); napi 969 drivers/net/ethernet/aurora/nb8800.c napi_enable(&priv->napi); napi 993 drivers/net/ethernet/aurora/nb8800.c napi_disable(&priv->napi); napi 1470 drivers/net/ethernet/aurora/nb8800.c netif_napi_add(dev, &priv->napi, nb8800_poll, NAPI_POLL_WEIGHT); napi 240 drivers/net/ethernet/aurora/nb8800.h struct napi_struct napi; napi 839 drivers/net/ethernet/broadcom/b44.c copy_skb = napi_alloc_skb(&bp->napi, len); napi 866 drivers/net/ethernet/broadcom/b44.c static int b44_poll(struct napi_struct *napi, int budget) napi 868 drivers/net/ethernet/broadcom/b44.c struct b44 *bp = container_of(napi, struct b44, napi); napi 905 drivers/net/ethernet/broadcom/b44.c napi_complete_done(napi, work_done); napi 937 drivers/net/ethernet/broadcom/b44.c if (napi_schedule_prep(&bp->napi)) { napi 943 drivers/net/ethernet/broadcom/b44.c __napi_schedule(&bp->napi); napi 1461 drivers/net/ethernet/broadcom/b44.c napi_enable(&bp->napi); napi 1470 drivers/net/ethernet/broadcom/b44.c napi_disable(&bp->napi); napi 1654 drivers/net/ethernet/broadcom/b44.c napi_disable(&bp->napi); napi 2380 drivers/net/ethernet/broadcom/b44.c netif_napi_add(dev, &bp->napi, b44_poll, 64); napi 2468 drivers/net/ethernet/broadcom/b44.c netif_napi_del(&bp->napi); napi 2485 drivers/net/ethernet/broadcom/b44.c netif_napi_del(&bp->napi); napi 371 drivers/net/ethernet/broadcom/b44.h struct napi_struct napi; napi 372 drivers/net/ethernet/broadcom/bcm63xx_enet.c nskb = napi_alloc_skb(&priv->napi, len); napi 469 drivers/net/ethernet/broadcom/bcm63xx_enet.c static int bcm_enet_poll(struct napi_struct *napi, int budget) napi 475 drivers/net/ethernet/broadcom/bcm63xx_enet.c priv = container_of(napi, struct bcm_enet_priv, napi); napi 498 drivers/net/ethernet/broadcom/bcm63xx_enet.c napi_complete_done(napi, rx_work_done); napi 550 drivers/net/ethernet/broadcom/bcm63xx_enet.c napi_schedule(&priv->napi); napi 1057 drivers/net/ethernet/broadcom/bcm63xx_enet.c napi_enable(&priv->napi); napi 1169 drivers/net/ethernet/broadcom/bcm63xx_enet.c napi_disable(&priv->napi); napi 1839 drivers/net/ethernet/broadcom/bcm63xx_enet.c netif_napi_add(dev, &priv->napi, bcm_enet_poll, 16); napi 2242 drivers/net/ethernet/broadcom/bcm63xx_enet.c napi_enable(&priv->napi); napi 2342 drivers/net/ethernet/broadcom/bcm63xx_enet.c napi_disable(&priv->napi); napi 2710 drivers/net/ethernet/broadcom/bcm63xx_enet.c netif_napi_add(dev, &priv->napi, bcm_enet_poll, 16); napi 213 drivers/net/ethernet/broadcom/bcm63xx_enet.h struct napi_struct napi; napi 835 drivers/net/ethernet/broadcom/bcmsysport.c napi_gro_receive(&priv->napi, skb); napi 960 drivers/net/ethernet/broadcom/bcmsysport.c static int bcm_sysport_tx_poll(struct napi_struct *napi, int budget) napi 963 drivers/net/ethernet/broadcom/bcmsysport.c container_of(napi, struct bcm_sysport_tx_ring, napi); napi 969 drivers/net/ethernet/broadcom/bcmsysport.c napi_complete(napi); napi 991 drivers/net/ethernet/broadcom/bcmsysport.c static int bcm_sysport_poll(struct napi_struct *napi, int budget) napi 994 drivers/net/ethernet/broadcom/bcmsysport.c container_of(napi, struct bcm_sysport_priv, napi); napi 1013 drivers/net/ethernet/broadcom/bcmsysport.c napi_complete_done(napi, work_done); napi 1121 drivers/net/ethernet/broadcom/bcmsysport.c if (likely(napi_schedule_prep(&priv->napi))) { napi 1124 drivers/net/ethernet/broadcom/bcmsysport.c __napi_schedule_irqoff(&priv->napi); napi 1144 drivers/net/ethernet/broadcom/bcmsysport.c if (likely(napi_schedule_prep(&txr->napi))) { napi 1146 drivers/net/ethernet/broadcom/bcmsysport.c __napi_schedule(&txr->napi); napi 1176 drivers/net/ethernet/broadcom/bcmsysport.c if (likely(napi_schedule_prep(&txr->napi))) { napi 1178 drivers/net/ethernet/broadcom/bcmsysport.c __napi_schedule_irqoff(&txr->napi); napi 1484 drivers/net/ethernet/broadcom/bcmsysport.c netif_tx_napi_add(priv->netdev, &ring->napi, bcm_sysport_tx_poll, 64); napi 1540 drivers/net/ethernet/broadcom/bcmsysport.c napi_enable(&ring->napi); napi 1568 drivers/net/ethernet/broadcom/bcmsysport.c napi_disable(&ring->napi); napi 1569 drivers/net/ethernet/broadcom/bcmsysport.c netif_napi_del(&ring->napi); napi 1852 drivers/net/ethernet/broadcom/bcmsysport.c napi_enable(&priv->napi); napi 2033 drivers/net/ethernet/broadcom/bcmsysport.c napi_disable(&priv->napi); napi 2515 drivers/net/ethernet/broadcom/bcmsysport.c netif_napi_add(dev, &priv->napi, bcm_sysport_poll, 64); napi 711 drivers/net/ethernet/broadcom/bcmsysport.h struct napi_struct napi; /* NAPI per tx queue */ napi 737 drivers/net/ethernet/broadcom/bcmsysport.h struct napi_struct napi ____cacheline_aligned; napi 485 drivers/net/ethernet/broadcom/bgmac.c napi_gro_receive(&bgmac->napi, skb); napi 1143 drivers/net/ethernet/broadcom/bgmac.c napi_schedule(&bgmac->napi); napi 1148 drivers/net/ethernet/broadcom/bgmac.c static int bgmac_poll(struct napi_struct *napi, int weight) napi 1150 drivers/net/ethernet/broadcom/bgmac.c struct bgmac *bgmac = container_of(napi, struct bgmac, napi); napi 1164 drivers/net/ethernet/broadcom/bgmac.c napi_complete_done(napi, handled); napi 1196 drivers/net/ethernet/broadcom/bgmac.c napi_enable(&bgmac->napi); napi 1213 drivers/net/ethernet/broadcom/bgmac.c napi_disable(&bgmac->napi); napi 1529 drivers/net/ethernet/broadcom/bgmac.c netif_napi_add(net_dev, &bgmac->napi, bgmac_poll, BGMAC_WEIGHT); napi 1565 drivers/net/ethernet/broadcom/bgmac.c netif_napi_del(&bgmac->napi); napi 1580 drivers/net/ethernet/broadcom/bgmac.c napi_disable(&bgmac->napi); napi 1607 drivers/net/ethernet/broadcom/bgmac.c napi_enable(&bgmac->napi); napi 498 drivers/net/ethernet/broadcom/bgmac.h struct napi_struct napi; napi 653 drivers/net/ethernet/broadcom/bnx2.c napi_disable(&bp->bnx2_napi[i].napi); napi 662 drivers/net/ethernet/broadcom/bnx2.c napi_enable(&bp->bnx2_napi[i].napi); napi 3282 drivers/net/ethernet/broadcom/bnx2.c napi_gro_receive(&bnapi->napi, skb); napi 3330 drivers/net/ethernet/broadcom/bnx2.c napi_schedule(&bnapi->napi); napi 3347 drivers/net/ethernet/broadcom/bnx2.c napi_schedule(&bnapi->napi); napi 3383 drivers/net/ethernet/broadcom/bnx2.c if (napi_schedule_prep(&bnapi->napi)) { napi 3385 drivers/net/ethernet/broadcom/bnx2.c __napi_schedule(&bnapi->napi); napi 3500 drivers/net/ethernet/broadcom/bnx2.c static int bnx2_poll_msix(struct napi_struct *napi, int budget) napi 3502 drivers/net/ethernet/broadcom/bnx2.c struct bnx2_napi *bnapi = container_of(napi, struct bnx2_napi, napi); napi 3517 drivers/net/ethernet/broadcom/bnx2.c napi_complete_done(napi, work_done); napi 3527 drivers/net/ethernet/broadcom/bnx2.c static int bnx2_poll(struct napi_struct *napi, int budget) napi 3529 drivers/net/ethernet/broadcom/bnx2.c struct bnx2_napi *bnapi = container_of(napi, struct bnx2_napi, napi); napi 3554 drivers/net/ethernet/broadcom/bnx2.c napi_complete_done(napi, work_done); napi 8523 drivers/net/ethernet/broadcom/bnx2.c netif_napi_del(&bp->bnx2_napi[i].napi); napi 8540 drivers/net/ethernet/broadcom/bnx2.c netif_napi_add(bp->dev, &bp->bnx2_napi[i].napi, poll, 64); napi 6765 drivers/net/ethernet/broadcom/bnx2.h struct napi_struct napi ____cacheline_aligned; napi 547 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h struct napi_struct napi; napi 38 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c static int bnx2x_poll(struct napi_struct *napi, int budget); napi 46 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c netif_napi_add(bp->dev, &bnx2x_fp(bp, i, napi), napi 57 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c netif_napi_add(bp->dev, &bnx2x_fp(bp, i, napi), napi 100 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c from_fp->napi = to_fp->napi; napi 750 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c napi_gro_receive(&fp->napi, skb); napi 1032 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c skb = napi_alloc_skb(&fp->napi, len); napi 1091 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c napi_gro_receive(&fp->napi, skb); napi 1148 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c napi_schedule_irqoff(&bnx2x_fp(bp, fp->index, napi)); napi 1863 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c napi_enable(&bnx2x_fp(bp, i, napi)); napi 1872 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c napi_enable(&bnx2x_fp(bp, i, napi)); napi 1881 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c napi_disable(&bnx2x_fp(bp, i, napi)); napi 1890 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c napi_disable(&bnx2x_fp(bp, i, napi)); napi 2460 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c struct napi_struct orig_napi = fp->napi; napi 2470 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c fp->napi = orig_napi; napi 3212 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c static int bnx2x_poll(struct napi_struct *napi, int budget) napi 3214 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c struct bnx2x_fastpath *fp = container_of(napi, struct bnx2x_fastpath, napi 3215 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c napi); napi 3222 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c napi_complete(napi); napi 3238 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c napi_complete_done(napi, rx_work_done); napi 3257 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c if (napi_complete_done(napi, rx_work_done)) { napi 830 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h napi_hash_del(&bnx2x_fp(bp, i, napi)); napi 831 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h netif_napi_del(&bnx2x_fp(bp, i, napi)); napi 840 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h napi_hash_del(&bnx2x_fp(bp, i, napi)); napi 841 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h netif_napi_del(&bnx2x_fp(bp, i, napi)); napi 1931 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c napi_schedule_irqoff(&bnx2x_fp(bp, fp->index, napi)); napi 5695 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c napi_schedule(&bnx2x_fcoe(bp, napi)); napi 950 drivers/net/ethernet/broadcom/bnxt/bnxt.c skb = napi_alloc_skb(&rxr->bnapi->napi, payload); napi 1097 drivers/net/ethernet/broadcom/bnxt/bnxt.c skb = napi_alloc_skb(&bnapi->napi, len); napi 1661 drivers/net/ethernet/broadcom/bnxt/bnxt.c napi_gro_receive(&bnapi->napi, skb); napi 2108 drivers/net/ethernet/broadcom/bnxt/bnxt.c napi_schedule(&bnapi->napi); napi 2147 drivers/net/ethernet/broadcom/bnxt/bnxt.c napi_schedule(&bnapi->napi); napi 2274 drivers/net/ethernet/broadcom/bnxt/bnxt.c static int bnxt_poll_nitroa0(struct napi_struct *napi, int budget) napi 2276 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_napi *bnapi = container_of(napi, struct bnxt_napi, napi); napi 2335 drivers/net/ethernet/broadcom/bnxt/bnxt.c napi_complete_done(napi, rx_pkts); napi 2341 drivers/net/ethernet/broadcom/bnxt/bnxt.c static int bnxt_poll(struct napi_struct *napi, int budget) napi 2343 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_napi *bnapi = container_of(napi, struct bnxt_napi, napi); napi 2358 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (napi_complete_done(napi, work_done)) napi 2412 drivers/net/ethernet/broadcom/bnxt/bnxt.c static int bnxt_poll_p5(struct napi_struct *napi, int budget) napi 2414 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_napi *bnapi = container_of(napi, struct bnxt_napi, napi); napi 2430 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (napi_complete_done(napi, work_done)) napi 2442 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (napi_complete_done(napi, work_done)) napi 8265 drivers/net/ethernet/broadcom/bnxt/bnxt.c napi_hash_del(&bnapi->napi); napi 8266 drivers/net/ethernet/broadcom/bnxt/bnxt.c netif_napi_del(&bnapi->napi); napi 8289 drivers/net/ethernet/broadcom/bnxt/bnxt.c netif_napi_add(bp->dev, &bnapi->napi, poll_fn, 64); napi 8293 drivers/net/ethernet/broadcom/bnxt/bnxt.c netif_napi_add(bp->dev, &bnapi->napi, napi 8298 drivers/net/ethernet/broadcom/bnxt/bnxt.c netif_napi_add(bp->dev, &bnapi->napi, bnxt_poll, 64); napi 8315 drivers/net/ethernet/broadcom/bnxt/bnxt.c napi_disable(&bp->bnapi[i]->napi); napi 8331 drivers/net/ethernet/broadcom/bnxt/bnxt.c napi_enable(&bp->bnapi[i]->napi); napi 941 drivers/net/ethernet/broadcom/bnxt/bnxt.h struct napi_struct napi; napi 1444 drivers/net/ethernet/broadcom/genet/bcmgenet.c static int bcmgenet_tx_poll(struct napi_struct *napi, int budget) napi 1447 drivers/net/ethernet/broadcom/genet/bcmgenet.c container_of(napi, struct bcmgenet_tx_ring, napi); napi 1460 drivers/net/ethernet/broadcom/genet/bcmgenet.c napi_complete(napi); napi 1877 drivers/net/ethernet/broadcom/genet/bcmgenet.c napi_gro_receive(&ring->napi, skb); napi 1898 drivers/net/ethernet/broadcom/genet/bcmgenet.c static int bcmgenet_rx_poll(struct napi_struct *napi, int budget) napi 1900 drivers/net/ethernet/broadcom/genet/bcmgenet.c struct bcmgenet_rx_ring *ring = container_of(napi, napi 1901 drivers/net/ethernet/broadcom/genet/bcmgenet.c struct bcmgenet_rx_ring, napi); napi 1908 drivers/net/ethernet/broadcom/genet/bcmgenet.c napi_complete_done(napi, work_done); napi 2170 drivers/net/ethernet/broadcom/genet/bcmgenet.c netif_tx_napi_add(priv->dev, &ring->napi, bcmgenet_tx_poll, napi 2207 drivers/net/ethernet/broadcom/genet/bcmgenet.c netif_napi_add(priv->dev, &ring->napi, bcmgenet_rx_poll, napi 2240 drivers/net/ethernet/broadcom/genet/bcmgenet.c napi_enable(&ring->napi); napi 2245 drivers/net/ethernet/broadcom/genet/bcmgenet.c napi_enable(&ring->napi); napi 2256 drivers/net/ethernet/broadcom/genet/bcmgenet.c napi_disable(&ring->napi); napi 2260 drivers/net/ethernet/broadcom/genet/bcmgenet.c napi_disable(&ring->napi); napi 2270 drivers/net/ethernet/broadcom/genet/bcmgenet.c netif_napi_del(&ring->napi); napi 2274 drivers/net/ethernet/broadcom/genet/bcmgenet.c netif_napi_del(&ring->napi); napi 2353 drivers/net/ethernet/broadcom/genet/bcmgenet.c napi_enable(&ring->napi); napi 2358 drivers/net/ethernet/broadcom/genet/bcmgenet.c napi_enable(&ring->napi); napi 2369 drivers/net/ethernet/broadcom/genet/bcmgenet.c napi_disable(&ring->napi); napi 2374 drivers/net/ethernet/broadcom/genet/bcmgenet.c napi_disable(&ring->napi); napi 2385 drivers/net/ethernet/broadcom/genet/bcmgenet.c netif_napi_del(&ring->napi); napi 2389 drivers/net/ethernet/broadcom/genet/bcmgenet.c netif_napi_del(&ring->napi); napi 2655 drivers/net/ethernet/broadcom/genet/bcmgenet.c if (likely(napi_schedule_prep(&rx_ring->napi))) { napi 2657 drivers/net/ethernet/broadcom/genet/bcmgenet.c __napi_schedule_irqoff(&rx_ring->napi); napi 2668 drivers/net/ethernet/broadcom/genet/bcmgenet.c if (likely(napi_schedule_prep(&tx_ring->napi))) { napi 2670 drivers/net/ethernet/broadcom/genet/bcmgenet.c __napi_schedule_irqoff(&tx_ring->napi); napi 2700 drivers/net/ethernet/broadcom/genet/bcmgenet.c if (likely(napi_schedule_prep(&rx_ring->napi))) { napi 2702 drivers/net/ethernet/broadcom/genet/bcmgenet.c __napi_schedule_irqoff(&rx_ring->napi); napi 2709 drivers/net/ethernet/broadcom/genet/bcmgenet.c if (likely(napi_schedule_prep(&tx_ring->napi))) { napi 2711 drivers/net/ethernet/broadcom/genet/bcmgenet.c __napi_schedule_irqoff(&tx_ring->napi); napi 558 drivers/net/ethernet/broadcom/genet/bcmgenet.h struct napi_struct napi; /* NAPI per tx queue */ napi 586 drivers/net/ethernet/broadcom/genet/bcmgenet.h struct napi_struct napi; /* Rx NAPI struct */ napi 225 drivers/net/ethernet/broadcom/sb1250-mac.c struct napi_struct napi; napi 301 drivers/net/ethernet/broadcom/sb1250-mac.c static int sbmac_poll(struct napi_struct *napi, int budget); napi 1991 drivers/net/ethernet/broadcom/sb1250-mac.c if (napi_schedule_prep(&sc->napi)) { napi 1993 drivers/net/ethernet/broadcom/sb1250-mac.c __napi_schedule(&sc->napi); napi 2208 drivers/net/ethernet/broadcom/sb1250-mac.c netif_napi_add(dev, &sc->napi, sbmac_poll, 16); napi 2318 drivers/net/ethernet/broadcom/sb1250-mac.c napi_enable(&sc->napi); napi 2483 drivers/net/ethernet/broadcom/sb1250-mac.c napi_disable(&sc->napi); napi 2504 drivers/net/ethernet/broadcom/sb1250-mac.c static int sbmac_poll(struct napi_struct *napi, int budget) napi 2506 drivers/net/ethernet/broadcom/sb1250-mac.c struct sbmac_softc *sc = container_of(napi, struct sbmac_softc, napi); napi 2513 drivers/net/ethernet/broadcom/sb1250-mac.c napi_complete_done(napi, work_done); napi 1008 drivers/net/ethernet/broadcom/tg3.c tw32_mailbox_f(tp->napi[i].int_mbox, 0x00000001); napi 1023 drivers/net/ethernet/broadcom/tg3.c struct tg3_napi *tnapi = &tp->napi[i]; napi 1034 drivers/net/ethernet/broadcom/tg3.c (tp->napi[0].hw_status->status & SD_STATUS_UPDATED)) napi 1039 drivers/net/ethernet/broadcom/tg3.c tp->coal_now &= ~(tp->napi[0].coal_now | tp->napi[1].coal_now); napi 5770 drivers/net/ethernet/broadcom/tg3.c tp->napi[0].hw_status->status = napi 5772 drivers/net/ethernet/broadcom/tg3.c (tp->napi[0].hw_status->status & ~SD_STATUS_LINK_CHG)); napi 6486 drivers/net/ethernet/broadcom/tg3.c struct tg3_napi *tnapi = &tp->napi[i]; napi 6551 drivers/net/ethernet/broadcom/tg3.c int index = tnapi - tp->napi; napi 6756 drivers/net/ethernet/broadcom/tg3.c struct tg3_rx_prodring_set *spr = &tp->napi[0].prodring; napi 6851 drivers/net/ethernet/broadcom/tg3.c ri = &tp->napi[0].prodring.rx_std_buffers[desc_idx]; napi 6857 drivers/net/ethernet/broadcom/tg3.c ri = &tp->napi[0].prodring.rx_jmb_buffers[desc_idx]; napi 6957 drivers/net/ethernet/broadcom/tg3.c napi_gro_receive(&tnapi->napi, skb); napi 7014 drivers/net/ethernet/broadcom/tg3.c if (tnapi != &tp->napi[1]) { napi 7016 drivers/net/ethernet/broadcom/tg3.c napi_schedule(&tp->napi[1].napi); napi 7027 drivers/net/ethernet/broadcom/tg3.c struct tg3_hw_status *sblk = tp->napi[0].hw_status; napi 7194 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, ENABLE_RSS) && tnapi == &tp->napi[1]) { napi 7195 drivers/net/ethernet/broadcom/tg3.c struct tg3_rx_prodring_set *dpr = &tp->napi[0].prodring; napi 7203 drivers/net/ethernet/broadcom/tg3.c &tp->napi[i].prodring); napi 7235 drivers/net/ethernet/broadcom/tg3.c static int tg3_poll_msix(struct napi_struct *napi, int budget) napi 7237 drivers/net/ethernet/broadcom/tg3.c struct tg3_napi *tnapi = container_of(napi, struct tg3_napi, napi); napi 7266 drivers/net/ethernet/broadcom/tg3.c if (tnapi == &tp->napi[1] && tp->rx_refill) napi 7269 drivers/net/ethernet/broadcom/tg3.c napi_complete_done(napi, work_done); napi 7276 drivers/net/ethernet/broadcom/tg3.c if (unlikely(tnapi == &tp->napi[1] && tp->rx_refill)) { napi 7290 drivers/net/ethernet/broadcom/tg3.c napi_complete(napi); napi 7329 drivers/net/ethernet/broadcom/tg3.c static int tg3_poll(struct napi_struct *napi, int budget) napi 7331 drivers/net/ethernet/broadcom/tg3.c struct tg3_napi *tnapi = container_of(napi, struct tg3_napi, napi); napi 7362 drivers/net/ethernet/broadcom/tg3.c napi_complete_done(napi, work_done); napi 7373 drivers/net/ethernet/broadcom/tg3.c napi_complete(napi); napi 7383 drivers/net/ethernet/broadcom/tg3.c napi_disable(&tp->napi[i].napi); napi 7391 drivers/net/ethernet/broadcom/tg3.c napi_enable(&tp->napi[i].napi); napi 7398 drivers/net/ethernet/broadcom/tg3.c netif_napi_add(tp->dev, &tp->napi[0].napi, tg3_poll, 64); napi 7400 drivers/net/ethernet/broadcom/tg3.c netif_napi_add(tp->dev, &tp->napi[i].napi, tg3_poll_msix, 64); napi 7408 drivers/net/ethernet/broadcom/tg3.c netif_napi_del(&tp->napi[i].napi); napi 7434 drivers/net/ethernet/broadcom/tg3.c tp->napi[0].hw_status->status |= SD_STATUS_UPDATED; napi 7452 drivers/net/ethernet/broadcom/tg3.c synchronize_irq(tp->napi[i].irq_vec); napi 7487 drivers/net/ethernet/broadcom/tg3.c napi_schedule(&tnapi->napi); napi 7513 drivers/net/ethernet/broadcom/tg3.c napi_schedule(&tnapi->napi); napi 7555 drivers/net/ethernet/broadcom/tg3.c napi_schedule(&tnapi->napi); napi 7613 drivers/net/ethernet/broadcom/tg3.c napi_schedule(&tnapi->napi); napi 7644 drivers/net/ethernet/broadcom/tg3.c tg3_interrupt(tp->napi[i].irq_vec, &tp->napi[i]); napi 7931 drivers/net/ethernet/broadcom/tg3.c tnapi = &tp->napi[skb_get_queue_mapping(skb)]; napi 8348 drivers/net/ethernet/broadcom/tg3.c if (tpr != &tp->napi[0].prodring) { napi 8394 drivers/net/ethernet/broadcom/tg3.c if (tpr != &tp->napi[0].prodring) { napi 8553 drivers/net/ethernet/broadcom/tg3.c struct tg3_napi *tnapi = &tp->napi[j]; napi 8590 drivers/net/ethernet/broadcom/tg3.c struct tg3_napi *tnapi = &tp->napi[i]; napi 8622 drivers/net/ethernet/broadcom/tg3.c struct tg3_napi *tnapi = &tp->napi[i]; napi 8638 drivers/net/ethernet/broadcom/tg3.c struct tg3_napi *tnapi = &tp->napi[0]; napi 8673 drivers/net/ethernet/broadcom/tg3.c struct tg3_napi *tnapi = &tp->napi[i]; napi 8701 drivers/net/ethernet/broadcom/tg3.c struct tg3_napi *tnapi = &tp->napi[i]; napi 8737 drivers/net/ethernet/broadcom/tg3.c struct tg3_napi *tnapi = &tp->napi[i]; napi 8776 drivers/net/ethernet/broadcom/tg3.c struct tg3_napi *tnapi = &tp->napi[i]; napi 8947 drivers/net/ethernet/broadcom/tg3.c struct tg3_napi *tnapi = &tp->napi[i]; napi 9114 drivers/net/ethernet/broadcom/tg3.c struct tg3_napi *tnapi = &tp->napi[i]; napi 9127 drivers/net/ethernet/broadcom/tg3.c synchronize_irq(tp->napi[i].irq_vec); napi 9550 drivers/net/ethernet/broadcom/tg3.c struct tg3_napi *tnapi = &tp->napi[i]; napi 9594 drivers/net/ethernet/broadcom/tg3.c struct tg3_napi *tnapi = &tp->napi[i]; napi 9610 drivers/net/ethernet/broadcom/tg3.c struct tg3_napi *tnapi = &tp->napi[0]; napi 9617 drivers/net/ethernet/broadcom/tg3.c tw32_mailbox_f(tp->napi[0].int_mbox, 1); napi 9618 drivers/net/ethernet/broadcom/tg3.c tp->napi[0].chk_msi_cnt = 0; napi 9619 drivers/net/ethernet/broadcom/tg3.c tp->napi[0].last_rx_cons = 0; napi 9620 drivers/net/ethernet/broadcom/tg3.c tp->napi[0].last_tx_cons = 0; napi 9625 drivers/net/ethernet/broadcom/tg3.c tp->napi[i].tx_prod = 0; napi 9626 drivers/net/ethernet/broadcom/tg3.c tp->napi[i].tx_cons = 0; napi 9628 drivers/net/ethernet/broadcom/tg3.c tw32_mailbox(tp->napi[i].prodmbox, 0); napi 9629 drivers/net/ethernet/broadcom/tg3.c tw32_rx_mbox(tp->napi[i].consmbox, 0); napi 9630 drivers/net/ethernet/broadcom/tg3.c tw32_mailbox_f(tp->napi[i].int_mbox, 1); napi 9631 drivers/net/ethernet/broadcom/tg3.c tp->napi[i].chk_msi_cnt = 0; napi 9632 drivers/net/ethernet/broadcom/tg3.c tp->napi[i].last_rx_cons = 0; napi 9633 drivers/net/ethernet/broadcom/tg3.c tp->napi[i].last_tx_cons = 0; napi 9636 drivers/net/ethernet/broadcom/tg3.c tw32_mailbox(tp->napi[0].prodmbox, 0); napi 9638 drivers/net/ethernet/broadcom/tg3.c tp->napi[0].tx_prod = 0; napi 9639 drivers/net/ethernet/broadcom/tg3.c tp->napi[0].tx_cons = 0; napi 9640 drivers/net/ethernet/broadcom/tg3.c tw32_mailbox(tp->napi[0].prodmbox, 0); napi 9641 drivers/net/ethernet/broadcom/tg3.c tw32_rx_mbox(tp->napi[0].consmbox, 0); napi 9876 drivers/net/ethernet/broadcom/tg3.c struct tg3_rx_prodring_set *tpr = &tp->napi[0].prodring; napi 10972 drivers/net/ethernet/broadcom/tg3.c struct tg3_napi *tnapi = &tp->napi[i]; napi 11015 drivers/net/ethernet/broadcom/tg3.c if (tp->napi[0].hw_status->status & SD_STATUS_UPDATED) { napi 11242 drivers/net/ethernet/broadcom/tg3.c struct tg3_napi *tnapi = &tp->napi[irq_num]; napi 11280 drivers/net/ethernet/broadcom/tg3.c struct tg3_napi *tnapi = &tp->napi[0]; napi 11386 drivers/net/ethernet/broadcom/tg3.c free_irq(tp->napi[0].irq_vec, &tp->napi[0]); napi 11391 drivers/net/ethernet/broadcom/tg3.c tp->napi[0].irq_vec = tp->pdev->irq; napi 11408 drivers/net/ethernet/broadcom/tg3.c free_irq(tp->napi[0].irq_vec, &tp->napi[0]); napi 11499 drivers/net/ethernet/broadcom/tg3.c tp->napi[i].irq_vec = msix_ent[i].vector; napi 11547 drivers/net/ethernet/broadcom/tg3.c tp->napi[0].irq_vec = tp->pdev->irq; napi 11599 drivers/net/ethernet/broadcom/tg3.c struct tg3_napi *tnapi = &tp->napi[i]; napi 11670 drivers/net/ethernet/broadcom/tg3.c struct tg3_napi *tnapi = &tp->napi[i]; napi 11709 drivers/net/ethernet/broadcom/tg3.c struct tg3_napi *tnapi = &tp->napi[i]; napi 12428 drivers/net/ethernet/broadcom/tg3.c ering->tx_pending = tp->napi[0].tx_pending; napi 12463 drivers/net/ethernet/broadcom/tg3.c tp->napi[i].tx_pending = ering->tx_pending; napi 13437 drivers/net/ethernet/broadcom/tg3.c struct tg3_rx_prodring_set *tpr = &tp->napi[0].prodring; napi 13439 drivers/net/ethernet/broadcom/tg3.c tnapi = &tp->napi[0]; napi 13440 drivers/net/ethernet/broadcom/tg3.c rnapi = &tp->napi[0]; napi 13443 drivers/net/ethernet/broadcom/tg3.c rnapi = &tp->napi[1]; napi 13445 drivers/net/ethernet/broadcom/tg3.c tnapi = &tp->napi[1]; napi 17864 drivers/net/ethernet/broadcom/tg3.c struct tg3_napi *tnapi = &tp->napi[i]; napi 3005 drivers/net/ethernet/broadcom/tg3.h struct napi_struct napi ____cacheline_aligned; napi 3203 drivers/net/ethernet/broadcom/tg3.h struct tg3_napi napi[TG3_IRQ_MAX_VECS]; napi 633 drivers/net/ethernet/brocade/bna/bnad.c skb = napi_get_frags(&rx_ctrl->napi); napi 717 drivers/net/ethernet/brocade/bna/bnad.c napi_gro_frags(&rx_ctrl->napi); napi 728 drivers/net/ethernet/brocade/bna/bnad.c napi_gro_flush(&rx_ctrl->napi, false); napi 743 drivers/net/ethernet/brocade/bna/bnad.c struct napi_struct *napi = &rx_ctrl->napi; napi 745 drivers/net/ethernet/brocade/bna/bnad.c if (likely(napi_schedule_prep(napi))) { napi 746 drivers/net/ethernet/brocade/bna/bnad.c __napi_schedule(napi); napi 1195 drivers/net/ethernet/brocade/bna/bnad.c napi_disable(&rx_ctrl->napi); napi 1246 drivers/net/ethernet/brocade/bna/bnad.c napi_enable(&rx_ctrl->napi); napi 1857 drivers/net/ethernet/brocade/bna/bnad.c bnad_napi_poll_rx(struct napi_struct *napi, int budget) napi 1860 drivers/net/ethernet/brocade/bna/bnad.c container_of(napi, struct bnad_rx_ctrl, napi); napi 1874 drivers/net/ethernet/brocade/bna/bnad.c napi_complete_done(napi, rcvd); napi 1894 drivers/net/ethernet/brocade/bna/bnad.c netif_napi_add(bnad->netdev, &rx_ctrl->napi, napi 1906 drivers/net/ethernet/brocade/bna/bnad.c netif_napi_del(&bnad->rx_info[rx_id].rx_ctrl[i].napi); napi 51 drivers/net/ethernet/brocade/bna/bnad.h struct napi_struct napi; napi 1070 drivers/net/ethernet/cadence/macb.h int (*mog_rx)(struct macb_queue *queue, struct napi_struct *napi, napi 1135 drivers/net/ethernet/cadence/macb.h struct napi_struct napi; napi 999 drivers/net/ethernet/cadence/macb_main.c static int gem_rx(struct macb_queue *queue, struct napi_struct *napi, napi 1082 drivers/net/ethernet/cadence/macb_main.c napi_gro_receive(napi, skb); napi 1090 drivers/net/ethernet/cadence/macb_main.c static int macb_rx_frame(struct macb_queue *queue, struct napi_struct *napi, napi 1167 drivers/net/ethernet/cadence/macb_main.c napi_gro_receive(napi, skb); napi 1190 drivers/net/ethernet/cadence/macb_main.c static int macb_rx(struct macb_queue *queue, struct napi_struct *napi, napi 1228 drivers/net/ethernet/cadence/macb_main.c dropped = macb_rx_frame(queue, napi, first_frag, tail); napi 1269 drivers/net/ethernet/cadence/macb_main.c static int macb_poll(struct napi_struct *napi, int budget) napi 1271 drivers/net/ethernet/cadence/macb_main.c struct macb_queue *queue = container_of(napi, struct macb_queue, napi); napi 1282 drivers/net/ethernet/cadence/macb_main.c work_done = bp->macbgem_ops.mog_rx(queue, napi, budget); napi 1284 drivers/net/ethernet/cadence/macb_main.c napi_complete_done(napi, work_done); napi 1291 drivers/net/ethernet/cadence/macb_main.c napi_reschedule(napi); napi 1406 drivers/net/ethernet/cadence/macb_main.c if (napi_schedule_prep(&queue->napi)) { napi 1408 drivers/net/ethernet/cadence/macb_main.c __napi_schedule(&queue->napi); napi 2443 drivers/net/ethernet/cadence/macb_main.c napi_enable(&queue->napi); napi 2474 drivers/net/ethernet/cadence/macb_main.c napi_disable(&queue->napi); napi 3495 drivers/net/ethernet/cadence/macb_main.c netif_napi_add(dev, &queue->napi, macb_poll, NAPI_POLL_WEIGHT); napi 4439 drivers/net/ethernet/cadence/macb_main.c napi_disable(&queue->napi); napi 4488 drivers/net/ethernet/cadence/macb_main.c napi_enable(&queue->napi); napi 373 drivers/net/ethernet/calxeda/xgmac.c struct napi_struct napi; napi 910 drivers/net/ethernet/calxeda/xgmac.c napi_disable(&priv->napi); napi 935 drivers/net/ethernet/calxeda/xgmac.c napi_enable(&priv->napi); napi 1032 drivers/net/ethernet/calxeda/xgmac.c napi_enable(&priv->napi); napi 1053 drivers/net/ethernet/calxeda/xgmac.c napi_disable(&priv->napi); napi 1213 drivers/net/ethernet/calxeda/xgmac.c napi_gro_receive(&priv->napi, skb); napi 1230 drivers/net/ethernet/calxeda/xgmac.c static int xgmac_poll(struct napi_struct *napi, int budget) napi 1232 drivers/net/ethernet/calxeda/xgmac.c struct xgmac_priv *priv = container_of(napi, napi 1233 drivers/net/ethernet/calxeda/xgmac.c struct xgmac_priv, napi); napi 1240 drivers/net/ethernet/calxeda/xgmac.c napi_complete_done(napi, work_done); napi 1422 drivers/net/ethernet/calxeda/xgmac.c napi_schedule(&priv->napi); napi 1791 drivers/net/ethernet/calxeda/xgmac.c netif_napi_add(ndev, &priv->napi, xgmac_poll, 64); napi 1799 drivers/net/ethernet/calxeda/xgmac.c netif_napi_del(&priv->napi); napi 1832 drivers/net/ethernet/calxeda/xgmac.c netif_napi_del(&priv->napi); napi 1866 drivers/net/ethernet/calxeda/xgmac.c napi_disable(&priv->napi); napi 1899 drivers/net/ethernet/calxeda/xgmac.c napi_enable(&priv->napi); napi 576 drivers/net/ethernet/cavium/liquidio/lio_core.c container_of(param, struct octeon_droq, napi); napi 579 drivers/net/ethernet/cavium/liquidio/lio_core.c struct napi_struct *napi = param; napi 690 drivers/net/ethernet/cavium/liquidio/lio_core.c napi_gro_receive(napi, skb); napi 708 drivers/net/ethernet/cavium/liquidio/lio_core.c struct napi_struct *napi = param; napi 710 drivers/net/ethernet/cavium/liquidio/lio_core.c napi_schedule(napi); napi 727 drivers/net/ethernet/cavium/liquidio/lio_core.c napi_schedule_irqoff(&droq->napi); napi 732 drivers/net/ethernet/cavium/liquidio/lio_core.c csd->info = &droq->napi; napi 744 drivers/net/ethernet/cavium/liquidio/lio_core.c static int liquidio_napi_poll(struct napi_struct *napi, int budget) napi 752 drivers/net/ethernet/cavium/liquidio/lio_core.c droq = container_of(napi, struct octeon_droq, napi); napi 786 drivers/net/ethernet/cavium/liquidio/lio_core.c napi_complete_done(napi, work_done); napi 810 drivers/net/ethernet/cavium/liquidio/lio_core.c struct napi_struct *napi; napi 853 drivers/net/ethernet/cavium/liquidio/lio_core.c napi = &droq->napi; napi 856 drivers/net/ethernet/cavium/liquidio/lio_core.c netif_napi_add(netdev, napi, liquidio_napi_poll, 64); napi 1087 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c struct napi_struct *napi, *n; napi 1108 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c list_for_each_entry_safe(napi, n, &netdev->napi_list, dev_list) napi 1109 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c netif_napi_del(napi); napi 1248 drivers/net/ethernet/cavium/liquidio/lio_main.c struct napi_struct *napi, *n; napi 1265 drivers/net/ethernet/cavium/liquidio/lio_main.c list_for_each_entry_safe(napi, n, &netdev->napi_list, dev_list) napi 1266 drivers/net/ethernet/cavium/liquidio/lio_main.c napi_disable(napi); napi 1275 drivers/net/ethernet/cavium/liquidio/lio_main.c list_for_each_entry_safe(napi, n, &netdev->napi_list, dev_list) napi 1276 drivers/net/ethernet/cavium/liquidio/lio_main.c netif_napi_del(napi); napi 1818 drivers/net/ethernet/cavium/liquidio/lio_main.c struct napi_struct *napi, *n; napi 1823 drivers/net/ethernet/cavium/liquidio/lio_main.c list_for_each_entry_safe(napi, n, &netdev->napi_list, dev_list) napi 1824 drivers/net/ethernet/cavium/liquidio/lio_main.c napi_enable(napi); napi 1878 drivers/net/ethernet/cavium/liquidio/lio_main.c struct napi_struct *napi, *n; napi 1917 drivers/net/ethernet/cavium/liquidio/lio_main.c list_for_each_entry_safe(napi, n, &netdev->napi_list, dev_list) napi 1918 drivers/net/ethernet/cavium/liquidio/lio_main.c napi_disable(napi); napi 661 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c struct napi_struct *napi, *n; napi 678 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c list_for_each_entry_safe(napi, n, &netdev->napi_list, dev_list) napi 679 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c napi_disable(napi); napi 687 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c list_for_each_entry_safe(napi, n, &netdev->napi_list, dev_list) napi 688 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c netif_napi_del(napi); napi 911 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c struct napi_struct *napi, *n; napi 916 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c list_for_each_entry_safe(napi, n, &netdev->napi_list, dev_list) napi 917 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c napi_enable(napi); napi 955 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c struct napi_struct *napi, *n; napi 978 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c list_for_each_entry_safe(napi, n, &netdev->napi_list, dev_list) napi 979 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c napi_disable(napi); napi 695 drivers/net/ethernet/cavium/liquidio/octeon_droq.c rh, &droq->napi, napi 319 drivers/net/ethernet/cavium/liquidio/octeon_droq.h struct napi_struct napi; napi 147 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c struct napi_struct napi; napi 494 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c static int octeon_mgmt_napi_poll(struct napi_struct *napi, int budget) napi 496 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c struct octeon_mgmt *p = container_of(napi, struct octeon_mgmt, napi); napi 504 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c napi_complete_done(napi, work_done); napi 679 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c napi_schedule(&p->napi); napi 1224 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c napi_enable(&p->napi); napi 1245 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c napi_disable(&p->napi); napi 1402 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c netif_napi_add(netdev, &p->napi, octeon_mgmt_napi_poll, napi 124 drivers/net/ethernet/cavium/thunder/nic.h struct napi_struct napi; napi 369 drivers/net/ethernet/cavium/thunder/nic.h struct nicvf_cq_poll *napi[8]; napi 774 drivers/net/ethernet/cavium/thunder/nicvf_main.c struct napi_struct *napi, napi 842 drivers/net/ethernet/cavium/thunder/nicvf_main.c if (napi && (netdev->features & NETIF_F_GRO)) napi 843 drivers/net/ethernet/cavium/thunder/nicvf_main.c napi_gro_receive(napi, skb); napi 849 drivers/net/ethernet/cavium/thunder/nicvf_main.c struct napi_struct *napi, int budget) napi 884 drivers/net/ethernet/cavium/thunder/nicvf_main.c if ((work_done >= budget) && napi && napi 891 drivers/net/ethernet/cavium/thunder/nicvf_main.c nicvf_rcv_pkt_handler(netdev, napi, cq_desc, sq, rq); napi 916 drivers/net/ethernet/cavium/thunder/nicvf_main.c if ((work_done < budget) && napi) napi 959 drivers/net/ethernet/cavium/thunder/nicvf_main.c static int nicvf_poll(struct napi_struct *napi, int budget) napi 963 drivers/net/ethernet/cavium/thunder/nicvf_main.c struct net_device *netdev = napi->dev; napi 967 drivers/net/ethernet/cavium/thunder/nicvf_main.c cq = container_of(napi, struct nicvf_cq_poll, napi); napi 968 drivers/net/ethernet/cavium/thunder/nicvf_main.c work_done = nicvf_cq_intr_handler(netdev, cq->cq_idx, napi, budget); napi 972 drivers/net/ethernet/cavium/thunder/nicvf_main.c napi_complete_done(napi, work_done); napi 1054 drivers/net/ethernet/cavium/thunder/nicvf_main.c napi_schedule_irqoff(&cq_poll->napi); napi 1144 drivers/net/ethernet/cavium/thunder/nicvf_main.c 0, nic->irq_name[irq], nic->napi[irq]); napi 1198 drivers/net/ethernet/cavium/thunder/nicvf_main.c free_irq(pci_irq_vector(pdev, irq), nic->napi[irq]); napi 1319 drivers/net/ethernet/cavium/thunder/nicvf_main.c cq_poll = nic->napi[qidx]; napi 1322 drivers/net/ethernet/cavium/thunder/nicvf_main.c nic->napi[qidx] = NULL; napi 1376 drivers/net/ethernet/cavium/thunder/nicvf_main.c cq_poll = nic->napi[qidx]; napi 1379 drivers/net/ethernet/cavium/thunder/nicvf_main.c napi_synchronize(&cq_poll->napi); napi 1385 drivers/net/ethernet/cavium/thunder/nicvf_main.c napi_disable(&cq_poll->napi); napi 1386 drivers/net/ethernet/cavium/thunder/nicvf_main.c netif_napi_del(&cq_poll->napi); napi 1478 drivers/net/ethernet/cavium/thunder/nicvf_main.c netif_napi_add(netdev, &cq_poll->napi, nicvf_poll, napi 1480 drivers/net/ethernet/cavium/thunder/nicvf_main.c napi_enable(&cq_poll->napi); napi 1481 drivers/net/ethernet/cavium/thunder/nicvf_main.c nic->napi[qidx] = cq_poll; napi 1574 drivers/net/ethernet/cavium/thunder/nicvf_main.c cq_poll = nic->napi[qidx]; napi 1577 drivers/net/ethernet/cavium/thunder/nicvf_main.c napi_disable(&cq_poll->napi); napi 1578 drivers/net/ethernet/cavium/thunder/nicvf_main.c netif_napi_del(&cq_poll->napi); napi 250 drivers/net/ethernet/chelsio/cxgb/common.h struct napi_struct napi; napi 248 drivers/net/ethernet/chelsio/cxgb/cxgb2.c napi_enable(&adapter->napi); napi 250 drivers/net/ethernet/chelsio/cxgb/cxgb2.c napi_disable(&adapter->napi); napi 272 drivers/net/ethernet/chelsio/cxgb/cxgb2.c napi_disable(&adapter->napi); napi 1105 drivers/net/ethernet/chelsio/cxgb/cxgb2.c netif_napi_add(netdev, &adapter->napi, t1_poll, 64); napi 1047 drivers/net/ethernet/chelsio/cxgb/sge.c skb = napi_alloc_skb(&adapter->napi, len); napi 1601 drivers/net/ethernet/chelsio/cxgb/sge.c int t1_poll(struct napi_struct *napi, int budget) napi 1603 drivers/net/ethernet/chelsio/cxgb/sge.c struct adapter *adapter = container_of(napi, struct adapter, napi); napi 1607 drivers/net/ethernet/chelsio/cxgb/sge.c napi_complete_done(napi, work_done); napi 1623 drivers/net/ethernet/chelsio/cxgb/sge.c if (napi_schedule_prep(&adapter->napi)) { napi 1625 drivers/net/ethernet/chelsio/cxgb/sge.c __napi_schedule(&adapter->napi); napi 1630 drivers/net/ethernet/chelsio/cxgb/sge.c napi_enable(&adapter->napi); napi 201 drivers/net/ethernet/chelsio/cxgb3/adapter.h struct napi_struct napi; napi 613 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c netif_napi_add(qs->netdev, &qs->napi, qs->napi.poll, napi 636 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c napi_disable(&adap->sge.qs[i].napi); napi 644 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c napi_enable(&adap->sge.qs[i].napi); napi 663 drivers/net/ethernet/chelsio/cxgb3/sge.c napi_free_frags(&q->napi); napi 1861 drivers/net/ethernet/chelsio/cxgb3/sge.c napi_schedule(&qs->napi); napi 1895 drivers/net/ethernet/chelsio/cxgb3/sge.c static int ofld_poll(struct napi_struct *napi, int budget) napi 1897 drivers/net/ethernet/chelsio/cxgb3/sge.c struct sge_qset *qs = container_of(napi, struct sge_qset, napi); napi 1911 drivers/net/ethernet/chelsio/cxgb3/sge.c napi_complete_done(napi, work_done); napi 2102 drivers/net/ethernet/chelsio/cxgb3/sge.c napi_gro_receive(&qs->napi, skb); napi 2140 drivers/net/ethernet/chelsio/cxgb3/sge.c skb = napi_get_frags(&qs->napi); napi 2202 drivers/net/ethernet/chelsio/cxgb3/sge.c napi_gro_frags(&qs->napi); napi 2475 drivers/net/ethernet/chelsio/cxgb3/sge.c static int napi_rx_handler(struct napi_struct *napi, int budget) napi 2477 drivers/net/ethernet/chelsio/cxgb3/sge.c struct sge_qset *qs = container_of(napi, struct sge_qset, napi); napi 2482 drivers/net/ethernet/chelsio/cxgb3/sge.c napi_complete_done(napi, work_done); napi 2508 drivers/net/ethernet/chelsio/cxgb3/sge.c static inline int napi_is_scheduled(struct napi_struct *napi) napi 2510 drivers/net/ethernet/chelsio/cxgb3/sge.c return test_bit(NAPI_STATE_SCHED, &napi->state); napi 2597 drivers/net/ethernet/chelsio/cxgb3/sge.c napi_schedule(&qs->napi); napi 2678 drivers/net/ethernet/chelsio/cxgb3/sge.c if (!napi_is_scheduled(&qs->napi) && napi 2680 drivers/net/ethernet/chelsio/cxgb3/sge.c napi_schedule(&qs->napi); napi 2822 drivers/net/ethernet/chelsio/cxgb3/sge.c napi_schedule(&qs0->napi); napi 2825 drivers/net/ethernet/chelsio/cxgb3/sge.c napi_schedule(&adap->sge.qs[1].napi); napi 2975 drivers/net/ethernet/chelsio/cxgb3/sge.c if (napi_is_scheduled(&qs->napi)) napi 3016 drivers/net/ethernet/chelsio/cxgb3/sge.c qs->napi.poll = p->polling ? napi_rx_handler : ofld_poll; napi 675 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h struct napi_struct napi; napi 913 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c napi_disable(&q->napi); napi 945 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c napi_enable(&q->napi); napi 118 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c &q->napi); napi 425 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c napi_enable(&q->napi); napi 436 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c napi_disable(&q->napi); napi 384 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h struct napi_struct *napi); napi 2748 drivers/net/ethernet/chelsio/cxgb4/sge.c skb = napi_get_frags(&rxq->rspq.napi); napi 2775 drivers/net/ethernet/chelsio/cxgb4/sge.c ret = napi_gro_frags(&rxq->rspq.napi); napi 3054 drivers/net/ethernet/chelsio/cxgb4/sge.c skb_mark_napi_id(skb, &q->napi); napi 3233 drivers/net/ethernet/chelsio/cxgb4/sge.c static int napi_rx_handler(struct napi_struct *napi, int budget) napi 3236 drivers/net/ethernet/chelsio/cxgb4/sge.c struct sge_rspq *q = container_of(napi, struct sge_rspq, napi); napi 3244 drivers/net/ethernet/chelsio/cxgb4/sge.c napi_complete_done(napi, work_done); napi 3289 drivers/net/ethernet/chelsio/cxgb4/sge.c napi_schedule(&q->napi); napi 3315 drivers/net/ethernet/chelsio/cxgb4/sge.c napi_schedule(&adap->sge.ingr_map[qid]->napi); napi 3402 drivers/net/ethernet/chelsio/cxgb4/sge.c if (napi_reschedule(&rxq->rspq.napi)) napi 3608 drivers/net/ethernet/chelsio/cxgb4/sge.c netif_napi_add(dev, &iq->napi, napi_rx_handler, 64); napi 3970 drivers/net/ethernet/chelsio/cxgb4/sge.c netif_napi_del(&rq->napi); napi 166 drivers/net/ethernet/chelsio/cxgb4vf/adapter.h struct napi_struct napi; /* NAPI scheduling control */ napi 437 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c napi_enable(&rspq->napi); napi 482 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c napi_disable(&s->ethrxq[rxq].rspq.napi); napi 483 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c napi_disable(&s->fw_evtq.napi); napi 1576 drivers/net/ethernet/chelsio/cxgb4vf/sge.c skb = napi_get_frags(&rxq->rspq.napi); napi 1596 drivers/net/ethernet/chelsio/cxgb4vf/sge.c ret = napi_gro_frags(&rxq->rspq.napi); napi 1888 drivers/net/ethernet/chelsio/cxgb4vf/sge.c static int napi_rx_handler(struct napi_struct *napi, int budget) napi 1891 drivers/net/ethernet/chelsio/cxgb4vf/sge.c struct sge_rspq *rspq = container_of(napi, struct sge_rspq, napi); napi 1896 drivers/net/ethernet/chelsio/cxgb4vf/sge.c napi_complete_done(napi, work_done); napi 1929 drivers/net/ethernet/chelsio/cxgb4vf/sge.c napi_schedule(&rspq->napi); napi 2004 drivers/net/ethernet/chelsio/cxgb4vf/sge.c napi_schedule(&rspq->napi); napi 2100 drivers/net/ethernet/chelsio/cxgb4vf/sge.c if (napi_reschedule(&rxq->rspq.napi)) napi 2342 drivers/net/ethernet/chelsio/cxgb4vf/sge.c netif_napi_add(dev, &rspq->napi, napi_rx_handler, 64); napi 2539 drivers/net/ethernet/chelsio/cxgb4vf/sge.c netif_napi_del(&rspq->napi); napi 172 drivers/net/ethernet/cirrus/ep93xx_eth.c struct napi_struct napi; napi 294 drivers/net/ethernet/cirrus/ep93xx_eth.c napi_gro_receive(&ep->napi, skb); napi 310 drivers/net/ethernet/cirrus/ep93xx_eth.c static int ep93xx_poll(struct napi_struct *napi, int budget) napi 312 drivers/net/ethernet/cirrus/ep93xx_eth.c struct ep93xx_priv *ep = container_of(napi, struct ep93xx_priv, napi); napi 317 drivers/net/ethernet/cirrus/ep93xx_eth.c if (rx < budget && napi_complete_done(napi, rx)) { napi 432 drivers/net/ethernet/cirrus/ep93xx_eth.c if (likely(napi_schedule_prep(&ep->napi))) { napi 434 drivers/net/ethernet/cirrus/ep93xx_eth.c __napi_schedule(&ep->napi); napi 638 drivers/net/ethernet/cirrus/ep93xx_eth.c napi_enable(&ep->napi); napi 641 drivers/net/ethernet/cirrus/ep93xx_eth.c napi_disable(&ep->napi); napi 655 drivers/net/ethernet/cirrus/ep93xx_eth.c napi_disable(&ep->napi); napi 672 drivers/net/ethernet/cirrus/ep93xx_eth.c napi_disable(&ep->napi); napi 817 drivers/net/ethernet/cirrus/ep93xx_eth.c netif_napi_add(dev, &ep->napi, ep93xx_poll, 64); napi 189 drivers/net/ethernet/cisco/enic/enic.h struct napi_struct napi[ENIC_RQ_MAX + ENIC_WQ_MAX]; napi 513 drivers/net/ethernet/cisco/enic/enic_main.c napi_schedule_irqoff(&enic->napi[0]); napi 540 drivers/net/ethernet/cisco/enic/enic_main.c napi_schedule_irqoff(&enic->napi[0]); napi 547 drivers/net/ethernet/cisco/enic/enic_main.c struct napi_struct *napi = data; napi 549 drivers/net/ethernet/cisco/enic/enic_main.c napi_schedule_irqoff(napi); napi 1446 drivers/net/ethernet/cisco/enic/enic_main.c skb_mark_napi_id(skb, &enic->napi[rq->index]); napi 1450 drivers/net/ethernet/cisco/enic/enic_main.c napi_gro_receive(&enic->napi[q_number], skb); napi 1536 drivers/net/ethernet/cisco/enic/enic_main.c static int enic_poll(struct napi_struct *napi, int budget) napi 1538 drivers/net/ethernet/cisco/enic/enic_main.c struct net_device *netdev = napi->dev; napi 1582 drivers/net/ethernet/cisco/enic/enic_main.c if ((rq_work_done < budget) && napi_complete_done(napi, rq_work_done)) { napi 1634 drivers/net/ethernet/cisco/enic/enic_main.c static int enic_poll_msix_wq(struct napi_struct *napi, int budget) napi 1636 drivers/net/ethernet/cisco/enic/enic_main.c struct net_device *netdev = napi->dev; napi 1638 drivers/net/ethernet/cisco/enic/enic_main.c unsigned int wq_index = (napi - &enic->napi[0]) - enic->rq_count; napi 1656 drivers/net/ethernet/cisco/enic/enic_main.c napi_complete(napi); napi 1664 drivers/net/ethernet/cisco/enic/enic_main.c static int enic_poll_msix_rq(struct napi_struct *napi, int budget) napi 1666 drivers/net/ethernet/cisco/enic/enic_main.c struct net_device *netdev = napi->dev; napi 1668 drivers/net/ethernet/cisco/enic/enic_main.c unsigned int rq = (napi - &enic->napi[0]); napi 1707 drivers/net/ethernet/cisco/enic/enic_main.c if ((work_done < budget) && napi_complete_done(napi, work_done)) { napi 1784 drivers/net/ethernet/cisco/enic/enic_main.c enic->msix[intr].devid = &enic->napi[i]; napi 1795 drivers/net/ethernet/cisco/enic/enic_main.c enic->msix[intr].devid = &enic->napi[wq]; napi 1964 drivers/net/ethernet/cisco/enic/enic_main.c napi_enable(&enic->napi[i]); napi 1968 drivers/net/ethernet/cisco/enic/enic_main.c napi_enable(&enic->napi[enic_cq_wq(enic, i)]); napi 2013 drivers/net/ethernet/cisco/enic/enic_main.c napi_disable(&enic->napi[i]); napi 2018 drivers/net/ethernet/cisco/enic/enic_main.c napi_disable(&enic->napi[enic_cq_wq(enic, i)]); napi 2114 drivers/net/ethernet/cisco/enic/enic_main.c &enic->napi[i]); napi 2120 drivers/net/ethernet/cisco/enic/enic_main.c &enic->napi[enic_cq_wq(enic, i)]); napi 2567 drivers/net/ethernet/cisco/enic/enic_main.c napi_hash_del(&enic->napi[i]); napi 2568 drivers/net/ethernet/cisco/enic/enic_main.c netif_napi_del(&enic->napi[i]); napi 2572 drivers/net/ethernet/cisco/enic/enic_main.c netif_napi_del(&enic->napi[enic_cq_wq(enic, i)]); napi 2654 drivers/net/ethernet/cisco/enic/enic_main.c netif_napi_add(netdev, &enic->napi[0], enic_poll, 64); napi 2658 drivers/net/ethernet/cisco/enic/enic_main.c netif_napi_add(netdev, &enic->napi[i], napi 2662 drivers/net/ethernet/cisco/enic/enic_main.c netif_napi_add(netdev, &enic->napi[enic_cq_wq(enic, i)], napi 121 drivers/net/ethernet/cortina/gemini.c struct napi_struct napi; napi 1382 drivers/net/ethernet/cortina/gemini.c skb = napi_get_frags(&port->napi); napi 1452 drivers/net/ethernet/cortina/gemini.c napi_free_frags(&port->napi); napi 1486 drivers/net/ethernet/cortina/gemini.c napi_gro_frags(&port->napi); napi 1494 drivers/net/ethernet/cortina/gemini.c napi_free_frags(&port->napi); napi 1508 drivers/net/ethernet/cortina/gemini.c static int gmac_napi_poll(struct napi_struct *napi, int budget) napi 1510 drivers/net/ethernet/cortina/gemini.c struct gemini_ethernet_port *port = netdev_priv(napi->dev); napi 1518 drivers/net/ethernet/cortina/gemini.c received = gmac_rx(napi->dev, budget); napi 1520 drivers/net/ethernet/cortina/gemini.c napi_gro_flush(napi, false); napi 1521 drivers/net/ethernet/cortina/gemini.c napi_complete_done(napi, received); napi 1522 drivers/net/ethernet/cortina/gemini.c gmac_enable_rx_irq(napi->dev, 1); napi 1667 drivers/net/ethernet/cortina/gemini.c napi_schedule(&port->napi); napi 1704 drivers/net/ethernet/cortina/gemini.c napi_schedule(&port->napi); napi 1812 drivers/net/ethernet/cortina/gemini.c napi_enable(&port->napi); napi 1841 drivers/net/ethernet/cortina/gemini.c napi_disable(&port->napi); napi 2482 drivers/net/ethernet/cortina/gemini.c netif_napi_add(netdev, &port->napi, gmac_napi_poll, napi 109 drivers/net/ethernet/dec/tulip/interrupt.c napi_schedule(&tp->napi); napi 112 drivers/net/ethernet/dec/tulip/interrupt.c int tulip_poll(struct napi_struct *napi, int budget) napi 114 drivers/net/ethernet/dec/tulip/interrupt.c struct tulip_private *tp = container_of(napi, struct tulip_private, napi); napi 322 drivers/net/ethernet/dec/tulip/interrupt.c napi_complete_done(napi, work_done); napi 358 drivers/net/ethernet/dec/tulip/interrupt.c napi_complete_done(napi, work_done); napi 555 drivers/net/ethernet/dec/tulip/interrupt.c napi_schedule(&tp->napi); napi 416 drivers/net/ethernet/dec/tulip/tulip.h struct napi_struct napi; napi 493 drivers/net/ethernet/dec/tulip/tulip.h int tulip_poll(struct napi_struct *napi, int budget); napi 302 drivers/net/ethernet/dec/tulip/tulip_core.c napi_enable(&tp->napi); napi 757 drivers/net/ethernet/dec/tulip/tulip_core.c napi_disable(&tp->napi); napi 1695 drivers/net/ethernet/dec/tulip/tulip_core.c netif_napi_add(dev, &tp->napi, tulip_poll, 16); napi 362 drivers/net/ethernet/dnet.c static int dnet_poll(struct napi_struct *napi, int budget) napi 364 drivers/net/ethernet/dnet.c struct dnet *bp = container_of(napi, struct dnet, napi); napi 413 drivers/net/ethernet/dnet.c napi_complete_done(napi, npackets); napi 471 drivers/net/ethernet/dnet.c if (napi_schedule_prep(&bp->napi)) { napi 480 drivers/net/ethernet/dnet.c __napi_schedule(&bp->napi); napi 629 drivers/net/ethernet/dnet.c napi_enable(&bp->napi); napi 647 drivers/net/ethernet/dnet.c napi_disable(&bp->napi); napi 809 drivers/net/ethernet/dnet.c netif_napi_add(dev, &bp->napi, dnet_poll, 64); napi 212 drivers/net/ethernet/dnet.h struct napi_struct napi; napi 187 drivers/net/ethernet/emulex/benet/be.h struct napi_struct napi; napi 980 drivers/net/ethernet/emulex/benet/be.h int be_poll(struct napi_struct *napi, int budget); napi 2394 drivers/net/ethernet/emulex/benet/be_main.c static void be_rx_compl_process(struct be_rx_obj *rxo, struct napi_struct *napi, napi 2421 drivers/net/ethernet/emulex/benet/be_main.c skb_mark_napi_id(skb, napi); napi 2431 drivers/net/ethernet/emulex/benet/be_main.c struct napi_struct *napi, napi 2440 drivers/net/ethernet/emulex/benet/be_main.c skb = napi_get_frags(napi); napi 2483 drivers/net/ethernet/emulex/benet/be_main.c napi_gro_frags(napi); napi 2943 drivers/net/ethernet/emulex/benet/be_main.c netif_napi_del(&eqo->napi); napi 2986 drivers/net/ethernet/emulex/benet/be_main.c netif_napi_add(adapter->netdev, &eqo->napi, be_poll, napi 3174 drivers/net/ethernet/emulex/benet/be_main.c if (napi_schedule_prep(&eqo->napi)) { napi 3176 drivers/net/ethernet/emulex/benet/be_main.c __napi_schedule(&eqo->napi); napi 3197 drivers/net/ethernet/emulex/benet/be_main.c napi_schedule(&eqo->napi); napi 3206 drivers/net/ethernet/emulex/benet/be_main.c static int be_process_rx(struct be_rx_obj *rxo, struct napi_struct *napi, napi 3240 drivers/net/ethernet/emulex/benet/be_main.c be_rx_compl_process_gro(rxo, napi, rxcp); napi 3242 drivers/net/ethernet/emulex/benet/be_main.c be_rx_compl_process(rxo, napi, rxcp); napi 3294 drivers/net/ethernet/emulex/benet/be_main.c int be_poll(struct napi_struct *napi, int budget) napi 3296 drivers/net/ethernet/emulex/benet/be_main.c struct be_eq_obj *eqo = container_of(napi, struct be_eq_obj, napi); napi 3313 drivers/net/ethernet/emulex/benet/be_main.c work = be_process_rx(rxo, napi, budget); napi 3321 drivers/net/ethernet/emulex/benet/be_main.c napi_complete_done(napi, max_work); napi 3654 drivers/net/ethernet/emulex/benet/be_main.c napi_disable(&eqo->napi); napi 3823 drivers/net/ethernet/emulex/benet/be_main.c napi_enable(&eqo->napi); napi 4924 drivers/net/ethernet/emulex/benet/be_main.c napi_schedule(&eqo->napi); napi 210 drivers/net/ethernet/ethoc.c struct napi_struct napi; napi 579 drivers/net/ethernet/ethoc.c napi_schedule(&priv->napi); napi 604 drivers/net/ethernet/ethoc.c static int ethoc_poll(struct napi_struct *napi, int budget) napi 606 drivers/net/ethernet/ethoc.c struct ethoc *priv = container_of(napi, struct ethoc, napi); napi 614 drivers/net/ethernet/ethoc.c napi_complete_done(napi, rx_work_done); napi 736 drivers/net/ethernet/ethoc.c napi_enable(&priv->napi); napi 766 drivers/net/ethernet/ethoc.c napi_disable(&priv->napi); napi 1226 drivers/net/ethernet/ethoc.c netif_napi_add(netdev, &priv->napi, ethoc_poll, 64); napi 1239 drivers/net/ethernet/ethoc.c netif_napi_del(&priv->napi); napi 1261 drivers/net/ethernet/ethoc.c netif_napi_del(&priv->napi); napi 174 drivers/net/ethernet/ezchip/nps_enet.c static int nps_enet_poll(struct napi_struct *napi, int budget) napi 176 drivers/net/ethernet/ezchip/nps_enet.c struct net_device *ndev = napi->dev; napi 182 drivers/net/ethernet/ezchip/nps_enet.c if ((work_done < budget) && napi_complete_done(napi, work_done)) { napi 202 drivers/net/ethernet/ezchip/nps_enet.c napi_reschedule(napi); napi 228 drivers/net/ethernet/ezchip/nps_enet.c if (likely(napi_schedule_prep(&priv->napi))) { napi 230 drivers/net/ethernet/ezchip/nps_enet.c __napi_schedule(&priv->napi); napi 493 drivers/net/ethernet/ezchip/nps_enet.c napi_enable(&priv->napi); napi 514 drivers/net/ethernet/ezchip/nps_enet.c napi_disable(&priv->napi); napi 619 drivers/net/ethernet/ezchip/nps_enet.c netif_napi_add(ndev, &priv->napi, nps_enet_poll, napi 634 drivers/net/ethernet/ezchip/nps_enet.c netif_napi_del(&priv->napi); napi 649 drivers/net/ethernet/ezchip/nps_enet.c netif_napi_del(&priv->napi); napi 164 drivers/net/ethernet/ezchip/nps_enet.h struct napi_struct napi; napi 88 drivers/net/ethernet/faraday/ftgmac100.c struct napi_struct napi; napi 565 drivers/net/ethernet/faraday/ftgmac100.c napi_gro_receive(&priv->napi, skb); napi 1276 drivers/net/ethernet/faraday/ftgmac100.c napi_schedule_irqoff(&priv->napi); napi 1289 drivers/net/ethernet/faraday/ftgmac100.c static int ftgmac100_poll(struct napi_struct *napi, int budget) napi 1291 drivers/net/ethernet/faraday/ftgmac100.c struct ftgmac100 *priv = container_of(napi, struct ftgmac100, napi); napi 1342 drivers/net/ethernet/faraday/ftgmac100.c napi_complete(napi); napi 1370 drivers/net/ethernet/faraday/ftgmac100.c napi_enable(&priv->napi); napi 1402 drivers/net/ethernet/faraday/ftgmac100.c napi_disable(&priv->napi); napi 1460 drivers/net/ethernet/faraday/ftgmac100.c netif_napi_add(netdev, &priv->napi, ftgmac100_poll, 64); napi 1492 drivers/net/ethernet/faraday/ftgmac100.c napi_disable(&priv->napi); napi 1498 drivers/net/ethernet/faraday/ftgmac100.c netif_napi_del(&priv->napi); napi 1521 drivers/net/ethernet/faraday/ftgmac100.c napi_disable(&priv->napi); napi 1522 drivers/net/ethernet/faraday/ftgmac100.c netif_napi_del(&priv->napi); napi 1923 drivers/net/ethernet/faraday/ftgmac100.c netif_napi_del(&priv->napi); napi 67 drivers/net/ethernet/faraday/ftmac100.c struct napi_struct napi; napi 864 drivers/net/ethernet/faraday/ftmac100.c napi_schedule(&priv->napi); napi 872 drivers/net/ethernet/faraday/ftmac100.c static int ftmac100_poll(struct napi_struct *napi, int budget) napi 874 drivers/net/ethernet/faraday/ftmac100.c struct ftmac100 *priv = container_of(napi, struct ftmac100, napi); napi 939 drivers/net/ethernet/faraday/ftmac100.c napi_complete(napi); napi 975 drivers/net/ethernet/faraday/ftmac100.c napi_enable(&priv->napi); napi 996 drivers/net/ethernet/faraday/ftmac100.c napi_disable(&priv->napi); napi 1094 drivers/net/ethernet/faraday/ftmac100.c netif_napi_add(netdev, &priv->napi, ftmac100_poll, 64); napi 1144 drivers/net/ethernet/faraday/ftmac100.c netif_napi_del(&priv->napi); napi 1163 drivers/net/ethernet/faraday/ftmac100.c netif_napi_del(&priv->napi); napi 2172 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c static int dpaa_eth_poll(struct napi_struct *napi, int budget) napi 2175 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c container_of(napi, struct dpaa_napi_portal, napi); napi 2180 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c napi_complete_done(napi, cleaned); napi 2221 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c napi_schedule(&percpu_priv->np.napi); napi 2459 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c napi_enable(&percpu_priv->np.napi); napi 2472 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c napi_disable(&percpu_priv->np.napi); napi 2654 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c netif_napi_add(net_dev, &percpu_priv->np.napi, napi 2670 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c netif_napi_del(&percpu_priv->np.napi); napi 126 drivers/net/ethernet/freescale/dpaa/dpaa_eth.h struct napi_struct napi; napi 1112 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c static int dpaa2_eth_poll(struct napi_struct *napi, int budget) napi 1123 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c ch = container_of(napi, struct dpaa2_eth_channel, napi); napi 1162 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c napi_complete_done(napi, rx_cleaned); napi 1196 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c napi_enable(&ch->napi); napi 1207 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c napi_disable(&ch->napi); napi 2041 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c napi_schedule_irqoff(&ch->napi); napi 3426 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netif_napi_add(priv->net_dev, &ch->napi, dpaa2_eth_poll, napi 3438 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netif_napi_del(&ch->napi); napi 333 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h struct napi_struct napi; napi 260 drivers/net/ethernet/freescale/enetc/enetc.c napi_schedule_irqoff(&v->napi); napi 267 drivers/net/ethernet/freescale/enetc/enetc.c struct napi_struct *napi, int work_limit); napi 269 drivers/net/ethernet/freescale/enetc/enetc.c static int enetc_poll(struct napi_struct *napi, int budget) napi 272 drivers/net/ethernet/freescale/enetc/enetc.c *v = container_of(napi, struct enetc_int_vector, napi); napi 281 drivers/net/ethernet/freescale/enetc/enetc.c work_done = enetc_clean_rx_ring(&v->rx_ring, napi, budget); napi 288 drivers/net/ethernet/freescale/enetc/enetc.c napi_complete_done(napi, work_done); napi 625 drivers/net/ethernet/freescale/enetc/enetc.c struct napi_struct *napi, int work_limit) napi 713 drivers/net/ethernet/freescale/enetc/enetc.c napi_gro_receive(napi, skb); napi 1374 drivers/net/ethernet/freescale/enetc/enetc.c napi_enable(&priv->int_vector[i]->napi); napi 1415 drivers/net/ethernet/freescale/enetc/enetc.c napi_synchronize(&priv->int_vector[i]->napi); napi 1416 drivers/net/ethernet/freescale/enetc/enetc.c napi_disable(&priv->int_vector[i]->napi); napi 1639 drivers/net/ethernet/freescale/enetc/enetc.c netif_napi_add(priv->ndev, &v->napi, enetc_poll, napi 1673 drivers/net/ethernet/freescale/enetc/enetc.c netif_napi_del(&priv->int_vector[i]->napi); napi 1689 drivers/net/ethernet/freescale/enetc/enetc.c netif_napi_del(&v->napi); napi 158 drivers/net/ethernet/freescale/enetc/enetc.h struct napi_struct napi; napi 553 drivers/net/ethernet/freescale/fec.h struct napi_struct napi; napi 1216 drivers/net/ethernet/freescale/fec_main.c napi_disable(&fep->napi); napi 1221 drivers/net/ethernet/freescale/fec_main.c napi_enable(&fep->napi); napi 1557 drivers/net/ethernet/freescale/fec_main.c napi_gro_receive(&fep->napi, skb); napi 1661 drivers/net/ethernet/freescale/fec_main.c if (napi_schedule_prep(&fep->napi)) { napi 1664 drivers/net/ethernet/freescale/fec_main.c __napi_schedule(&fep->napi); napi 1675 drivers/net/ethernet/freescale/fec_main.c static int fec_enet_rx_napi(struct napi_struct *napi, int budget) napi 1677 drivers/net/ethernet/freescale/fec_main.c struct net_device *ndev = napi->dev; napi 1686 drivers/net/ethernet/freescale/fec_main.c napi_complete_done(napi, pkts); napi 1798 drivers/net/ethernet/freescale/fec_main.c napi_disable(&fep->napi); napi 1803 drivers/net/ethernet/freescale/fec_main.c napi_enable(&fep->napi); napi 1807 drivers/net/ethernet/freescale/fec_main.c napi_disable(&fep->napi); napi 1811 drivers/net/ethernet/freescale/fec_main.c napi_enable(&fep->napi); napi 2353 drivers/net/ethernet/freescale/fec_main.c napi_disable(&fep->napi); napi 2358 drivers/net/ethernet/freescale/fec_main.c napi_enable(&fep->napi); napi 2999 drivers/net/ethernet/freescale/fec_main.c napi_enable(&fep->napi); napi 3027 drivers/net/ethernet/freescale/fec_main.c napi_disable(&fep->napi); napi 3186 drivers/net/ethernet/freescale/fec_main.c napi_disable(&fep->napi); napi 3193 drivers/net/ethernet/freescale/fec_main.c napi_enable(&fep->napi); napi 3312 drivers/net/ethernet/freescale/fec_main.c netif_napi_add(ndev, &fep->napi, fec_enet_rx_napi, NAPI_POLL_WEIGHT); napi 3776 drivers/net/ethernet/freescale/fec_main.c napi_disable(&fep->napi); napi 3833 drivers/net/ethernet/freescale/fec_main.c napi_enable(&fep->napi); napi 86 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c static int fs_enet_napi(struct napi_struct *napi, int budget) napi 88 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c struct fs_enet_private *fep = container_of(napi, struct fs_enet_private, napi); napi 304 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c napi_complete_done(napi, received); napi 344 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c napi_ok = napi_schedule_prep(&fep->napi); napi 352 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c __napi_schedule(&fep->napi); napi 739 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c napi_enable(&fep->napi); napi 746 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c napi_disable(&fep->napi); napi 753 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c napi_disable(&fep->napi); napi 770 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c napi_disable(&fep->napi); napi 1033 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c netif_napi_add(ndev, &fep->napi, fs_enet_napi, fpi->napi_weight); napi 122 drivers/net/ethernet/freescale/fs_enet/fs_enet.h struct napi_struct napi; napi 2624 drivers/net/ethernet/freescale/gianfar.c static int gfar_poll_rx_sq(struct napi_struct *napi, int budget) napi 2627 drivers/net/ethernet/freescale/gianfar.c container_of(napi, struct gfar_priv_grp, napi_rx); napi 2641 drivers/net/ethernet/freescale/gianfar.c napi_complete_done(napi, work_done); napi 2655 drivers/net/ethernet/freescale/gianfar.c static int gfar_poll_tx_sq(struct napi_struct *napi, int budget) napi 2658 drivers/net/ethernet/freescale/gianfar.c container_of(napi, struct gfar_priv_grp, napi_tx); napi 2672 drivers/net/ethernet/freescale/gianfar.c napi_complete(napi); napi 2683 drivers/net/ethernet/freescale/gianfar.c static int gfar_poll_rx(struct napi_struct *napi, int budget) napi 2686 drivers/net/ethernet/freescale/gianfar.c container_of(napi, struct gfar_priv_grp, napi_rx); napi 2730 drivers/net/ethernet/freescale/gianfar.c napi_complete_done(napi, work_done); napi 2745 drivers/net/ethernet/freescale/gianfar.c static int gfar_poll_tx(struct napi_struct *napi, int budget) napi 2748 drivers/net/ethernet/freescale/gianfar.c container_of(napi, struct gfar_priv_grp, napi_tx); napi 2771 drivers/net/ethernet/freescale/gianfar.c napi_complete(napi); napi 1559 drivers/net/ethernet/freescale/ucc_geth.c napi_disable(&ugeth->napi); napi 1564 drivers/net/ethernet/freescale/ucc_geth.c napi_enable(&ugeth->napi); napi 3281 drivers/net/ethernet/freescale/ucc_geth.c static int ucc_geth_poll(struct napi_struct *napi, int budget) napi 3283 drivers/net/ethernet/freescale/ucc_geth.c struct ucc_geth_private *ugeth = container_of(napi, struct ucc_geth_private, napi); napi 3300 drivers/net/ethernet/freescale/ucc_geth.c napi_complete_done(napi, howmany); napi 3329 drivers/net/ethernet/freescale/ucc_geth.c if (napi_schedule_prep(&ugeth->napi)) { napi 3332 drivers/net/ethernet/freescale/ucc_geth.c __napi_schedule(&ugeth->napi); napi 3477 drivers/net/ethernet/freescale/ucc_geth.c napi_enable(&ugeth->napi); napi 3499 drivers/net/ethernet/freescale/ucc_geth.c napi_disable(&ugeth->napi); napi 3568 drivers/net/ethernet/freescale/ucc_geth.c napi_disable(&ugeth->napi); napi 3624 drivers/net/ethernet/freescale/ucc_geth.c napi_enable(&ugeth->napi); napi 3891 drivers/net/ethernet/freescale/ucc_geth.c netif_napi_add(dev, &ugeth->napi, ucc_geth_poll, 64); napi 1156 drivers/net/ethernet/freescale/ucc_geth.h struct napi_struct napi; napi 146 drivers/net/ethernet/google/gve/gve.h struct napi_struct napi; /* kernel napi struct for this block */ napi 95 drivers/net/ethernet/google/gve/gve_main.c napi_schedule_irqoff(&block->napi); napi 99 drivers/net/ethernet/google/gve/gve_main.c static int gve_napi_poll(struct napi_struct *napi, int budget) napi 106 drivers/net/ethernet/google/gve/gve_main.c block = container_of(napi, struct gve_notify_block, napi); napi 117 drivers/net/ethernet/google/gve/gve_main.c napi_complete(napi); napi 129 drivers/net/ethernet/google/gve/gve_main.c if (reschedule && napi_reschedule(napi)) napi 318 drivers/net/ethernet/google/gve/gve_main.c netif_napi_add(priv->dev, &block->napi, gve_napi_poll, napi 326 drivers/net/ethernet/google/gve/gve_main.c netif_napi_del(&block->napi); napi 807 drivers/net/ethernet/google/gve/gve_main.c napi_disable(&block->napi); napi 813 drivers/net/ethernet/google/gve/gve_main.c napi_disable(&block->napi); napi 834 drivers/net/ethernet/google/gve/gve_main.c napi_enable(&block->napi); napi 841 drivers/net/ethernet/google/gve/gve_main.c napi_enable(&block->napi); napi 229 drivers/net/ethernet/google/gve/gve_rx.c struct napi_struct *napi, napi 233 drivers/net/ethernet/google/gve/gve_rx.c struct sk_buff *skb = napi_alloc_skb(napi, len); napi 249 drivers/net/ethernet/google/gve/gve_rx.c struct napi_struct *napi, napi 253 drivers/net/ethernet/google/gve/gve_rx.c struct sk_buff *skb = napi_get_frags(napi); napi 280 drivers/net/ethernet/google/gve/gve_rx.c struct napi_struct *napi = &priv->ntfy_blocks[rx->ntfy_id].napi; napi 303 drivers/net/ethernet/google/gve/gve_rx.c skb = gve_rx_copy(dev, napi, page_info, len); napi 307 drivers/net/ethernet/google/gve/gve_rx.c skb = gve_rx_copy(dev, napi, page_info, len); napi 316 drivers/net/ethernet/google/gve/gve_rx.c skb = gve_rx_add_frags(dev, napi, page_info, len); napi 327 drivers/net/ethernet/google/gve/gve_rx.c skb = gve_rx_copy(dev, napi, page_info, len); napi 333 drivers/net/ethernet/google/gve/gve_rx.c skb = gve_rx_copy(dev, napi, page_info, len); napi 359 drivers/net/ethernet/google/gve/gve_rx.c napi_gro_frags(napi); napi 361 drivers/net/ethernet/google/gve/gve_rx.c napi_gro_receive(napi, skb); napi 431 drivers/net/ethernet/google/gve/gve_rx.c feat = block->napi.dev->features; napi 222 drivers/net/ethernet/hisilicon/hip04_eth.c struct napi_struct napi; napi 558 drivers/net/ethernet/hisilicon/hip04_eth.c if (napi_schedule_prep(&priv->napi)) { napi 564 drivers/net/ethernet/hisilicon/hip04_eth.c __napi_schedule(&priv->napi); napi 574 drivers/net/ethernet/hisilicon/hip04_eth.c static int hip04_rx_poll(struct napi_struct *napi, int budget) napi 576 drivers/net/ethernet/hisilicon/hip04_eth.c struct hip04_priv *priv = container_of(napi, struct hip04_priv, napi); napi 619 drivers/net/ethernet/hisilicon/hip04_eth.c napi_gro_receive(&priv->napi, skb); napi 652 drivers/net/ethernet/hisilicon/hip04_eth.c napi_complete_done(napi, rx); napi 685 drivers/net/ethernet/hisilicon/hip04_eth.c if (ists & RCV_INT && napi_schedule_prep(&priv->napi)) { napi 690 drivers/net/ethernet/hisilicon/hip04_eth.c __napi_schedule(&priv->napi); napi 702 drivers/net/ethernet/hisilicon/hip04_eth.c if (napi_schedule_prep(&priv->napi)) { napi 706 drivers/net/ethernet/hisilicon/hip04_eth.c __napi_schedule(&priv->napi); napi 752 drivers/net/ethernet/hisilicon/hip04_eth.c napi_enable(&priv->napi); napi 762 drivers/net/ethernet/hisilicon/hip04_eth.c napi_disable(&priv->napi); napi 1002 drivers/net/ethernet/hisilicon/hip04_eth.c netif_napi_add(ndev, &priv->napi, hip04_rx_poll, NAPI_POLL_WEIGHT); napi 123 drivers/net/ethernet/hisilicon/hisi_femac.c struct napi_struct napi; napi 284 drivers/net/ethernet/hisilicon/hisi_femac.c napi_gro_receive(&priv->napi, skb); napi 299 drivers/net/ethernet/hisilicon/hisi_femac.c static int hisi_femac_poll(struct napi_struct *napi, int budget) napi 301 drivers/net/ethernet/hisilicon/hisi_femac.c struct hisi_femac_priv *priv = container_of(napi, napi 302 drivers/net/ethernet/hisilicon/hisi_femac.c struct hisi_femac_priv, napi); napi 321 drivers/net/ethernet/hisilicon/hisi_femac.c napi_complete_done(napi, work_done); napi 341 drivers/net/ethernet/hisilicon/hisi_femac.c napi_schedule(&priv->napi); napi 470 drivers/net/ethernet/hisilicon/hisi_femac.c napi_enable(&priv->napi); napi 492 drivers/net/ethernet/hisilicon/hisi_femac.c napi_disable(&priv->napi); napi 870 drivers/net/ethernet/hisilicon/hisi_femac.c netif_napi_add(ndev, &priv->napi, hisi_femac_poll, FEMAC_POLL_WEIGHT); napi 900 drivers/net/ethernet/hisilicon/hisi_femac.c netif_napi_del(&priv->napi); napi 915 drivers/net/ethernet/hisilicon/hisi_femac.c netif_napi_del(&priv->napi); napi 271 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c struct napi_struct napi; napi 551 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c napi_gro_receive(&priv->napi, skb); napi 640 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c static int hix5hd2_poll(struct napi_struct *napi, int budget) napi 642 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c struct hix5hd2_priv *priv = container_of(napi, napi 643 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c struct hix5hd2_priv, napi); napi 661 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c napi_complete_done(napi, work_done); napi 677 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c napi_schedule(&priv->napi); napi 858 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c napi_enable(&priv->napi); napi 872 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c napi_disable(&priv->napi); napi 1250 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c netif_napi_add(ndev, &priv->napi, hix5hd2_poll, NAPI_POLL_WEIGHT); napi 1272 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c netif_napi_del(&priv->napi); napi 1295 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c netif_napi_del(&priv->napi); napi 476 drivers/net/ethernet/hisilicon/hns/hns_enet.c struct net_device *netdev = ring_data->napi.dev; napi 542 drivers/net/ethernet/hisilicon/hns/hns_enet.c struct net_device *ndev = ring_data->napi.dev; napi 565 drivers/net/ethernet/hisilicon/hns/hns_enet.c skb = *out_skb = napi_alloc_skb(&ring_data->napi, napi 670 drivers/net/ethernet/hisilicon/hns/hns_enet.c struct net_device *ndev = ring_data->napi.dev; napi 699 drivers/net/ethernet/hisilicon/hns/hns_enet.c struct net_device *ndev = ring_data->napi.dev; napi 702 drivers/net/ethernet/hisilicon/hns/hns_enet.c (void)napi_gro_receive(&ring_data->napi, skb); napi 952 drivers/net/ethernet/hisilicon/hns/hns_enet.c struct net_device *ndev = ring_data->napi.dev; napi 1036 drivers/net/ethernet/hisilicon/hns/hns_enet.c struct net_device *ndev = ring_data->napi.dev; napi 1051 drivers/net/ethernet/hisilicon/hns/hns_enet.c static int hns_nic_common_poll(struct napi_struct *napi, int budget) napi 1055 drivers/net/ethernet/hisilicon/hns/hns_enet.c container_of(napi, struct hns_nic_ring_data, napi); napi 1064 drivers/net/ethernet/hisilicon/hns/hns_enet.c napi_complete(napi); napi 1080 drivers/net/ethernet/hisilicon/hns/hns_enet.c napi_schedule(&ring_data->napi); napi 1173 drivers/net/ethernet/hisilicon/hns/hns_enet.c napi_enable(&priv->ring_data[idx].napi); napi 1230 drivers/net/ethernet/hisilicon/hns/hns_enet.c napi_disable(&priv->ring_data[idx].napi); napi 2127 drivers/net/ethernet/hisilicon/hns/hns_enet.c netif_napi_add(priv->netdev, &rd->napi, napi 2140 drivers/net/ethernet/hisilicon/hns/hns_enet.c netif_napi_add(priv->netdev, &rd->napi, napi 2154 drivers/net/ethernet/hisilicon/hns/hns_enet.c netif_napi_del(&priv->ring_data[i].napi); napi 35 drivers/net/ethernet/hisilicon/hns/hns_enet.h struct napi_struct napi; napi 406 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c ndev = ring_data->napi.dev; napi 91 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c napi_schedule_irqoff(&tqp_vector->napi); napi 177 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c napi_enable(&tqp_vector->napi); napi 189 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c napi_disable(&tqp_vector->napi); napi 1681 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c struct napi_struct *napi; napi 1718 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c napi = &tx_ring->tqp_vector->napi; napi 1723 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c tx_ring->next_to_clean, napi->state); napi 2413 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c hns3_rl_err(ring->tqp_vector->napi.dev, napi 2576 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c napi_gro_flush(&ring->tqp_vector->napi, false); napi 2578 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c napi_gro_receive(&ring->tqp_vector->napi, skb); napi 2641 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c ring->skb = napi_alloc_skb(&ring->tqp_vector->napi, HNS3_RX_HEAD_SIZE); napi 2716 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c new_skb = napi_alloc_skb(&ring->tqp_vector->napi, napi 2719 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c hns3_rl_err(ring->tqp_vector->napi.dev, napi 3139 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c static int hns3_nic_common_poll(struct napi_struct *napi, int budget) napi 3141 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c struct hns3_nic_priv *priv = netdev_priv(napi->dev); napi 3146 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c container_of(napi, struct hns3_enet_tqp_vector, napi); napi 3151 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c napi_complete(napi); napi 3180 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c if (napi_complete(napi) && napi 3368 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c netif_napi_add(priv->netdev, &tqp_vector->napi, napi 3376 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c netif_napi_del(&priv->tqp_vector[i].napi); napi 3463 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c netif_napi_del(&priv->tqp_vector[i].napi); napi 439 drivers/net/ethernet/hisilicon/hns3/hns3_enet.h struct napi_struct napi; napi 485 drivers/net/ethernet/hisilicon/hns3/hns3_enet.h struct napi_struct napi; napi 390 drivers/net/ethernet/huawei/hinic/hinic_rx.c napi_gro_receive(&rxq->napi, skb); napi 423 drivers/net/ethernet/huawei/hinic/hinic_rx.c static int rx_poll(struct napi_struct *napi, int budget) napi 425 drivers/net/ethernet/huawei/hinic/hinic_rx.c struct hinic_rxq *rxq = container_of(napi, struct hinic_rxq, napi); napi 434 drivers/net/ethernet/huawei/hinic/hinic_rx.c napi_complete(napi); napi 446 drivers/net/ethernet/huawei/hinic/hinic_rx.c netif_napi_add(rxq->netdev, &rxq->napi, rx_poll, nic_dev->rx_weight); napi 447 drivers/net/ethernet/huawei/hinic/hinic_rx.c napi_enable(&rxq->napi); napi 452 drivers/net/ethernet/huawei/hinic/hinic_rx.c napi_disable(&rxq->napi); napi 453 drivers/net/ethernet/huawei/hinic/hinic_rx.c netif_napi_del(&rxq->napi); napi 471 drivers/net/ethernet/huawei/hinic/hinic_rx.c napi_schedule(&rxq->napi); napi 41 drivers/net/ethernet/huawei/hinic/hinic_rx.h struct napi_struct napi; napi 607 drivers/net/ethernet/huawei/hinic/hinic_tx.c static int free_tx_poll(struct napi_struct *napi, int budget) napi 609 drivers/net/ethernet/huawei/hinic/hinic_tx.c struct hinic_txq *txq = container_of(napi, struct hinic_txq, napi); napi 675 drivers/net/ethernet/huawei/hinic/hinic_tx.c napi_complete(napi); napi 687 drivers/net/ethernet/huawei/hinic/hinic_tx.c netif_napi_add(txq->netdev, &txq->napi, free_tx_poll, weight); napi 688 drivers/net/ethernet/huawei/hinic/hinic_tx.c napi_enable(&txq->napi); napi 693 drivers/net/ethernet/huawei/hinic/hinic_tx.c napi_disable(&txq->napi); napi 694 drivers/net/ethernet/huawei/hinic/hinic_tx.c netif_napi_del(&txq->napi); napi 711 drivers/net/ethernet/huawei/hinic/hinic_tx.c napi_schedule(&txq->napi); napi 40 drivers/net/ethernet/huawei/hinic/hinic_tx.h struct napi_struct napi; napi 342 drivers/net/ethernet/ibm/ehea/ehea.h struct napi_struct napi; napi 728 drivers/net/ethernet/ibm/ehea/ehea_main.c napi_gro_receive(&pr->napi, skb); napi 873 drivers/net/ethernet/ibm/ehea/ehea_main.c static int ehea_poll(struct napi_struct *napi, int budget) napi 875 drivers/net/ethernet/ibm/ehea/ehea_main.c struct ehea_port_res *pr = container_of(napi, struct ehea_port_res, napi 876 drivers/net/ethernet/ibm/ehea/ehea_main.c napi); napi 887 drivers/net/ethernet/ibm/ehea/ehea_main.c napi_complete(napi); napi 899 drivers/net/ethernet/ibm/ehea/ehea_main.c if (!napi_reschedule(napi)) napi 913 drivers/net/ethernet/ibm/ehea/ehea_main.c napi_schedule(&pr->napi); napi 1546 drivers/net/ethernet/ibm/ehea/ehea_main.c netif_napi_add(pr->port->netdev, &pr->napi, ehea_poll, 64); napi 1570 drivers/net/ethernet/ibm/ehea/ehea_main.c netif_napi_del(&pr->napi); napi 2390 drivers/net/ethernet/ibm/ehea/ehea_main.c napi_disable(&port->port_res[i].napi); napi 2398 drivers/net/ethernet/ibm/ehea/ehea_main.c napi_enable(&port->port_res[i].napi); napi 1209 drivers/net/ethernet/ibm/emac/core.c skb = napi_alloc_skb(&dev->mal->napi, dev->rx_skb_size); napi 1791 drivers/net/ethernet/ibm/emac/core.c copy_skb = napi_alloc_skb(&dev->mal->napi, len); napi 51 drivers/net/ethernet/ibm/emac/mal.c napi_enable(&mal->napi); napi 75 drivers/net/ethernet/ibm/emac/mal.c napi_disable(&mal->napi); napi 260 drivers/net/ethernet/ibm/emac/mal.c if (likely(napi_schedule_prep(&mal->napi))) { napi 265 drivers/net/ethernet/ibm/emac/mal.c __napi_schedule(&mal->napi); napi 376 drivers/net/ethernet/ibm/emac/mal.c napi_synchronize(&mal->napi); napi 389 drivers/net/ethernet/ibm/emac/mal.c napi_schedule(&mal->napi); napi 392 drivers/net/ethernet/ibm/emac/mal.c static int mal_poll(struct napi_struct *napi, int budget) napi 394 drivers/net/ethernet/ibm/emac/mal.c struct mal_instance *mal = container_of(napi, struct mal_instance, napi); napi 427 drivers/net/ethernet/ibm/emac/mal.c if (napi_complete_done(napi, received)) { napi 443 drivers/net/ethernet/ibm/emac/mal.c if (!napi_reschedule(napi)) napi 608 drivers/net/ethernet/ibm/emac/mal.c netif_napi_add(&mal->dummy_dev, &mal->napi, mal_poll, napi 719 drivers/net/ethernet/ibm/emac/mal.c napi_disable(&mal->napi); napi 195 drivers/net/ethernet/ibm/emac/mal.h struct napi_struct napi; napi 510 drivers/net/ethernet/ibm/ibmveth.c napi_enable(&adapter->napi); napi 655 drivers/net/ethernet/ibm/ibmveth.c napi_disable(&adapter->napi); napi 668 drivers/net/ethernet/ibm/ibmveth.c napi_disable(&adapter->napi); napi 1295 drivers/net/ethernet/ibm/ibmveth.c static int ibmveth_poll(struct napi_struct *napi, int budget) napi 1298 drivers/net/ethernet/ibm/ibmveth.c container_of(napi, struct ibmveth_adapter, napi); napi 1366 drivers/net/ethernet/ibm/ibmveth.c napi_gro_receive(napi, skb); /* send it up */ napi 1377 drivers/net/ethernet/ibm/ibmveth.c napi_complete_done(napi, frames_processed); napi 1388 drivers/net/ethernet/ibm/ibmveth.c napi_reschedule(napi)) { napi 1403 drivers/net/ethernet/ibm/ibmveth.c if (napi_schedule_prep(&adapter->napi)) { napi 1407 drivers/net/ethernet/ibm/ibmveth.c __napi_schedule(&adapter->napi); napi 1652 drivers/net/ethernet/ibm/ibmveth.c netif_napi_add(netdev, &adapter->napi, ibmveth_poll, 16); napi 136 drivers/net/ethernet/ibm/ibmveth.h struct napi_struct napi; napi 99 drivers/net/ethernet/ibm/ibmvnic.c static int ibmvnic_poll(struct napi_struct *napi, int data); napi 720 drivers/net/ethernet/ibm/ibmvnic.c napi_enable(&adapter->napi[i]); napi 734 drivers/net/ethernet/ibm/ibmvnic.c napi_disable(&adapter->napi[i]); napi 744 drivers/net/ethernet/ibm/ibmvnic.c adapter->napi = kcalloc(adapter->req_rx_queues, napi 746 drivers/net/ethernet/ibm/ibmvnic.c if (!adapter->napi) napi 751 drivers/net/ethernet/ibm/ibmvnic.c netif_napi_add(adapter->netdev, &adapter->napi[i], napi 763 drivers/net/ethernet/ibm/ibmvnic.c if (!adapter->napi) napi 768 drivers/net/ethernet/ibm/ibmvnic.c netif_napi_del(&adapter->napi[i]); napi 771 drivers/net/ethernet/ibm/ibmvnic.c kfree(adapter->napi); napi 772 drivers/net/ethernet/ibm/ibmvnic.c adapter->napi = NULL; napi 1061 drivers/net/ethernet/ibm/ibmvnic.c napi_disable(&adapter->napi[i]); napi 1070 drivers/net/ethernet/ibm/ibmvnic.c napi_schedule(&adapter->napi[i]); napi 1801 drivers/net/ethernet/ibm/ibmvnic.c napi_schedule(&adapter->napi[i]); napi 1942 drivers/net/ethernet/ibm/ibmvnic.c napi_schedule(&adapter->napi[i]); napi 2213 drivers/net/ethernet/ibm/ibmvnic.c static int ibmvnic_poll(struct napi_struct *napi, int budget) napi 2215 drivers/net/ethernet/ibm/ibmvnic.c struct net_device *netdev = napi->dev; napi 2217 drivers/net/ethernet/ibm/ibmvnic.c int scrq_num = (int)(napi - adapter->napi); napi 2232 drivers/net/ethernet/ibm/ibmvnic.c napi_complete_done(napi, frames_processed); napi 2287 drivers/net/ethernet/ibm/ibmvnic.c napi_gro_receive(napi, skb); /* send it up */ napi 2300 drivers/net/ethernet/ibm/ibmvnic.c napi_complete_done(napi, frames_processed); napi 2302 drivers/net/ethernet/ibm/ibmvnic.c napi_reschedule(napi)) { napi 2999 drivers/net/ethernet/ibm/ibmvnic.c if (napi_schedule_prep(&adapter->napi[scrq->scrq_num])) { napi 3001 drivers/net/ethernet/ibm/ibmvnic.c __napi_schedule(&adapter->napi[scrq->scrq_num]); napi 1019 drivers/net/ethernet/ibm/ibmvnic.h struct napi_struct *napi; napi 558 drivers/net/ethernet/intel/e100.c struct napi_struct napi; napi 2212 drivers/net/ethernet/intel/e100.c if (likely(napi_schedule_prep(&nic->napi))) { napi 2214 drivers/net/ethernet/intel/e100.c __napi_schedule(&nic->napi); napi 2220 drivers/net/ethernet/intel/e100.c static int e100_poll(struct napi_struct *napi, int budget) napi 2222 drivers/net/ethernet/intel/e100.c struct nic *nic = container_of(napi, struct nic, napi); napi 2233 drivers/net/ethernet/intel/e100.c if (likely(napi_complete_done(napi, work_done))) napi 2291 drivers/net/ethernet/intel/e100.c napi_enable(&nic->napi); napi 2309 drivers/net/ethernet/intel/e100.c napi_disable(&nic->napi); napi 2837 drivers/net/ethernet/intel/e100.c netif_napi_add(netdev, &nic->napi, e100_poll, E100_NAPI_WEIGHT); napi 256 drivers/net/ethernet/intel/e1000/e1000.h struct napi_struct napi; napi 114 drivers/net/ethernet/intel/e1000/e1000_main.c static int e1000_clean(struct napi_struct *napi, int budget); napi 397 drivers/net/ethernet/intel/e1000/e1000_main.c napi_enable(&adapter->napi); napi 522 drivers/net/ethernet/intel/e1000/e1000_main.c napi_disable(&adapter->napi); napi 1014 drivers/net/ethernet/intel/e1000/e1000_main.c netif_napi_add(netdev, &adapter->napi, e1000_clean, 64); napi 1397 drivers/net/ethernet/intel/e1000/e1000_main.c napi_enable(&adapter->napi); napi 2113 drivers/net/ethernet/intel/e1000/e1000_main.c napi_free_frags(&adapter->napi); napi 3769 drivers/net/ethernet/intel/e1000/e1000_main.c if (likely(napi_schedule_prep(&adapter->napi))) { napi 3774 drivers/net/ethernet/intel/e1000/e1000_main.c __napi_schedule(&adapter->napi); napi 3790 drivers/net/ethernet/intel/e1000/e1000_main.c static int e1000_clean(struct napi_struct *napi, int budget) napi 3792 drivers/net/ethernet/intel/e1000/e1000_main.c struct e1000_adapter *adapter = container_of(napi, struct e1000_adapter, napi 3793 drivers/net/ethernet/intel/e1000/e1000_main.c napi); napi 3806 drivers/net/ethernet/intel/e1000/e1000_main.c if (likely(napi_complete_done(napi, work_done))) { napi 3998 drivers/net/ethernet/intel/e1000/e1000_main.c napi_gro_receive(&adapter->napi, skb); napi 4101 drivers/net/ethernet/intel/e1000/e1000_main.c struct sk_buff *skb = napi_alloc_skb(&adapter->napi, bufsz); napi 4190 drivers/net/ethernet/intel/e1000/e1000_main.c rxtop = napi_get_frags(&adapter->napi); napi 4249 drivers/net/ethernet/intel/e1000/e1000_main.c skb = napi_get_frags(&adapter->napi); napi 4280 drivers/net/ethernet/intel/e1000/e1000_main.c napi_gro_frags(&adapter->napi); napi 218 drivers/net/ethernet/intel/e1000e/e1000.h struct napi_struct napi; napi 564 drivers/net/ethernet/intel/e1000e/netdev.c napi_gro_receive(&adapter->napi, skb); napi 1003 drivers/net/ethernet/intel/e1000e/netdev.c napi_alloc_skb(&adapter->napi, length); napi 1803 drivers/net/ethernet/intel/e1000e/netdev.c if (napi_schedule_prep(&adapter->napi)) { napi 1808 drivers/net/ethernet/intel/e1000e/netdev.c __napi_schedule(&adapter->napi); napi 1883 drivers/net/ethernet/intel/e1000e/netdev.c if (napi_schedule_prep(&adapter->napi)) { napi 1888 drivers/net/ethernet/intel/e1000e/netdev.c __napi_schedule(&adapter->napi); napi 1954 drivers/net/ethernet/intel/e1000e/netdev.c if (napi_schedule_prep(&adapter->napi)) { napi 1957 drivers/net/ethernet/intel/e1000e/netdev.c __napi_schedule(&adapter->napi); napi 2656 drivers/net/ethernet/intel/e1000e/netdev.c static int e1000e_poll(struct napi_struct *napi, int budget) napi 2658 drivers/net/ethernet/intel/e1000e/netdev.c struct e1000_adapter *adapter = container_of(napi, struct e1000_adapter, napi 2659 drivers/net/ethernet/intel/e1000e/netdev.c napi); napi 2678 drivers/net/ethernet/intel/e1000e/netdev.c if (likely(napi_complete_done(napi, work_done))) { napi 4279 drivers/net/ethernet/intel/e1000e/netdev.c napi_synchronize(&adapter->napi); napi 4665 drivers/net/ethernet/intel/e1000e/netdev.c napi_enable(&adapter->napi); napi 4724 drivers/net/ethernet/intel/e1000e/netdev.c napi_disable(&adapter->napi); napi 7159 drivers/net/ethernet/intel/e1000e/netdev.c netif_napi_add(netdev, &adapter->napi, e1000e_poll, 64); napi 191 drivers/net/ethernet/intel/fm10k/fm10k.h struct napi_struct napi; napi 322 drivers/net/ethernet/intel/fm10k/fm10k_main.c skb = napi_alloc_skb(&rx_ring->q_vector->napi, napi 562 drivers/net/ethernet/intel/fm10k/fm10k_main.c napi_gro_receive(&q_vector->napi, skb); napi 1431 drivers/net/ethernet/intel/fm10k/fm10k_main.c static int fm10k_poll(struct napi_struct *napi, int budget) napi 1434 drivers/net/ethernet/intel/fm10k/fm10k_main.c container_of(napi, struct fm10k_q_vector, napi); napi 1471 drivers/net/ethernet/intel/fm10k/fm10k_main.c if (likely(napi_complete_done(napi, work_done))) napi 1616 drivers/net/ethernet/intel/fm10k/fm10k_main.c netif_napi_add(interface->netdev, &q_vector->napi, napi 1715 drivers/net/ethernet/intel/fm10k/fm10k_main.c netif_napi_del(&q_vector->napi); napi 1179 drivers/net/ethernet/intel/fm10k/fm10k_pci.c napi_enable(&q_vector->napi); napi 1188 drivers/net/ethernet/intel/fm10k/fm10k_pci.c napi_schedule_irqoff(&q_vector->napi); napi 1876 drivers/net/ethernet/intel/fm10k/fm10k_pci.c napi_disable(&q_vector->napi); napi 861 drivers/net/ethernet/intel/i40e/i40e.h struct napi_struct napi; napi 1703 drivers/net/ethernet/intel/i40e/i40e_debugfs.c napi_schedule(&vsi->q_vectors[i]->napi); napi 3728 drivers/net/ethernet/intel/i40e/i40e_main.c napi_schedule_irqoff(&q_vector->napi); napi 3967 drivers/net/ethernet/intel/i40e/i40e_main.c napi_schedule_irqoff(&q_vector->napi); napi 4741 drivers/net/ethernet/intel/i40e/i40e_main.c netif_napi_del(&q_vector->napi); napi 4820 drivers/net/ethernet/intel/i40e/i40e_main.c napi_enable(&q_vector->napi); napi 4839 drivers/net/ethernet/intel/i40e/i40e_main.c napi_disable(&q_vector->napi); napi 11169 drivers/net/ethernet/intel/i40e/i40e_main.c netif_napi_add(vsi->netdev, &q_vector->napi, napi 12640 drivers/net/ethernet/intel/i40e/i40e_main.c napi_enable(&q_vector->napi); napi 12642 drivers/net/ethernet/intel/i40e/i40e_main.c napi_disable(&q_vector->napi); napi 2029 drivers/net/ethernet/intel/i40e/i40e_txrx.c skb = __napi_alloc_skb(&rx_ring->q_vector->napi, napi 2440 drivers/net/ethernet/intel/i40e/i40e_txrx.c napi_gro_receive(&rx_ring->q_vector->napi, skb); napi 2568 drivers/net/ethernet/intel/i40e/i40e_txrx.c int i40e_napi_poll(struct napi_struct *napi, int budget) napi 2571 drivers/net/ethernet/intel/i40e/i40e_txrx.c container_of(napi, struct i40e_q_vector, napi); napi 2580 drivers/net/ethernet/intel/i40e/i40e_txrx.c napi_complete(napi); napi 2633 drivers/net/ethernet/intel/i40e/i40e_txrx.c napi_complete_done(napi, work_done); napi 2655 drivers/net/ethernet/intel/i40e/i40e_txrx.c if (likely(napi_complete_done(napi, work_done))) napi 490 drivers/net/ethernet/intel/i40e/i40e_txrx.h int i40e_napi_poll(struct napi_struct *napi, int budget); napi 495 drivers/net/ethernet/intel/i40e/i40e_xsk.c skb = __napi_alloc_skb(&rx_ring->q_vector->napi, napi 623 drivers/net/ethernet/intel/i40e/i40e_xsk.c napi_gro_receive(&rx_ring->q_vector->napi, skb); napi 816 drivers/net/ethernet/intel/i40e/i40e_xsk.c if (!napi_if_scheduled_mark_missed(&ring->q_vector->napi)) napi 96 drivers/net/ethernet/intel/iavf/iavf.h struct napi_struct napi; napi 290 drivers/net/ethernet/intel/iavf/iavf_main.c napi_schedule_irqoff(&q_vector->napi); napi 897 drivers/net/ethernet/intel/iavf/iavf_main.c struct napi_struct *napi; napi 900 drivers/net/ethernet/intel/iavf/iavf_main.c napi = &q_vector->napi; napi 901 drivers/net/ethernet/intel/iavf/iavf_main.c napi_enable(napi); napi 917 drivers/net/ethernet/intel/iavf/iavf_main.c napi_disable(&q_vector->napi); napi 1352 drivers/net/ethernet/intel/iavf/iavf_main.c netif_napi_add(adapter->netdev, &q_vector->napi, napi 1382 drivers/net/ethernet/intel/iavf/iavf_main.c netif_napi_del(&q_vector->napi); napi 869 drivers/net/ethernet/intel/iavf/iavf_txrx.c napi_gro_receive(&q_vector->napi, skb); napi 1318 drivers/net/ethernet/intel/iavf/iavf_txrx.c skb = __napi_alloc_skb(&rx_ring->q_vector->napi, napi 1703 drivers/net/ethernet/intel/iavf/iavf_txrx.c int iavf_napi_poll(struct napi_struct *napi, int budget) napi 1706 drivers/net/ethernet/intel/iavf/iavf_txrx.c container_of(napi, struct iavf_q_vector, napi); napi 1715 drivers/net/ethernet/intel/iavf/iavf_txrx.c napi_complete(napi); napi 1762 drivers/net/ethernet/intel/iavf/iavf_txrx.c napi_complete_done(napi, work_done); napi 1784 drivers/net/ethernet/intel/iavf/iavf_txrx.c if (likely(napi_complete_done(napi, work_done))) napi 447 drivers/net/ethernet/intel/iavf/iavf_txrx.h int iavf_napi_poll(struct napi_struct *napi, int budget); napi 293 drivers/net/ethernet/intel/ice/ice.h struct napi_struct napi; napi 526 drivers/net/ethernet/intel/ice/ice_lib.c napi_schedule(&q_vector->napi); napi 1125 drivers/net/ethernet/intel/ice/ice_lib.c netif_napi_del(&q_vector->napi); napi 1173 drivers/net/ethernet/intel/ice/ice_lib.c netif_napi_add(vsi->netdev, &q_vector->napi, ice_napi_poll, napi 2949 drivers/net/ethernet/intel/ice/ice_lib.c netif_napi_del(&vsi->q_vectors[v_idx]->napi); napi 1949 drivers/net/ethernet/intel/ice/ice_main.c netif_napi_add(vsi->netdev, &vsi->q_vectors[v_idx]->napi, napi 3529 drivers/net/ethernet/intel/ice/ice_main.c napi_enable(&q_vector->napi); napi 3896 drivers/net/ethernet/intel/ice/ice_main.c napi_disable(&q_vector->napi); napi 706 drivers/net/ethernet/intel/ice/ice_txrx.c skb = __napi_alloc_skb(&rx_ring->q_vector->napi, ICE_RX_HDR_SIZE, napi 990 drivers/net/ethernet/intel/ice/ice_txrx.c napi_gro_receive(&rx_ring->q_vector->napi, skb); napi 1474 drivers/net/ethernet/intel/ice/ice_txrx.c int ice_napi_poll(struct napi_struct *napi, int budget) napi 1477 drivers/net/ethernet/intel/ice/ice_txrx.c container_of(napi, struct ice_q_vector, napi); napi 1522 drivers/net/ethernet/intel/ice/ice_txrx.c if (likely(napi_complete_done(napi, work_done))) napi 241 drivers/net/ethernet/intel/ice/ice_txrx.h int ice_napi_poll(struct napi_struct *napi, int budget); napi 304 drivers/net/ethernet/intel/igb/igb.h struct napi_struct napi; napi 1037 drivers/net/ethernet/intel/igb/igb_main.c netif_napi_del(&q_vector->napi); napi 1218 drivers/net/ethernet/intel/igb/igb_main.c netif_napi_add(adapter->netdev, &q_vector->napi, napi 2131 drivers/net/ethernet/intel/igb/igb_main.c napi_enable(&(adapter->q_vector[i]->napi)); napi 2200 drivers/net/ethernet/intel/igb/igb_main.c napi_synchronize(&adapter->q_vector[i]->napi); napi 2201 drivers/net/ethernet/intel/igb/igb_main.c napi_disable(&adapter->q_vector[i]->napi); napi 3945 drivers/net/ethernet/intel/igb/igb_main.c napi_enable(&(adapter->q_vector[i]->napi)); napi 6587 drivers/net/ethernet/intel/igb/igb_main.c napi_schedule(&q_vector->napi); napi 7625 drivers/net/ethernet/intel/igb/igb_main.c napi_schedule(&q_vector->napi); napi 7671 drivers/net/ethernet/intel/igb/igb_main.c napi_schedule(&q_vector->napi); napi 7702 drivers/net/ethernet/intel/igb/igb_main.c static int igb_poll(struct napi_struct *napi, int budget) napi 7704 drivers/net/ethernet/intel/igb/igb_main.c struct igb_q_vector *q_vector = container_of(napi, napi 7706 drivers/net/ethernet/intel/igb/igb_main.c napi); napi 7732 drivers/net/ethernet/intel/igb/igb_main.c if (likely(napi_complete_done(napi, work_done))) napi 8027 drivers/net/ethernet/intel/igb/igb_main.c skb = napi_alloc_skb(&rx_ring->q_vector->napi, IGB_RX_HDR_LEN); napi 8369 drivers/net/ethernet/intel/igb/igb_main.c napi_gro_receive(&q_vector->napi, skb); napi 140 drivers/net/ethernet/intel/igbvf/igbvf.h struct napi_struct napi; napi 40 drivers/net/ethernet/intel/igbvf/netdev.c static int igbvf_poll(struct napi_struct *napi, int budget); napi 100 drivers/net/ethernet/intel/igbvf/netdev.c napi_gro_receive(&adapter->rx_ring->napi, skb); napi 910 drivers/net/ethernet/intel/igbvf/netdev.c if (napi_schedule_prep(&adapter->rx_ring->napi)) { napi 913 drivers/net/ethernet/intel/igbvf/netdev.c __napi_schedule(&adapter->rx_ring->napi); napi 1108 drivers/net/ethernet/intel/igbvf/netdev.c netif_napi_add(netdev, &adapter->rx_ring->napi, igbvf_poll, 64); napi 1180 drivers/net/ethernet/intel/igbvf/netdev.c static int igbvf_poll(struct napi_struct *napi, int budget) napi 1182 drivers/net/ethernet/intel/igbvf/netdev.c struct igbvf_ring *rx_ring = container_of(napi, struct igbvf_ring, napi); napi 1195 drivers/net/ethernet/intel/igbvf/netdev.c if (likely(napi_complete_done(napi, work_done))) { napi 1544 drivers/net/ethernet/intel/igbvf/netdev.c napi_enable(&adapter->rx_ring->napi); napi 1585 drivers/net/ethernet/intel/igbvf/netdev.c napi_disable(&adapter->rx_ring->napi); napi 1736 drivers/net/ethernet/intel/igbvf/netdev.c napi_enable(&adapter->rx_ring->napi); napi 2937 drivers/net/ethernet/intel/igbvf/netdev.c netif_napi_del(&adapter->rx_ring->napi); napi 294 drivers/net/ethernet/intel/igc/igc.h struct napi_struct napi; napi 1307 drivers/net/ethernet/intel/igc/igc_main.c skb = napi_alloc_skb(&rx_ring->q_vector->napi, IGC_RX_HDR_LEN); napi 1623 drivers/net/ethernet/intel/igc/igc_main.c napi_gro_receive(&q_vector->napi, skb); napi 1880 drivers/net/ethernet/intel/igc/igc_main.c napi_enable(&adapter->q_vector[i]->napi); napi 2138 drivers/net/ethernet/intel/igc/igc_main.c napi_synchronize(&adapter->q_vector[i]->napi); napi 2139 drivers/net/ethernet/intel/igc/igc_main.c napi_disable(&adapter->q_vector[i]->napi); napi 2678 drivers/net/ethernet/intel/igc/igc_main.c napi_schedule(&q_vector->napi); napi 2766 drivers/net/ethernet/intel/igc/igc_main.c netif_napi_del(&q_vector->napi); napi 3247 drivers/net/ethernet/intel/igc/igc_main.c napi_schedule(&q_vector->napi); napi 3290 drivers/net/ethernet/intel/igc/igc_main.c napi_schedule(&q_vector->napi); napi 3385 drivers/net/ethernet/intel/igc/igc_main.c static int igc_poll(struct napi_struct *napi, int budget) napi 3387 drivers/net/ethernet/intel/igc/igc_main.c struct igc_q_vector *q_vector = container_of(napi, napi 3389 drivers/net/ethernet/intel/igc/igc_main.c napi); napi 3411 drivers/net/ethernet/intel/igc/igc_main.c if (likely(napi_complete_done(napi, work_done))) napi 3531 drivers/net/ethernet/intel/igc/igc_main.c netif_napi_add(adapter->netdev, &q_vector->napi, napi 3912 drivers/net/ethernet/intel/igc/igc_main.c napi_enable(&adapter->q_vector[i]->napi); napi 142 drivers/net/ethernet/intel/ixgb/ixgb.h struct napi_struct napi; napi 239 drivers/net/ethernet/intel/ixgb/ixgb_main.c napi_enable(&adapter->napi); napi 259 drivers/net/ethernet/intel/ixgb/ixgb_main.c napi_disable(&adapter->napi); napi 427 drivers/net/ethernet/intel/ixgb/ixgb_main.c netif_napi_add(netdev, &adapter->napi, ixgb_clean, 64); napi 1739 drivers/net/ethernet/intel/ixgb/ixgb_main.c if (napi_schedule_prep(&adapter->napi)) { napi 1746 drivers/net/ethernet/intel/ixgb/ixgb_main.c __napi_schedule(&adapter->napi); napi 1757 drivers/net/ethernet/intel/ixgb/ixgb_main.c ixgb_clean(struct napi_struct *napi, int budget) napi 1759 drivers/net/ethernet/intel/ixgb/ixgb_main.c struct ixgb_adapter *adapter = container_of(napi, struct ixgb_adapter, napi); napi 1767 drivers/net/ethernet/intel/ixgb/ixgb_main.c napi_complete_done(napi, work_done); napi 1906 drivers/net/ethernet/intel/ixgb/ixgb_main.c static void ixgb_check_copybreak(struct napi_struct *napi, napi 1915 drivers/net/ethernet/intel/ixgb/ixgb_main.c new_skb = napi_alloc_skb(napi, length); napi 2007 drivers/net/ethernet/intel/ixgb/ixgb_main.c ixgb_check_copybreak(&adapter->napi, buffer_info, length, &skb); napi 458 drivers/net/ethernet/intel/ixgbe/ixgbe.h struct napi_struct napi; napi 889 drivers/net/ethernet/intel/ixgbe/ixgbe.h int ixgbe_poll(struct napi_struct *napi, int budget); napi 875 drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c netif_napi_add(adapter->netdev, &q_vector->napi, napi 1034 drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c napi_hash_del(&q_vector->napi); napi 1035 drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c netif_napi_del(&q_vector->napi); napi 1719 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c napi_gro_receive(&q_vector->napi, skb); napi 2121 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c skb = napi_alloc_skb(&rx_ring->q_vector->napi, IXGBE_RX_HDR_SIZE); napi 3144 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c napi_schedule_irqoff(&q_vector->napi); napi 3156 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c int ixgbe_poll(struct napi_struct *napi, int budget) napi 3159 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c container_of(napi, struct ixgbe_q_vector, napi); napi 3207 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (likely(napi_complete_done(napi, work_done))) { napi 3350 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c napi_schedule_irqoff(&q_vector->napi); napi 5001 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c napi_enable(&adapter->q_vector[q_idx]->napi); napi 5009 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c napi_disable(&adapter->q_vector[q_idx]->napi); napi 10184 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c napi_synchronize(&qv->napi); napi 10529 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c napi_disable(&rx_ring->q_vector->napi); napi 10559 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c napi_enable(&rx_ring->q_vector->napi); napi 403 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c skb = __napi_alloc_skb(&rx_ring->q_vector->napi, napi 720 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c if (!napi_if_scheduled_mark_missed(&ring->q_vector->napi)) { napi 238 drivers/net/ethernet/intel/ixgbevf/ixgbevf.h struct napi_struct napi; napi 434 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c napi_gro_receive(&q_vector->napi, skb); napi 892 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c skb = napi_alloc_skb(&rx_ring->q_vector->napi, IXGBEVF_RX_HDR_SIZE); napi 1262 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c static int ixgbevf_poll(struct napi_struct *napi, int budget) napi 1265 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c container_of(napi, struct ixgbevf_q_vector, napi); napi 1302 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c if (likely(napi_complete_done(napi, work_done))) { napi 1519 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c napi_schedule_irqoff(&q_vector->napi); napi 2147 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c napi_enable(&q_vector->napi); napi 2159 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c napi_disable(&q_vector->napi); napi 2713 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c netif_napi_add(adapter->netdev, &q_vector->napi, ixgbevf_poll, 64); napi 2835 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c netif_napi_del(&q_vector->napi); napi 3034 drivers/net/ethernet/jme.c NETIF_NAPI_SET(netdev, &jme->napi, jme_poll, NAPI_POLL_WEIGHT) napi 381 drivers/net/ethernet/jme.h #define DECLARE_NAPI_STRUCT struct napi_struct napi; napi 389 drivers/net/ethernet/jme.h #define JME_NAPI_ENABLE(priv) napi_enable(&priv->napi); napi 391 drivers/net/ethernet/jme.h if (!napi_disable_pending(&priv->napi)) \ napi 392 drivers/net/ethernet/jme.h napi_disable(&priv->napi); napi 394 drivers/net/ethernet/jme.h napi_schedule_prep(&priv->napi) napi 396 drivers/net/ethernet/jme.h __napi_schedule(&priv->napi); napi 462 drivers/net/ethernet/jme.h jme_napi_priv(struct napi_struct *napi) napi 465 drivers/net/ethernet/jme.h jme = container_of(napi, struct jme_adapter, napi); napi 135 drivers/net/ethernet/korina.c struct napi_struct napi; napi 339 drivers/net/ethernet/korina.c napi_schedule(&lp->napi); napi 414 drivers/net/ethernet/korina.c napi_gro_receive(&lp->napi, skb); napi 462 drivers/net/ethernet/korina.c static int korina_poll(struct napi_struct *napi, int budget) napi 465 drivers/net/ethernet/korina.c container_of(napi, struct korina_private, napi); napi 471 drivers/net/ethernet/korina.c napi_complete_done(napi, work_done); napi 878 drivers/net/ethernet/korina.c napi_enable(&lp->napi); napi 906 drivers/net/ethernet/korina.c napi_disable(&lp->napi); napi 997 drivers/net/ethernet/korina.c napi_disable(&lp->napi); napi 1090 drivers/net/ethernet/korina.c netif_napi_add(dev, &lp->napi, korina_poll, NAPI_POLL_WEIGHT); napi 83 drivers/net/ethernet/lantiq_etop.c struct napi_struct napi; napi 147 drivers/net/ethernet/lantiq_etop.c ltq_etop_poll_rx(struct napi_struct *napi, int budget) napi 149 drivers/net/ethernet/lantiq_etop.c struct ltq_etop_chan *ch = container_of(napi, napi 150 drivers/net/ethernet/lantiq_etop.c struct ltq_etop_chan, napi); napi 162 drivers/net/ethernet/lantiq_etop.c napi_complete_done(&ch->napi, work_done); napi 169 drivers/net/ethernet/lantiq_etop.c ltq_etop_poll_tx(struct napi_struct *napi, int budget) napi 172 drivers/net/ethernet/lantiq_etop.c container_of(napi, struct ltq_etop_chan, napi); napi 192 drivers/net/ethernet/lantiq_etop.c napi_complete(&ch->napi); napi 203 drivers/net/ethernet/lantiq_etop.c napi_schedule(&priv->ch[ch].napi); napi 428 drivers/net/ethernet/lantiq_etop.c napi_enable(&ch->napi); napi 448 drivers/net/ethernet/lantiq_etop.c napi_disable(&ch->napi); napi 679 drivers/net/ethernet/lantiq_etop.c netif_napi_add(dev, &priv->ch[i].napi, napi 682 drivers/net/ethernet/lantiq_etop.c netif_napi_add(dev, &priv->ch[i].napi, napi 58 drivers/net/ethernet/lantiq_xrx200.c struct napi_struct napi; napi 119 drivers/net/ethernet/lantiq_xrx200.c napi_enable(&priv->chan_tx.napi); napi 123 drivers/net/ethernet/lantiq_xrx200.c napi_enable(&priv->chan_rx.napi); napi 146 drivers/net/ethernet/lantiq_xrx200.c napi_disable(&priv->chan_rx.napi); napi 149 drivers/net/ethernet/lantiq_xrx200.c napi_disable(&priv->chan_tx.napi); napi 212 drivers/net/ethernet/lantiq_xrx200.c static int xrx200_poll_rx(struct napi_struct *napi, int budget) napi 214 drivers/net/ethernet/lantiq_xrx200.c struct xrx200_chan *ch = container_of(napi, napi 215 drivers/net/ethernet/lantiq_xrx200.c struct xrx200_chan, napi); napi 233 drivers/net/ethernet/lantiq_xrx200.c napi_complete(&ch->napi); napi 240 drivers/net/ethernet/lantiq_xrx200.c static int xrx200_tx_housekeeping(struct napi_struct *napi, int budget) napi 242 drivers/net/ethernet/lantiq_xrx200.c struct xrx200_chan *ch = container_of(napi, napi 243 drivers/net/ethernet/lantiq_xrx200.c struct xrx200_chan, napi); napi 272 drivers/net/ethernet/lantiq_xrx200.c napi_complete(&ch->napi); napi 347 drivers/net/ethernet/lantiq_xrx200.c napi_schedule(&ch->napi); napi 500 drivers/net/ethernet/lantiq_xrx200.c netif_napi_add(net_dev, &priv->chan_rx.napi, xrx200_poll_rx, 32); napi 501 drivers/net/ethernet/lantiq_xrx200.c netif_napi_add(net_dev, &priv->chan_tx.napi, xrx200_tx_housekeeping, 32); napi 527 drivers/net/ethernet/lantiq_xrx200.c netif_napi_del(&priv->chan_tx.napi); napi 528 drivers/net/ethernet/lantiq_xrx200.c netif_napi_del(&priv->chan_rx.napi); napi 379 drivers/net/ethernet/marvell/mv643xx_eth.c struct napi_struct napi; napi 571 drivers/net/ethernet/marvell/mv643xx_eth.c napi_gro_receive(&mp->napi, skb); napi 2183 drivers/net/ethernet/marvell/mv643xx_eth.c napi_schedule(&mp->napi); napi 2239 drivers/net/ethernet/marvell/mv643xx_eth.c static int mv643xx_eth_poll(struct napi_struct *napi, int budget) napi 2244 drivers/net/ethernet/marvell/mv643xx_eth.c mp = container_of(napi, struct mv643xx_eth_private, napi); napi 2298 drivers/net/ethernet/marvell/mv643xx_eth.c napi_complete_done(napi, work_done); napi 2309 drivers/net/ethernet/marvell/mv643xx_eth.c napi_schedule(&mp->napi); napi 2435 drivers/net/ethernet/marvell/mv643xx_eth.c napi_enable(&mp->napi); napi 2519 drivers/net/ethernet/marvell/mv643xx_eth.c napi_disable(&mp->napi); napi 3176 drivers/net/ethernet/marvell/mv643xx_eth.c netif_napi_add(dev, &mp->napi, mv643xx_eth_poll, NAPI_POLL_WEIGHT); napi 402 drivers/net/ethernet/marvell/mvneta.c struct napi_struct napi; napi 428 drivers/net/ethernet/marvell/mvneta.c struct napi_struct napi; napi 1940 drivers/net/ethernet/marvell/mvneta.c static int mvneta_rx_swbm(struct napi_struct *napi, napi 2087 drivers/net/ethernet/marvell/mvneta.c napi_gro_receive(napi, rxq->skb); napi 2113 drivers/net/ethernet/marvell/mvneta.c static int mvneta_rx_hwbm(struct napi_struct *napi, napi 2177 drivers/net/ethernet/marvell/mvneta.c napi_gro_receive(napi, skb); napi 2221 drivers/net/ethernet/marvell/mvneta.c napi_gro_receive(napi, skb); napi 2743 drivers/net/ethernet/marvell/mvneta.c napi_schedule(&pp->napi); napi 2754 drivers/net/ethernet/marvell/mvneta.c napi_schedule(&port->napi); napi 2773 drivers/net/ethernet/marvell/mvneta.c static int mvneta_poll(struct napi_struct *napi, int budget) napi 2778 drivers/net/ethernet/marvell/mvneta.c struct mvneta_port *pp = netdev_priv(napi->dev); napi 2782 drivers/net/ethernet/marvell/mvneta.c napi_complete(napi); napi 2814 drivers/net/ethernet/marvell/mvneta.c rx_done = mvneta_rx_hwbm(napi, pp, budget, napi 2817 drivers/net/ethernet/marvell/mvneta.c rx_done = mvneta_rx_swbm(napi, pp, budget, napi 2823 drivers/net/ethernet/marvell/mvneta.c napi_complete_done(napi, rx_done); napi 3200 drivers/net/ethernet/marvell/mvneta.c napi_enable(&port->napi); napi 3203 drivers/net/ethernet/marvell/mvneta.c napi_enable(&pp->napi); napi 3228 drivers/net/ethernet/marvell/mvneta.c napi_disable(&port->napi); napi 3231 drivers/net/ethernet/marvell/mvneta.c napi_disable(&pp->napi); napi 3756 drivers/net/ethernet/marvell/mvneta.c napi_synchronize(&other_port->napi); napi 3762 drivers/net/ethernet/marvell/mvneta.c napi_enable(&port->napi); napi 3801 drivers/net/ethernet/marvell/mvneta.c napi_synchronize(&port->napi); napi 3802 drivers/net/ethernet/marvell/mvneta.c napi_disable(&port->napi); napi 4191 drivers/net/ethernet/marvell/mvneta.c napi_synchronize(&pcpu_port->napi); napi 4192 drivers/net/ethernet/marvell/mvneta.c napi_disable(&pcpu_port->napi); napi 4195 drivers/net/ethernet/marvell/mvneta.c napi_synchronize(&pp->napi); napi 4196 drivers/net/ethernet/marvell/mvneta.c napi_disable(&pp->napi); napi 4219 drivers/net/ethernet/marvell/mvneta.c napi_enable(&pcpu_port->napi); napi 4222 drivers/net/ethernet/marvell/mvneta.c napi_enable(&pp->napi); napi 4674 drivers/net/ethernet/marvell/mvneta.c netif_napi_add(dev, &pp->napi, mvneta_poll, NAPI_POLL_WEIGHT); napi 4680 drivers/net/ethernet/marvell/mvneta.c netif_napi_add(dev, &port->napi, mvneta_poll, napi 842 drivers/net/ethernet/marvell/mvpp2/mvpp2.h struct napi_struct napi; napi 2725 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c napi_schedule(&qv->napi); napi 2918 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c static int mvpp2_rx(struct mvpp2_port *port, struct napi_struct *napi, napi 2997 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c napi_gro_receive(napi, skb); napi 3329 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c static int mvpp2_poll(struct napi_struct *napi, int budget) napi 3333 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c struct mvpp2_port *port = netdev_priv(napi->dev); napi 3337 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c qv = container_of(napi, struct mvpp2_queue_vector, napi); napi 3384 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c count = mvpp2_rx(port, napi, budget, rxq); napi 3398 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c napi_complete_done(napi, rx_done); napi 3451 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c napi_enable(&port->qvecs[i].napi); napi 3486 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c napi_disable(&port->qvecs[i].napi); napi 4419 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c netif_napi_add(port->dev, &v->napi, mvpp2_poll, napi 4480 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c netif_napi_add(port->dev, &v->napi, mvpp2_poll, napi 220 drivers/net/ethernet/marvell/pxa168_eth.c struct napi_struct napi; napi 357 drivers/net/ethernet/marvell/pxa168_eth.c napi_schedule(&pep->napi); napi 869 drivers/net/ethernet/marvell/pxa168_eth.c napi_schedule(&pep->napi); napi 1158 drivers/net/ethernet/marvell/pxa168_eth.c napi_enable(&pep->napi); napi 1178 drivers/net/ethernet/marvell/pxa168_eth.c napi_disable(&pep->napi); napi 1226 drivers/net/ethernet/marvell/pxa168_eth.c static int pxa168_rx_poll(struct napi_struct *napi, int budget) napi 1229 drivers/net/ethernet/marvell/pxa168_eth.c container_of(napi, struct pxa168_eth_private, napi); napi 1245 drivers/net/ethernet/marvell/pxa168_eth.c napi_complete_done(napi, work_done); napi 1498 drivers/net/ethernet/marvell/pxa168_eth.c netif_napi_add(dev, &pep->napi, pxa168_rx_poll, pep->rx_ring_size); napi 2615 drivers/net/ethernet/marvell/skge.c napi_enable(&skge->napi); napi 2658 drivers/net/ethernet/marvell/skge.c napi_disable(&skge->napi); napi 3192 drivers/net/ethernet/marvell/skge.c static int skge_poll(struct napi_struct *napi, int budget) napi 3194 drivers/net/ethernet/marvell/skge.c struct skge_port *skge = container_of(napi, struct skge_port, napi); napi 3217 drivers/net/ethernet/marvell/skge.c napi_gro_receive(napi, skb); napi 3227 drivers/net/ethernet/marvell/skge.c if (work_done < budget && napi_complete_done(napi, work_done)) { napi 3393 drivers/net/ethernet/marvell/skge.c napi_schedule(&skge->napi); napi 3413 drivers/net/ethernet/marvell/skge.c napi_schedule(&skge->napi); napi 3829 drivers/net/ethernet/marvell/skge.c netif_napi_add(dev, &skge->napi, skge_poll, NAPI_WEIGHT); napi 2453 drivers/net/ethernet/marvell/skge.h struct napi_struct napi; napi 1724 drivers/net/ethernet/marvell/sky2.c napi_enable(&hw->napi); napi 2127 drivers/net/ethernet/marvell/sky2.c napi_disable(&hw->napi); napi 2140 drivers/net/ethernet/marvell/sky2.c napi_synchronize(&hw->napi); napi 2397 drivers/net/ethernet/marvell/sky2.c napi_disable(&hw->napi); napi 2434 drivers/net/ethernet/marvell/sky2.c napi_enable(&hw->napi); napi 2635 drivers/net/ethernet/marvell/sky2.c napi_gro_receive(&sky2->hw->napi, skb); napi 2966 drivers/net/ethernet/marvell/sky2.c napi_schedule(&hw->napi); napi 3020 drivers/net/ethernet/marvell/sky2.c static int sky2_poll(struct napi_struct *napi, int work_limit) napi 3022 drivers/net/ethernet/marvell/sky2.c struct sky2_hw *hw = container_of(napi, struct sky2_hw, napi); napi 3046 drivers/net/ethernet/marvell/sky2.c napi_complete_done(napi, work_done); napi 3067 drivers/net/ethernet/marvell/sky2.c napi_schedule(&hw->napi); napi 3077 drivers/net/ethernet/marvell/sky2.c napi_schedule(&sky2->hw->napi); napi 3465 drivers/net/ethernet/marvell/sky2.c napi_disable(&hw->napi); napi 3503 drivers/net/ethernet/marvell/sky2.c napi_enable(&hw->napi); napi 4534 drivers/net/ethernet/marvell/sky2.c napi_disable(&hw->napi); napi 4606 drivers/net/ethernet/marvell/sky2.c napi_enable(&hw->napi); napi 5067 drivers/net/ethernet/marvell/sky2.c netif_napi_add(dev, &hw->napi, sky2_poll, NAPI_WEIGHT); napi 5157 drivers/net/ethernet/marvell/sky2.c napi_disable(&hw->napi); napi 2282 drivers/net/ethernet/marvell/sky2.h struct napi_struct napi; napi 1225 drivers/net/ethernet/mediatek/mtk_eth_soc.c static int mtk_poll_rx(struct napi_struct *napi, int budget, napi 1313 drivers/net/ethernet/mediatek/mtk_eth_soc.c napi_gro_receive(napi, skb); napi 1467 drivers/net/ethernet/mediatek/mtk_eth_soc.c static int mtk_napi_tx(struct napi_struct *napi, int budget) napi 1469 drivers/net/ethernet/mediatek/mtk_eth_soc.c struct mtk_eth *eth = container_of(napi, struct mtk_eth, tx_napi); napi 1493 drivers/net/ethernet/mediatek/mtk_eth_soc.c napi_complete(napi); napi 1499 drivers/net/ethernet/mediatek/mtk_eth_soc.c static int mtk_napi_rx(struct napi_struct *napi, int budget) napi 1501 drivers/net/ethernet/mediatek/mtk_eth_soc.c struct mtk_eth *eth = container_of(napi, struct mtk_eth, rx_napi); napi 1510 drivers/net/ethernet/mediatek/mtk_eth_soc.c rx_done = mtk_poll_rx(napi, remain_budget, eth); napi 1527 drivers/net/ethernet/mediatek/mtk_eth_soc.c napi_complete(napi); napi 152 drivers/net/ethernet/mellanox/mlx4/en_cq.c netif_tx_napi_add(cq->dev, &cq->napi, mlx4_en_poll_tx_cq, napi 154 drivers/net/ethernet/mellanox/mlx4/en_cq.c napi_enable(&cq->napi); napi 158 drivers/net/ethernet/mellanox/mlx4/en_cq.c netif_napi_add(cq->dev, &cq->napi, mlx4_en_poll_rx_cq, 64); napi 159 drivers/net/ethernet/mellanox/mlx4/en_cq.c napi_enable(&cq->napi); napi 195 drivers/net/ethernet/mellanox/mlx4/en_cq.c napi_disable(&cq->napi); napi 196 drivers/net/ethernet/mellanox/mlx4/en_cq.c netif_napi_del(&cq->napi); napi 1833 drivers/net/ethernet/mellanox/mlx4/en_netdev.c napi_schedule(&priv->rx_cq[i]->napi); napi 1996 drivers/net/ethernet/mellanox/mlx4/en_netdev.c napi_synchronize(&cq->napi); napi 403 drivers/net/ethernet/mellanox/mlx4/en_rx.c napi_reschedule(&priv->rx_cq[ring]->napi); napi 822 drivers/net/ethernet/mellanox/mlx4/en_rx.c skb = napi_get_frags(&cq->napi); napi 891 drivers/net/ethernet/mellanox/mlx4/en_rx.c napi_gro_frags(&cq->napi); napi 930 drivers/net/ethernet/mellanox/mlx4/en_rx.c napi_schedule_irqoff(&cq->napi); napi 936 drivers/net/ethernet/mellanox/mlx4/en_rx.c int mlx4_en_poll_rx_cq(struct napi_struct *napi, int budget) napi 938 drivers/net/ethernet/mellanox/mlx4/en_rx.c struct mlx4_en_cq *cq = container_of(napi, struct mlx4_en_cq, napi); napi 984 drivers/net/ethernet/mellanox/mlx4/en_rx.c if (likely(napi_complete_done(napi, done))) napi 516 drivers/net/ethernet/mellanox/mlx4/en_tx.c napi_schedule_irqoff(&cq->napi); napi 522 drivers/net/ethernet/mellanox/mlx4/en_tx.c int mlx4_en_poll_tx_cq(struct napi_struct *napi, int budget) napi 524 drivers/net/ethernet/mellanox/mlx4/en_tx.c struct mlx4_en_cq *cq = container_of(napi, struct mlx4_en_cq, napi); napi 533 drivers/net/ethernet/mellanox/mlx4/en_tx.c napi_complete(napi); napi 371 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h struct napi_struct napi; napi 738 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h int mlx4_en_poll_rx_cq(struct napi_struct *napi, int budget); napi 739 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h int mlx4_en_poll_tx_cq(struct napi_struct *napi, int budget); napi 324 drivers/net/ethernet/mellanox/mlx5/core/en.h struct napi_struct *napi; napi 714 drivers/net/ethernet/mellanox/mlx5/core/en.h struct napi_struct napi; napi 916 drivers/net/ethernet/mellanox/mlx5/core/en.h int mlx5e_napi_poll(struct napi_struct *napi, int budget); napi 76 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/rx.c skb = napi_alloc_skb(rq->cq.napi, cqe_bcnt); napi 146 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/setup.c napi_synchronize(&c->napi); napi 28 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/tx.c if (!napi_if_scheduled_mark_missed(&c->napi)) { napi 932 drivers/net/ethernet/mellanox/mlx5/core/en_main.c napi_synchronize(&rq->channel->napi); /* prevent mlx5e_post_rx_wqes */ napi 1370 drivers/net/ethernet/mellanox/mlx5/core/en_main.c napi_synchronize(&c->napi); napi 1449 drivers/net/ethernet/mellanox/mlx5/core/en_main.c napi_synchronize(&c->napi); napi 1526 drivers/net/ethernet/mellanox/mlx5/core/en_main.c napi_synchronize(&c->napi); napi 1586 drivers/net/ethernet/mellanox/mlx5/core/en_main.c cq->napi = &c->napi; napi 1877 drivers/net/ethernet/mellanox/mlx5/core/en_main.c napi_enable(&c->napi); napi 1918 drivers/net/ethernet/mellanox/mlx5/core/en_main.c napi_disable(&c->napi); napi 1946 drivers/net/ethernet/mellanox/mlx5/core/en_main.c napi_disable(&c->napi); napi 2002 drivers/net/ethernet/mellanox/mlx5/core/en_main.c netif_napi_add(netdev, &c->napi, mlx5e_napi_poll, 64); napi 2023 drivers/net/ethernet/mellanox/mlx5/core/en_main.c netif_napi_del(&c->napi); napi 2064 drivers/net/ethernet/mellanox/mlx5/core/en_main.c netif_napi_del(&c->napi); napi 4482 drivers/net/ethernet/mellanox/mlx5/core/en_main.c napi_synchronize(&c->napi); napi 4499 drivers/net/ethernet/mellanox/mlx5/core/en_main.c napi_schedule(&c->napi); napi 1107 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c skb = napi_alloc_skb(rq->cq.napi, napi 1180 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c napi_gro_receive(rq->cq.napi, skb); napi 1227 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c napi_gro_receive(rq->cq.napi, skb); napi 1247 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c skb = napi_alloc_skb(rq->cq.napi, napi 1368 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c napi_gro_receive(rq->cq.napi, skb); napi 1541 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c napi_gro_receive(rq->cq.napi, skb); napi 1581 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c napi_gro_receive(rq->cq.napi, skb); napi 109 drivers/net/ethernet/mellanox/mlx5/core/en_txrx.c int mlx5e_napi_poll(struct napi_struct *napi, int budget) napi 111 drivers/net/ethernet/mellanox/mlx5/core/en_txrx.c struct mlx5e_channel *c = container_of(napi, struct mlx5e_channel, napi 112 drivers/net/ethernet/mellanox/mlx5/core/en_txrx.c napi); napi 168 drivers/net/ethernet/mellanox/mlx5/core/en_txrx.c if (unlikely(!napi_complete_done(napi, work_done))) napi 203 drivers/net/ethernet/mellanox/mlx5/core/en_txrx.c napi_schedule(cq->napi); napi 184 drivers/net/ethernet/microchip/lan743x_main.c napi_schedule(&tx->napi); napi 224 drivers/net/ethernet/microchip/lan743x_main.c napi_schedule(&rx->napi); napi 1631 drivers/net/ethernet/microchip/lan743x_main.c static int lan743x_tx_napi_poll(struct napi_struct *napi, int weight) napi 1633 drivers/net/ethernet/microchip/lan743x_main.c struct lan743x_tx *tx = container_of(napi, struct lan743x_tx, napi); napi 1666 drivers/net/ethernet/microchip/lan743x_main.c if (!napi_complete(napi)) napi 1772 drivers/net/ethernet/microchip/lan743x_main.c napi_disable(&tx->napi); napi 1773 drivers/net/ethernet/microchip/lan743x_main.c netif_napi_del(&tx->napi); napi 1865 drivers/net/ethernet/microchip/lan743x_main.c &tx->napi, lan743x_tx_napi_poll, napi 1867 drivers/net/ethernet/microchip/lan743x_main.c napi_enable(&tx->napi); napi 2149 drivers/net/ethernet/microchip/lan743x_main.c napi_gro_receive(&rx->napi, skb); napi 2161 drivers/net/ethernet/microchip/lan743x_main.c static int lan743x_rx_napi_poll(struct napi_struct *napi, int weight) napi 2163 drivers/net/ethernet/microchip/lan743x_main.c struct lan743x_rx *rx = container_of(napi, struct lan743x_rx, napi); napi 2191 drivers/net/ethernet/microchip/lan743x_main.c if (!napi_complete_done(napi, count)) napi 2331 drivers/net/ethernet/microchip/lan743x_main.c napi_disable(&rx->napi); napi 2333 drivers/net/ethernet/microchip/lan743x_main.c netif_napi_del(&rx->napi); napi 2350 drivers/net/ethernet/microchip/lan743x_main.c &rx->napi, lan743x_rx_napi_poll, napi 2425 drivers/net/ethernet/microchip/lan743x_main.c napi_enable(&rx->napi); napi 2453 drivers/net/ethernet/microchip/lan743x_main.c netif_napi_del(&rx->napi); napi 663 drivers/net/ethernet/microchip/lan743x_main.h struct napi_struct napi; napi 693 drivers/net/ethernet/microchip/lan743x_main.h struct napi_struct napi; napi 178 drivers/net/ethernet/moxa/moxart_ether.c napi_enable(&priv->napi); napi 197 drivers/net/ethernet/moxa/moxart_ether.c napi_disable(&priv->napi); napi 210 drivers/net/ethernet/moxa/moxart_ether.c static int moxart_rx_poll(struct napi_struct *napi, int budget) napi 212 drivers/net/ethernet/moxa/moxart_ether.c struct moxart_mac_priv_t *priv = container_of(napi, napi 214 drivers/net/ethernet/moxa/moxart_ether.c napi); napi 258 drivers/net/ethernet/moxa/moxart_ether.c napi_gro_receive(&priv->napi, skb); napi 275 drivers/net/ethernet/moxa/moxart_ether.c napi_complete_done(napi, rx); napi 324 drivers/net/ethernet/moxa/moxart_ether.c if (napi_schedule_prep(&priv->napi)) { napi 327 drivers/net/ethernet/moxa/moxart_ether.c __napi_schedule(&priv->napi); napi 537 drivers/net/ethernet/moxa/moxart_ether.c netif_napi_add(ndev, &priv->napi, moxart_rx_poll, RX_DESC_NUM); napi 299 drivers/net/ethernet/moxa/moxart_ether.h struct napi_struct napi; napi 178 drivers/net/ethernet/myricom/myri10ge/myri10ge.c struct napi_struct napi; napi 1341 drivers/net/ethernet/myricom/myri10ge/myri10ge.c skb = napi_get_frags(&ss->napi); napi 1381 drivers/net/ethernet/myricom/myri10ge/myri10ge.c napi_gro_frags(&ss->napi); napi 1530 drivers/net/ethernet/myricom/myri10ge/myri10ge.c static int myri10ge_poll(struct napi_struct *napi, int budget) napi 1533 drivers/net/ethernet/myricom/myri10ge/myri10ge.c container_of(napi, struct myri10ge_slice_state, napi); napi 1544 drivers/net/ethernet/myricom/myri10ge/myri10ge.c napi_complete_done(napi, work_done); napi 1562 drivers/net/ethernet/myricom/myri10ge/myri10ge.c napi_schedule(&ss->napi); napi 1573 drivers/net/ethernet/myricom/myri10ge/myri10ge.c napi_schedule(&ss->napi); napi 2415 drivers/net/ethernet/myricom/myri10ge/myri10ge.c napi_enable(&(ss)->napi); napi 2463 drivers/net/ethernet/myricom/myri10ge/myri10ge.c napi_disable(&mgp->ss[slice].napi); napi 2491 drivers/net/ethernet/myricom/myri10ge/myri10ge.c napi_disable(&mgp->ss[i].napi); napi 3579 drivers/net/ethernet/myricom/myri10ge/myri10ge.c napi_hash_del(&ss->napi); napi 3580 drivers/net/ethernet/myricom/myri10ge/myri10ge.c netif_napi_del(&ss->napi); napi 3617 drivers/net/ethernet/myricom/myri10ge/myri10ge.c netif_napi_add(ss->dev, &ss->napi, myri10ge_poll, napi 551 drivers/net/ethernet/natsemi/natsemi.c struct napi_struct napi; napi 627 drivers/net/ethernet/natsemi/natsemi.c static int natsemi_poll(struct napi_struct *napi, int budget); napi 870 drivers/net/ethernet/natsemi/natsemi.c netif_napi_add(dev, &np->napi, natsemi_poll, 64); napi 1552 drivers/net/ethernet/natsemi/natsemi.c napi_enable(&np->napi); napi 2213 drivers/net/ethernet/natsemi/natsemi.c if (napi_schedule_prep(&np->napi)) { napi 2216 drivers/net/ethernet/natsemi/natsemi.c __napi_schedule(&np->napi); napi 2229 drivers/net/ethernet/natsemi/natsemi.c static int natsemi_poll(struct napi_struct *napi, int budget) napi 2231 drivers/net/ethernet/natsemi/natsemi.c struct netdev_private *np = container_of(napi, struct netdev_private, napi); napi 2268 drivers/net/ethernet/natsemi/natsemi.c napi_complete_done(napi, work_done); napi 3177 drivers/net/ethernet/natsemi/natsemi.c napi_disable(&np->napi); napi 3301 drivers/net/ethernet/natsemi/natsemi.c napi_disable(&np->napi); napi 3350 drivers/net/ethernet/natsemi/natsemi.c napi_enable(&np->napi); napi 448 drivers/net/ethernet/neterion/s2io.c S2IO_PARM_INT(napi, 1); napi 2754 drivers/net/ethernet/neterion/s2io.c static int s2io_poll_msix(struct napi_struct *napi, int budget) napi 2756 drivers/net/ethernet/neterion/s2io.c struct ring_info *ring = container_of(napi, struct ring_info, napi); napi 2772 drivers/net/ethernet/neterion/s2io.c napi_complete_done(napi, pkts_processed); napi 2783 drivers/net/ethernet/neterion/s2io.c static int s2io_poll_inta(struct napi_struct *napi, int budget) napi 2785 drivers/net/ethernet/neterion/s2io.c struct s2io_nic *nic = container_of(napi, struct s2io_nic, napi); napi 2806 drivers/net/ethernet/neterion/s2io.c napi_complete_done(napi, pkts_processed); napi 2956 drivers/net/ethernet/neterion/s2io.c if (ring_data->nic->config.napi) { napi 4204 drivers/net/ethernet/neterion/s2io.c if (sp->config.napi) { napi 4213 drivers/net/ethernet/neterion/s2io.c napi_schedule(&ring->napi); napi 4689 drivers/net/ethernet/neterion/s2io.c if (config->napi) { napi 4691 drivers/net/ethernet/neterion/s2io.c napi_schedule(&sp->napi); napi 4729 drivers/net/ethernet/neterion/s2io.c if (!config->napi) { napi 7029 drivers/net/ethernet/neterion/s2io.c if (sp->config.napi) { napi 7033 drivers/net/ethernet/neterion/s2io.c napi_disable(&sp->mac_control.rings[off].napi); napi 7036 drivers/net/ethernet/neterion/s2io.c napi_disable(&sp->napi); napi 7134 drivers/net/ethernet/neterion/s2io.c if (config->napi) { napi 7137 drivers/net/ethernet/neterion/s2io.c napi_enable(&sp->mac_control.rings[i].napi); napi 7139 drivers/net/ethernet/neterion/s2io.c napi_enable(&sp->napi); napi 7748 drivers/net/ethernet/neterion/s2io.c config->napi = napi; napi 7916 drivers/net/ethernet/neterion/s2io.c netif_napi_add(dev, &ring->napi, s2io_poll_msix, 64); napi 7919 drivers/net/ethernet/neterion/s2io.c netif_napi_add(dev, &sp->napi, s2io_poll_inta, 64); napi 8047 drivers/net/ethernet/neterion/s2io.c switch (sp->config.napi) { napi 8473 drivers/net/ethernet/neterion/s2io.c if (sp->config.napi) napi 442 drivers/net/ethernet/neterion/s2io.h u8 napi; napi 719 drivers/net/ethernet/neterion/s2io.h struct napi_struct napi; napi 930 drivers/net/ethernet/neterion/s2io.h struct napi_struct napi; napi 1073 drivers/net/ethernet/neterion/s2io.h static int s2io_poll_msix(struct napi_struct *napi, int budget); napi 1074 drivers/net/ethernet/neterion/s2io.h static int s2io_poll_inta(struct napi_struct *napi, int budget); napi 1811 drivers/net/ethernet/neterion/vxge/vxge-main.c static int vxge_poll_msix(struct napi_struct *napi, int budget) napi 1813 drivers/net/ethernet/neterion/vxge/vxge-main.c struct vxge_ring *ring = container_of(napi, struct vxge_ring, napi); napi 1823 drivers/net/ethernet/neterion/vxge/vxge-main.c napi_complete_done(napi, pkts_processed); napi 1837 drivers/net/ethernet/neterion/vxge/vxge-main.c static int vxge_poll_inta(struct napi_struct *napi, int budget) napi 1839 drivers/net/ethernet/neterion/vxge/vxge-main.c struct vxgedev *vdev = container_of(napi, struct vxgedev, napi); napi 1861 drivers/net/ethernet/neterion/vxge/vxge-main.c napi_complete_done(napi, pkts_processed); napi 2200 drivers/net/ethernet/neterion/vxge/vxge-main.c napi_schedule(&vdev->napi); napi 2251 drivers/net/ethernet/neterion/vxge/vxge-main.c napi_schedule(&ring->napi); napi 2736 drivers/net/ethernet/neterion/vxge/vxge-main.c netif_napi_add(dev, &vdev->napi, vxge_poll_inta, napi 2738 drivers/net/ethernet/neterion/vxge/vxge-main.c napi_enable(&vdev->napi); napi 2741 drivers/net/ethernet/neterion/vxge/vxge-main.c vpath->ring.napi_p = &vdev->napi; napi 2746 drivers/net/ethernet/neterion/vxge/vxge-main.c netif_napi_add(dev, &vpath->ring.napi, napi 2748 drivers/net/ethernet/neterion/vxge/vxge-main.c napi_enable(&vpath->ring.napi); napi 2749 drivers/net/ethernet/neterion/vxge/vxge-main.c vpath->ring.napi_p = &vpath->ring.napi; napi 2890 drivers/net/ethernet/neterion/vxge/vxge-main.c napi_disable(&vdev->napi); napi 2893 drivers/net/ethernet/neterion/vxge/vxge-main.c napi_disable(&vdev->vpaths[i].ring.napi); napi 2923 drivers/net/ethernet/neterion/vxge/vxge-main.c netif_napi_del(&vdev->napi); napi 2926 drivers/net/ethernet/neterion/vxge/vxge-main.c netif_napi_del(&vdev->vpaths[i].ring.napi); napi 3002 drivers/net/ethernet/neterion/vxge/vxge-main.c napi_disable(&vdev->napi); napi 3005 drivers/net/ethernet/neterion/vxge/vxge-main.c napi_disable(&vdev->vpaths[i].ring.napi); napi 286 drivers/net/ethernet/neterion/vxge/vxge-main.h struct napi_struct napi; napi 375 drivers/net/ethernet/neterion/vxge/vxge-main.h struct napi_struct napi; napi 400 drivers/net/ethernet/netronome/nfp/nfp_net.h struct napi_struct napi; napi 476 drivers/net/ethernet/netronome/nfp/nfp_net_common.c napi_schedule_irqoff(&r_vec->napi); napi 2016 drivers/net/ethernet/netronome/nfp/nfp_net_common.c napi_gro_receive(&rx_ring->r_vec->napi, skb); napi 2045 drivers/net/ethernet/netronome/nfp/nfp_net_common.c static int nfp_net_poll(struct napi_struct *napi, int budget) napi 2048 drivers/net/ethernet/netronome/nfp/nfp_net_common.c container_of(napi, struct nfp_net_r_vector, napi); napi 2057 drivers/net/ethernet/netronome/nfp/nfp_net_common.c if (napi_complete_done(napi, pkts_polled)) napi 2622 drivers/net/ethernet/netronome/nfp/nfp_net_common.c netif_napi_add(nn->dp.netdev, &r_vec->napi, napi 2633 drivers/net/ethernet/netronome/nfp/nfp_net_common.c netif_napi_del(&r_vec->napi); napi 2655 drivers/net/ethernet/netronome/nfp/nfp_net_common.c netif_napi_del(&r_vec->napi); napi 2890 drivers/net/ethernet/netronome/nfp/nfp_net_common.c napi_disable(&nn->r_vecs[r].napi); napi 2966 drivers/net/ethernet/netronome/nfp/nfp_net_common.c napi_enable(&nn->r_vecs[r].napi); napi 170 drivers/net/ethernet/ni/nixge.c struct napi_struct napi; napi 632 drivers/net/ethernet/ni/nixge.c napi_gro_receive(&priv->napi, skb); napi 668 drivers/net/ethernet/ni/nixge.c static int nixge_poll(struct napi_struct *napi, int budget) napi 670 drivers/net/ethernet/ni/nixge.c struct nixge_priv *priv = container_of(napi, struct nixge_priv, napi); napi 678 drivers/net/ethernet/ni/nixge.c napi_complete_done(napi, work_done); napi 684 drivers/net/ethernet/ni/nixge.c napi_reschedule(napi); napi 756 drivers/net/ethernet/ni/nixge.c if (napi_schedule_prep(&priv->napi)) napi 757 drivers/net/ethernet/ni/nixge.c __napi_schedule(&priv->napi); napi 884 drivers/net/ethernet/ni/nixge.c napi_enable(&priv->napi); napi 915 drivers/net/ethernet/ni/nixge.c napi_disable(&priv->napi); napi 1318 drivers/net/ethernet/ni/nixge.c netif_napi_add(ndev, &priv->napi, nixge_poll, NAPI_POLL_WEIGHT); napi 757 drivers/net/ethernet/nvidia/forcedeth.c struct napi_struct napi; napi 1128 drivers/net/ethernet/nvidia/forcedeth.c napi_enable(&np->napi); napi 1135 drivers/net/ethernet/nvidia/forcedeth.c napi_disable(&np->napi); napi 1916 drivers/net/ethernet/nvidia/forcedeth.c napi_schedule(&np->napi); napi 2941 drivers/net/ethernet/nvidia/forcedeth.c napi_gro_receive(&np->napi, skb); napi 3027 drivers/net/ethernet/nvidia/forcedeth.c napi_gro_receive(&np->napi, skb); napi 3658 drivers/net/ethernet/nvidia/forcedeth.c if (napi_schedule_prep(&np->napi)) { napi 3663 drivers/net/ethernet/nvidia/forcedeth.c __napi_schedule(&np->napi); napi 3691 drivers/net/ethernet/nvidia/forcedeth.c if (napi_schedule_prep(&np->napi)) { napi 3696 drivers/net/ethernet/nvidia/forcedeth.c __napi_schedule(&np->napi); napi 3743 drivers/net/ethernet/nvidia/forcedeth.c static int nv_napi_poll(struct napi_struct *napi, int budget) napi 3745 drivers/net/ethernet/nvidia/forcedeth.c struct fe_priv *np = container_of(napi, struct fe_priv, napi); napi 3800 drivers/net/ethernet/nvidia/forcedeth.c napi_complete(napi); napi 3807 drivers/net/ethernet/nvidia/forcedeth.c napi_complete_done(napi, rx_work); napi 5842 drivers/net/ethernet/nvidia/forcedeth.c netif_napi_add(dev, &np->napi, nv_napi_poll, RX_WORK_PER_LOOP); napi 414 drivers/net/ethernet/nxp/lpc_eth.c struct napi_struct napi; napi 956 drivers/net/ethernet/nxp/lpc_eth.c static int lpc_eth_poll(struct napi_struct *napi, int budget) napi 958 drivers/net/ethernet/nxp/lpc_eth.c struct netdata_local *pldat = container_of(napi, napi 959 drivers/net/ethernet/nxp/lpc_eth.c struct netdata_local, napi); napi 970 drivers/net/ethernet/nxp/lpc_eth.c napi_complete_done(napi, rx_done); napi 990 drivers/net/ethernet/nxp/lpc_eth.c if (likely(napi_schedule_prep(&pldat->napi))) napi 991 drivers/net/ethernet/nxp/lpc_eth.c __napi_schedule(&pldat->napi); napi 1006 drivers/net/ethernet/nxp/lpc_eth.c napi_disable(&pldat->napi); napi 1179 drivers/net/ethernet/nxp/lpc_eth.c napi_enable(&pldat->napi); napi 1375 drivers/net/ethernet/nxp/lpc_eth.c netif_napi_add(ndev, &pldat->napi, lpc_eth_poll, NAPI_WEIGHT); napi 577 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe.h struct napi_struct napi; napi 1330 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c if (likely(napi_schedule_prep(&adapter->napi))) { napi 1338 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c __napi_schedule(&adapter->napi); napi 1700 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c napi_gro_receive(&adapter->napi, skb); napi 1916 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c napi_enable(&adapter->napi); napi 1940 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c napi_disable(&adapter->napi); napi 2291 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c static int pch_gbe_napi_poll(struct napi_struct *napi, int budget) napi 2294 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c container_of(napi, struct pch_gbe_adapter, napi); napi 2313 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c napi_complete_done(napi, work_done); napi 2549 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c netif_napi_add(netdev, &adapter->napi, napi 773 drivers/net/ethernet/pasemi/pasemi_mac.c napi_gro_receive(&mac->napi, skb); napi 926 drivers/net/ethernet/pasemi/pasemi_mac.c napi_schedule(&mac->napi); napi 966 drivers/net/ethernet/pasemi/pasemi_mac.c napi_schedule(&mac->napi); napi 1164 drivers/net/ethernet/pasemi/pasemi_mac.c napi_enable(&mac->napi); napi 1199 drivers/net/ethernet/pasemi/pasemi_mac.c napi_disable(&mac->napi); napi 1290 drivers/net/ethernet/pasemi/pasemi_mac.c napi_disable(&mac->napi); napi 1556 drivers/net/ethernet/pasemi/pasemi_mac.c static int pasemi_mac_poll(struct napi_struct *napi, int budget) napi 1558 drivers/net/ethernet/pasemi/pasemi_mac.c struct pasemi_mac *mac = container_of(napi, struct pasemi_mac, napi); napi 1565 drivers/net/ethernet/pasemi/pasemi_mac.c napi_complete_done(napi, pkts); napi 1610 drivers/net/ethernet/pasemi/pasemi_mac.c napi_disable(&mac->napi); napi 1650 drivers/net/ethernet/pasemi/pasemi_mac.c napi_enable(&mac->napi); napi 1696 drivers/net/ethernet/pasemi/pasemi_mac.c netif_napi_add(dev, &mac->napi, pasemi_mac_poll, 64); napi 62 drivers/net/ethernet/pasemi/pasemi_mac.h struct napi_struct napi; napi 57 drivers/net/ethernet/pensando/ionic/ionic.h int ionic_napi(struct napi_struct *napi, int budget, ionic_cq_cb cb, napi 126 drivers/net/ethernet/pensando/ionic/ionic_lif.c struct napi_struct *napi = data; napi 128 drivers/net/ethernet/pensando/ionic/ionic_lif.c napi_schedule_irqoff(napi); napi 149 drivers/net/ethernet/pensando/ionic/ionic_lif.c 0, intr->name, &qcq->napi); napi 203 drivers/net/ethernet/pensando/ionic/ionic_lif.c napi_enable(&qcq->napi); napi 241 drivers/net/ethernet/pensando/ionic/ionic_lif.c napi_disable(&qcq->napi); napi 263 drivers/net/ethernet/pensando/ionic/ionic_lif.c devm_free_irq(dev, qcq->intr.vector, &qcq->napi); napi 264 drivers/net/ethernet/pensando/ionic/ionic_lif.c netif_napi_del(&qcq->napi); napi 638 drivers/net/ethernet/pensando/ionic/ionic_lif.c netif_napi_add(lif->netdev, &qcq->napi, ionic_rx_napi, napi 643 drivers/net/ethernet/pensando/ionic/ionic_lif.c netif_napi_del(&qcq->napi); napi 726 drivers/net/ethernet/pensando/ionic/ionic_lif.c static int ionic_adminq_napi(struct napi_struct *napi, int budget) napi 728 drivers/net/ethernet/pensando/ionic/ionic_lif.c struct ionic_lif *lif = napi_to_cq(napi)->lif; napi 734 drivers/net/ethernet/pensando/ionic/ionic_lif.c a_work = ionic_napi(napi, budget, ionic_adminq_service, NULL, NULL); napi 1811 drivers/net/ethernet/pensando/ionic/ionic_lif.c napi_disable(&lif->adminqcq->napi); napi 1859 drivers/net/ethernet/pensando/ionic/ionic_lif.c netif_napi_add(lif->netdev, &qcq->napi, ionic_adminq_napi, napi 1865 drivers/net/ethernet/pensando/ionic/ionic_lif.c netif_napi_del(&qcq->napi); napi 1869 drivers/net/ethernet/pensando/ionic/ionic_lif.c napi_enable(&qcq->napi); napi 68 drivers/net/ethernet/pensando/ionic/ionic_lif.h struct napi_struct napi; napi 83 drivers/net/ethernet/pensando/ionic/ionic_lif.h #define napi_to_qcq(napi) container_of(napi, struct ionic_qcq, napi) napi 84 drivers/net/ethernet/pensando/ionic/ionic_lif.h #define napi_to_cq(napi) (&napi_to_qcq(napi)->cq) napi 284 drivers/net/ethernet/pensando/ionic/ionic_main.c int ionic_napi(struct napi_struct *napi, int budget, ionic_cq_cb cb, napi 287 drivers/net/ethernet/pensando/ionic/ionic_main.c struct ionic_qcq *qcq = napi_to_qcq(napi); napi 293 drivers/net/ethernet/pensando/ionic/ionic_main.c if (work_done < budget && napi_complete_done(napi, work_done)) { napi 156 drivers/net/ethernet/pensando/ionic/ionic_txrx.c napi_gro_receive(&qcq->napi, skb); napi 299 drivers/net/ethernet/pensando/ionic/ionic_txrx.c int ionic_rx_napi(struct napi_struct *napi, int budget) napi 301 drivers/net/ethernet/pensando/ionic/ionic_txrx.c struct ionic_qcq *qcq = napi_to_qcq(napi); napi 302 drivers/net/ethernet/pensando/ionic/ionic_txrx.c struct ionic_cq *rxcq = napi_to_cq(napi); napi 321 drivers/net/ethernet/pensando/ionic/ionic_txrx.c if (work_done < budget && napi_complete_done(napi, work_done)) { napi 12 drivers/net/ethernet/pensando/ionic/ionic_txrx.h int ionic_rx_napi(struct napi_struct *napi, int budget); napi 631 drivers/net/ethernet/qlogic/netxen/netxen_nic.h struct napi_struct napi; napi 1556 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c napi_gro_receive(&sds_ring->napi, skb); napi 58 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c static int netxen_nic_poll(struct napi_struct *napi, int budget); napi 176 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c netif_napi_add(netdev, &sds_ring->napi, napi 192 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c netif_napi_del(&sds_ring->napi); napi 207 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c napi_enable(&sds_ring->napi); napi 222 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c napi_synchronize(&sds_ring->napi); napi 223 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c napi_disable(&sds_ring->napi); napi 2327 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c napi_schedule(&sds_ring->napi); napi 2340 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c napi_schedule(&sds_ring->napi); napi 2348 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c napi_schedule(&sds_ring->napi); napi 2352 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c static int netxen_nic_poll(struct napi_struct *napi, int budget) napi 2355 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c container_of(napi, struct nx_host_sds_ring, napi); napi 2370 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c napi_complete_done(&sds_ring->napi, work_done); napi 463 drivers/net/ethernet/qlogic/qede/qede.h struct napi_struct napi; napi 528 drivers/net/ethernet/qlogic/qede/qede.h int qede_poll(struct napi_struct *napi, int budget); napi 1474 drivers/net/ethernet/qlogic/qede/qede_ethtool.c napi_enable(&edev->fp_array[i].napi); napi 1484 drivers/net/ethernet/qlogic/qede/qede_ethtool.c napi_disable(&edev->fp_array[i].napi); napi 622 drivers/net/ethernet/qlogic/qede/qede_fp.c napi_gro_receive(&fp->napi, skb); napi 1374 drivers/net/ethernet/qlogic/qede/qede_fp.c int qede_poll(struct napi_struct *napi, int budget) napi 1376 drivers/net/ethernet/qlogic/qede/qede_fp.c struct qede_fastpath *fp = container_of(napi, struct qede_fastpath, napi 1377 drivers/net/ethernet/qlogic/qede/qede_fp.c napi); napi 1398 drivers/net/ethernet/qlogic/qede/qede_fp.c napi_complete_done(napi, rx_work_done); napi 1424 drivers/net/ethernet/qlogic/qede/qede_fp.c napi_schedule_irqoff(&fp->napi); napi 1735 drivers/net/ethernet/qlogic/qede/qede_main.c napi_disable(&edev->fp_array[i].napi); napi 1737 drivers/net/ethernet/qlogic/qede/qede_main.c netif_napi_del(&edev->fp_array[i].napi); napi 1747 drivers/net/ethernet/qlogic/qede/qede_main.c netif_napi_add(edev->ndev, &edev->fp_array[i].napi, napi 1749 drivers/net/ethernet/qlogic/qede/qede_main.c napi_enable(&edev->fp_array[i].napi); napi 1817 drivers/net/ethernet/qlogic/qede/qede_main.c napi_schedule_irqoff(&fp->napi); napi 2033 drivers/net/ethernet/qlogic/qla3xxx.c napi_gro_receive(&qdev->napi, skb); napi 2103 drivers/net/ethernet/qlogic/qla3xxx.c napi_gro_receive(&qdev->napi, skb2); napi 2180 drivers/net/ethernet/qlogic/qla3xxx.c static int ql_poll(struct napi_struct *napi, int budget) napi 2182 drivers/net/ethernet/qlogic/qla3xxx.c struct ql3_adapter *qdev = container_of(napi, struct ql3_adapter, napi); napi 2189 drivers/net/ethernet/qlogic/qla3xxx.c if (work_done < budget && napi_complete_done(napi, work_done)) { napi 2250 drivers/net/ethernet/qlogic/qla3xxx.c if (likely(napi_schedule_prep(&qdev->napi))) napi 2251 drivers/net/ethernet/qlogic/qla3xxx.c __napi_schedule(&qdev->napi); napi 3437 drivers/net/ethernet/qlogic/qla3xxx.c napi_disable(&qdev->napi); napi 3518 drivers/net/ethernet/qlogic/qla3xxx.c napi_enable(&qdev->napi); napi 3842 drivers/net/ethernet/qlogic/qla3xxx.c netif_napi_add(ndev, &qdev->napi, ql_poll, 64); napi 1079 drivers/net/ethernet/qlogic/qla3xxx.h struct napi_struct napi; napi 598 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h struct napi_struct napi; napi 632 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h struct napi_struct napi; napi 546 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c napi_schedule(&sds_ring->napi); napi 960 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c static int qlcnic_poll(struct napi_struct *napi, int budget) napi 967 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c sds_ring = container_of(napi, struct qlcnic_host_sds_ring, napi); napi 980 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c napi_complete_done(&sds_ring->napi, work_done); napi 990 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c static int qlcnic_tx_poll(struct napi_struct *napi, int budget) napi 996 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c tx_ring = container_of(napi, struct qlcnic_host_tx_ring, napi); napi 1001 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c napi_complete(&tx_ring->napi); napi 1012 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c static int qlcnic_rx_poll(struct napi_struct *napi, int budget) napi 1018 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c sds_ring = container_of(napi, struct qlcnic_host_sds_ring, napi); napi 1024 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c napi_complete_done(&sds_ring->napi, work_done); napi 1249 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c napi_gro_receive(&sds_ring->napi, skb); napi 1588 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c netif_napi_add(netdev, &sds_ring->napi, qlcnic_rx_poll, napi 1592 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c netif_napi_add(netdev, &sds_ring->napi, napi 1596 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c netif_napi_add(netdev, &sds_ring->napi, napi 1610 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c netif_tx_napi_add(netdev, &tx_ring->napi, qlcnic_tx_poll, napi 1627 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c netif_napi_del(&sds_ring->napi); napi 1635 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c netif_napi_del(&tx_ring->napi); napi 1654 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c napi_enable(&sds_ring->napi); napi 1663 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c napi_enable(&tx_ring->napi); napi 1682 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c napi_synchronize(&sds_ring->napi); napi 1683 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c napi_disable(&sds_ring->napi); napi 1692 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c napi_synchronize(&tx_ring->napi); napi 1693 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c napi_disable(&tx_ring->napi); napi 1775 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c napi_gro_receive(&sds_ring->napi, skb); napi 1950 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c static int qlcnic_83xx_msix_sriov_vf_poll(struct napi_struct *napi, int budget) napi 1958 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c sds_ring = container_of(napi, struct qlcnic_host_sds_ring, napi); napi 1971 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c napi_complete_done(&sds_ring->napi, work_done); napi 1978 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c static int qlcnic_83xx_poll(struct napi_struct *napi, int budget) napi 1986 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c sds_ring = container_of(napi, struct qlcnic_host_sds_ring, napi); napi 1999 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c napi_complete_done(&sds_ring->napi, work_done); napi 2006 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c static int qlcnic_83xx_msix_tx_poll(struct napi_struct *napi, int budget) napi 2012 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c tx_ring = container_of(napi, struct qlcnic_host_tx_ring, napi); napi 2016 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c napi_complete(&tx_ring->napi); napi 2027 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c static int qlcnic_83xx_rx_poll(struct napi_struct *napi, int budget) napi 2033 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c sds_ring = container_of(napi, struct qlcnic_host_sds_ring, napi); napi 2037 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c napi_complete_done(&sds_ring->napi, work_done); napi 2057 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c napi_enable(&sds_ring->napi); napi 2066 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c napi_enable(&tx_ring->napi); napi 2086 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c napi_synchronize(&sds_ring->napi); napi 2087 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c napi_disable(&sds_ring->napi); napi 2095 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c napi_synchronize(&tx_ring->napi); napi 2096 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c napi_disable(&tx_ring->napi); napi 2116 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c netif_napi_add(netdev, &sds_ring->napi, napi 2120 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c netif_napi_add(netdev, &sds_ring->napi, napi 2125 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c netif_napi_add(netdev, &sds_ring->napi, napi 2140 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c netif_tx_napi_add(netdev, &tx_ring->napi, napi 2158 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c netif_napi_del(&sds_ring->napi); napi 2167 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c netif_napi_del(&tx_ring->napi); napi 3163 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c napi_schedule(&sds_ring->napi); napi 3176 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c napi_schedule(&sds_ring->napi); napi 3184 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c napi_schedule(&sds_ring->napi); napi 3192 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c napi_schedule(&tx_ring->napi); napi 956 drivers/net/ethernet/qualcomm/emac/emac-mac.c napi_enable(&adpt->rx_q.napi); napi 968 drivers/net/ethernet/qualcomm/emac/emac-mac.c napi_disable(&adpt->rx_q.napi); napi 1083 drivers/net/ethernet/qualcomm/emac/emac-mac.c napi_gro_receive(&rx_q->napi, skb); napi 176 drivers/net/ethernet/qualcomm/emac/emac-mac.h struct napi_struct napi; napi 97 drivers/net/ethernet/qualcomm/emac/emac.c static int emac_napi_rtx(struct napi_struct *napi, int budget) napi 100 drivers/net/ethernet/qualcomm/emac/emac.c container_of(napi, struct emac_rx_queue, napi); napi 108 drivers/net/ethernet/qualcomm/emac/emac.c napi_complete_done(napi, work_done); napi 153 drivers/net/ethernet/qualcomm/emac/emac.c if (napi_schedule_prep(&rx_q->napi)) { napi 155 drivers/net/ethernet/qualcomm/emac/emac.c __napi_schedule(&rx_q->napi); napi 689 drivers/net/ethernet/qualcomm/emac/emac.c netif_napi_add(netdev, &adpt->rx_q.napi, emac_napi_rtx, napi 713 drivers/net/ethernet/qualcomm/emac/emac.c netif_napi_del(&adpt->rx_q.napi); napi 731 drivers/net/ethernet/qualcomm/emac/emac.c netif_napi_del(&adpt->rx_q.napi); napi 187 drivers/net/ethernet/rdc/r6040.c struct napi_struct napi; napi 469 drivers/net/ethernet/rdc/r6040.c napi_disable(&lp->napi); napi 624 drivers/net/ethernet/rdc/r6040.c static int r6040_poll(struct napi_struct *napi, int budget) napi 627 drivers/net/ethernet/rdc/r6040.c container_of(napi, struct r6040_private, napi); napi 637 drivers/net/ethernet/rdc/r6040.c napi_complete_done(napi, work_done); napi 676 drivers/net/ethernet/rdc/r6040.c if (likely(napi_schedule_prep(&lp->napi))) { napi 679 drivers/net/ethernet/rdc/r6040.c __napi_schedule_irqoff(&lp->napi); napi 778 drivers/net/ethernet/rdc/r6040.c napi_enable(&lp->napi); napi 1126 drivers/net/ethernet/rdc/r6040.c netif_napi_add(dev, &lp->napi, r6040_poll, 64); napi 1167 drivers/net/ethernet/rdc/r6040.c netif_napi_del(&lp->napi); napi 1187 drivers/net/ethernet/rdc/r6040.c netif_napi_del(&lp->napi); napi 328 drivers/net/ethernet/realtek/8139cp.c struct napi_struct napi; napi 431 drivers/net/ethernet/realtek/8139cp.c napi_gro_receive(&cp->napi, skb); napi 463 drivers/net/ethernet/realtek/8139cp.c static int cp_rx_poll(struct napi_struct *napi, int budget) napi 465 drivers/net/ethernet/realtek/8139cp.c struct cp_private *cp = container_of(napi, struct cp_private, napi); napi 510 drivers/net/ethernet/realtek/8139cp.c new_skb = napi_alloc_skb(napi, buflen); napi 557 drivers/net/ethernet/realtek/8139cp.c if (rx < budget && napi_complete_done(napi, rx)) { napi 604 drivers/net/ethernet/realtek/8139cp.c if (napi_schedule_prep(&cp->napi)) { napi 606 drivers/net/ethernet/realtek/8139cp.c __napi_schedule(&cp->napi); napi 1191 drivers/net/ethernet/realtek/8139cp.c napi_enable(&cp->napi); napi 1208 drivers/net/ethernet/realtek/8139cp.c napi_disable(&cp->napi); napi 1219 drivers/net/ethernet/realtek/8139cp.c napi_disable(&cp->napi); napi 1269 drivers/net/ethernet/realtek/8139cp.c napi_schedule_irqoff(&cp->napi); napi 1993 drivers/net/ethernet/realtek/8139cp.c netif_napi_add(dev, &cp->napi, cp_rx_poll, 16); napi 584 drivers/net/ethernet/realtek/8139too.c struct napi_struct napi; napi 653 drivers/net/ethernet/realtek/8139too.c static int rtl8139_poll(struct napi_struct *napi, int budget); napi 1004 drivers/net/ethernet/realtek/8139too.c netif_napi_add(dev, &tp->napi, rtl8139_poll, 64); napi 1348 drivers/net/ethernet/realtek/8139too.c napi_enable(&tp->napi); napi 1663 drivers/net/ethernet/realtek/8139too.c napi_disable(&tp->napi); napi 1696 drivers/net/ethernet/realtek/8139too.c napi_enable(&tp->napi); napi 2039 drivers/net/ethernet/realtek/8139too.c skb = napi_alloc_skb(&tp->napi, pkt_size); napi 2125 drivers/net/ethernet/realtek/8139too.c static int rtl8139_poll(struct napi_struct *napi, int budget) napi 2127 drivers/net/ethernet/realtek/8139too.c struct rtl8139_private *tp = container_of(napi, struct rtl8139_private, napi); napi 2141 drivers/net/ethernet/realtek/8139too.c if (napi_complete_done(napi, work_done)) napi 2192 drivers/net/ethernet/realtek/8139too.c if (napi_schedule_prep(&tp->napi)) { napi 2194 drivers/net/ethernet/realtek/8139too.c __napi_schedule(&tp->napi); napi 2262 drivers/net/ethernet/realtek/8139too.c napi_disable(&tp->napi); napi 652 drivers/net/ethernet/realtek/r8169_main.c struct napi_struct napi; napi 5662 drivers/net/ethernet/realtek/r8169_main.c napi_disable(&tp->napi); napi 5674 drivers/net/ethernet/realtek/r8169_main.c napi_enable(&tp->napi); napi 6195 drivers/net/ethernet/realtek/r8169_main.c skb = napi_alloc_skb(&tp->napi, pkt_size); napi 6221 drivers/net/ethernet/realtek/r8169_main.c napi_gro_receive(&tp->napi, skb); napi 6264 drivers/net/ethernet/realtek/r8169_main.c napi_schedule_irqoff(&tp->napi); napi 6302 drivers/net/ethernet/realtek/r8169_main.c static int rtl8169_poll(struct napi_struct *napi, int budget) napi 6304 drivers/net/ethernet/realtek/r8169_main.c struct rtl8169_private *tp = container_of(napi, struct rtl8169_private, napi); napi 6313 drivers/net/ethernet/realtek/r8169_main.c napi_complete_done(napi, work_done); napi 6376 drivers/net/ethernet/realtek/r8169_main.c napi_disable(&tp->napi); napi 6482 drivers/net/ethernet/realtek/r8169_main.c napi_enable(&tp->napi); napi 6586 drivers/net/ethernet/realtek/r8169_main.c napi_disable(&tp->napi); napi 6620 drivers/net/ethernet/realtek/r8169_main.c napi_enable(&tp->napi); napi 6760 drivers/net/ethernet/realtek/r8169_main.c netif_napi_del(&tp->napi); napi 7170 drivers/net/ethernet/realtek/r8169_main.c netif_napi_add(dev, &tp->napi, rtl8169_poll, NAPI_POLL_WEIGHT); napi 1023 drivers/net/ethernet/renesas/ravb.h struct napi_struct napi[NUM_RX_QUEUE]; napi 604 drivers/net/ethernet/renesas/ravb_main.c napi_gro_receive(&priv->napi[q], skb); napi 765 drivers/net/ethernet/renesas/ravb_main.c if (napi_schedule_prep(&priv->napi[q])) { napi 774 drivers/net/ethernet/renesas/ravb_main.c __napi_schedule(&priv->napi[q]); napi 906 drivers/net/ethernet/renesas/ravb_main.c static int ravb_poll(struct napi_struct *napi, int budget) napi 908 drivers/net/ethernet/renesas/ravb_main.c struct net_device *ndev = napi->dev; napi 911 drivers/net/ethernet/renesas/ravb_main.c int q = napi - priv->napi; napi 940 drivers/net/ethernet/renesas/ravb_main.c napi_complete(napi); napi 1347 drivers/net/ethernet/renesas/ravb_main.c napi_enable(&priv->napi[RAVB_BE]); napi 1348 drivers/net/ethernet/renesas/ravb_main.c napi_enable(&priv->napi[RAVB_NC]); napi 1422 drivers/net/ethernet/renesas/ravb_main.c napi_disable(&priv->napi[RAVB_NC]); napi 1423 drivers/net/ethernet/renesas/ravb_main.c napi_disable(&priv->napi[RAVB_BE]); napi 1704 drivers/net/ethernet/renesas/ravb_main.c napi_disable(&priv->napi[RAVB_NC]); napi 1705 drivers/net/ethernet/renesas/ravb_main.c napi_disable(&priv->napi[RAVB_BE]); napi 2154 drivers/net/ethernet/renesas/ravb_main.c netif_napi_add(ndev, &priv->napi[RAVB_BE], ravb_poll, 64); napi 2155 drivers/net/ethernet/renesas/ravb_main.c netif_napi_add(ndev, &priv->napi[RAVB_NC], ravb_poll, 64); napi 2173 drivers/net/ethernet/renesas/ravb_main.c netif_napi_del(&priv->napi[RAVB_NC]); napi 2174 drivers/net/ethernet/renesas/ravb_main.c netif_napi_del(&priv->napi[RAVB_BE]); napi 2206 drivers/net/ethernet/renesas/ravb_main.c netif_napi_del(&priv->napi[RAVB_NC]); napi 2207 drivers/net/ethernet/renesas/ravb_main.c netif_napi_del(&priv->napi[RAVB_BE]); napi 2227 drivers/net/ethernet/renesas/ravb_main.c napi_disable(&priv->napi[RAVB_NC]); napi 2228 drivers/net/ethernet/renesas/ravb_main.c napi_disable(&priv->napi[RAVB_BE]); napi 2242 drivers/net/ethernet/renesas/ravb_main.c napi_enable(&priv->napi[RAVB_NC]); napi 2243 drivers/net/ethernet/renesas/ravb_main.c napi_enable(&priv->napi[RAVB_BE]); napi 1907 drivers/net/ethernet/renesas/sh_eth.c if (napi_schedule_prep(&mdp->napi)) { napi 1911 drivers/net/ethernet/renesas/sh_eth.c __napi_schedule(&mdp->napi); napi 1945 drivers/net/ethernet/renesas/sh_eth.c static int sh_eth_poll(struct napi_struct *napi, int budget) napi 1947 drivers/net/ethernet/renesas/sh_eth.c struct sh_eth_private *mdp = container_of(napi, struct sh_eth_private, napi 1948 drivers/net/ethernet/renesas/sh_eth.c napi); napi 1949 drivers/net/ethernet/renesas/sh_eth.c struct net_device *ndev = napi->dev; napi 1964 drivers/net/ethernet/renesas/sh_eth.c napi_complete(napi); napi 2360 drivers/net/ethernet/renesas/sh_eth.c napi_synchronize(&mdp->napi); napi 2446 drivers/net/ethernet/renesas/sh_eth.c napi_enable(&mdp->napi); napi 2479 drivers/net/ethernet/renesas/sh_eth.c napi_disable(&mdp->napi); napi 2627 drivers/net/ethernet/renesas/sh_eth.c napi_disable(&mdp->napi); napi 3392 drivers/net/ethernet/renesas/sh_eth.c netif_napi_add(ndev, &mdp->napi, sh_eth_poll, 64); napi 3412 drivers/net/ethernet/renesas/sh_eth.c netif_napi_del(&mdp->napi); napi 3430 drivers/net/ethernet/renesas/sh_eth.c netif_napi_del(&mdp->napi); napi 3446 drivers/net/ethernet/renesas/sh_eth.c napi_disable(&mdp->napi); napi 3460 drivers/net/ethernet/renesas/sh_eth.c napi_enable(&mdp->napi); napi 532 drivers/net/ethernet/renesas/sh_eth.h struct napi_struct napi; napi 2412 drivers/net/ethernet/rocker/rocker_main.c static struct rocker_port *rocker_port_napi_tx_get(struct napi_struct *napi) napi 2414 drivers/net/ethernet/rocker/rocker_main.c return container_of(napi, struct rocker_port, napi_tx); napi 2417 drivers/net/ethernet/rocker/rocker_main.c static int rocker_port_poll_tx(struct napi_struct *napi, int budget) napi 2419 drivers/net/ethernet/rocker/rocker_main.c struct rocker_port *rocker_port = rocker_port_napi_tx_get(napi); napi 2450 drivers/net/ethernet/rocker/rocker_main.c napi_complete(napi); napi 2491 drivers/net/ethernet/rocker/rocker_main.c static struct rocker_port *rocker_port_napi_rx_get(struct napi_struct *napi) napi 2493 drivers/net/ethernet/rocker/rocker_main.c return container_of(napi, struct rocker_port, napi_rx); napi 2496 drivers/net/ethernet/rocker/rocker_main.c static int rocker_port_poll_rx(struct napi_struct *napi, int budget) napi 2498 drivers/net/ethernet/rocker/rocker_main.c struct rocker_port *rocker_port = rocker_port_napi_rx_get(napi); napi 2528 drivers/net/ethernet/rocker/rocker_main.c napi_complete_done(napi, credits); napi 463 drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h struct napi_struct napi; napi 1177 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c napi_enable(&priv->napi); napi 1213 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c napi_disable(&priv->napi); napi 1529 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c napi_gro_receive(&priv->napi, skb); napi 1547 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c static int sxgbe_poll(struct napi_struct *napi, int budget) napi 1549 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c struct sxgbe_priv_data *priv = container_of(napi, napi 1550 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c struct sxgbe_priv_data, napi); napi 1560 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c napi_complete_done(napi, work_done); napi 1631 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c napi_schedule(&priv->napi); napi 1667 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c if (likely((status & handle_rx) && (napi_schedule_prep(&priv->napi)))) { napi 1669 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c __napi_schedule(&priv->napi); napi 2138 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c netif_napi_add(ndev, &priv->napi, sxgbe_poll, 64); napi 2183 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c netif_napi_del(&priv->napi); napi 2221 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c netif_napi_del(&priv->napi); napi 330 drivers/net/ethernet/sfc/efx.c static int efx_poll(struct napi_struct *napi, int budget) napi 333 drivers/net/ethernet/sfc/efx.c container_of(napi, struct efx_channel, napi_str); napi 360 drivers/net/ethernet/sfc/efx.c if (napi_complete_done(napi, spent)) napi 297 drivers/net/ethernet/sfc/falcon/efx.c static int ef4_poll(struct napi_struct *napi, int budget) napi 300 drivers/net/ethernet/sfc/falcon/efx.c container_of(napi, struct ef4_channel, napi_str); napi 324 drivers/net/ethernet/sfc/falcon/efx.c napi_complete_done(napi, spent); napi 426 drivers/net/ethernet/sfc/falcon/rx.c struct napi_struct *napi = &channel->napi_str; napi 430 drivers/net/ethernet/sfc/falcon/rx.c skb = napi_get_frags(napi); napi 462 drivers/net/ethernet/sfc/falcon/rx.c napi_gro_frags(napi); napi 414 drivers/net/ethernet/sfc/rx.c struct napi_struct *napi = &channel->napi_str; napi 418 drivers/net/ethernet/sfc/rx.c skb = napi_get_frags(napi); napi 451 drivers/net/ethernet/sfc/rx.c napi_gro_frags(napi); napi 266 drivers/net/ethernet/smsc/epic100.c struct napi_struct napi; napi 299 drivers/net/ethernet/smsc/epic100.c static int epic_poll(struct napi_struct *napi, int budget); napi 480 drivers/net/ethernet/smsc/epic100.c netif_napi_add(dev, &ep->napi, epic_poll, 64); napi 650 drivers/net/ethernet/smsc/epic100.c napi_enable(&ep->napi); napi 653 drivers/net/ethernet/smsc/epic100.c napi_disable(&ep->napi); napi 1085 drivers/net/ethernet/smsc/epic100.c if (napi_schedule_prep(&ep->napi)) { napi 1087 drivers/net/ethernet/smsc/epic100.c __napi_schedule(&ep->napi); napi 1240 drivers/net/ethernet/smsc/epic100.c static int epic_poll(struct napi_struct *napi, int budget) napi 1242 drivers/net/ethernet/smsc/epic100.c struct epic_private *ep = container_of(napi, struct epic_private, napi); napi 1253 drivers/net/ethernet/smsc/epic100.c if (work_done < budget && napi_complete_done(napi, work_done)) { napi 1275 drivers/net/ethernet/smsc/epic100.c napi_disable(&ep->napi); napi 114 drivers/net/ethernet/smsc/smsc911x.c struct napi_struct napi; napi 1206 drivers/net/ethernet/smsc/smsc911x.c static int smsc911x_poll(struct napi_struct *napi, int budget) napi 1209 drivers/net/ethernet/smsc/smsc911x.c container_of(napi, struct smsc911x_data, napi); napi 1224 drivers/net/ethernet/smsc/smsc911x.c napi_complete(napi); napi 1568 drivers/net/ethernet/smsc/smsc911x.c if (likely(napi_schedule_prep(&pdata->napi))) { napi 1574 drivers/net/ethernet/smsc/smsc911x.c __napi_schedule(&pdata->napi); napi 1716 drivers/net/ethernet/smsc/smsc911x.c napi_enable(&pdata->napi); napi 1755 drivers/net/ethernet/smsc/smsc911x.c napi_disable(&pdata->napi); napi 2308 drivers/net/ethernet/smsc/smsc911x.c netif_napi_add(dev, &pdata->napi, smsc911x_poll, SMSC_NAPI_WEIGHT); napi 61 drivers/net/ethernet/smsc/smsc9420.c struct napi_struct napi; napi 632 drivers/net/ethernet/smsc/smsc9420.c napi_schedule(&pd->napi); napi 699 drivers/net/ethernet/smsc/smsc9420.c napi_disable(&pd->napi); napi 821 drivers/net/ethernet/smsc/smsc9420.c static int smsc9420_rx_poll(struct napi_struct *napi, int budget) napi 824 drivers/net/ethernet/smsc/smsc9420.c container_of(napi, struct smsc9420_pdata, napi); napi 852 drivers/net/ethernet/smsc/smsc9420.c napi_complete_done(&pd->napi, work_done); napi 1395 drivers/net/ethernet/smsc/smsc9420.c napi_enable(&pd->napi); napi 1454 drivers/net/ethernet/smsc/smsc9420.c napi_disable(&pd->napi); napi 1609 drivers/net/ethernet/smsc/smsc9420.c netif_napi_add(dev, &pd->napi, smsc9420_rx_poll, NAPI_WEIGHT); napi 295 drivers/net/ethernet/socionext/netsec.c struct napi_struct napi; napi 1032 drivers/net/ethernet/socionext/netsec.c if ((skb && napi_gro_receive(&priv->napi, skb) != GRO_DROP) || napi 1053 drivers/net/ethernet/socionext/netsec.c static int netsec_napi_poll(struct napi_struct *napi, int budget) napi 1058 drivers/net/ethernet/socionext/netsec.c priv = container_of(napi, struct netsec_priv, napi); napi 1063 drivers/net/ethernet/socionext/netsec.c if (done < budget && napi_complete_done(napi, done)) { napi 1586 drivers/net/ethernet/socionext/netsec.c napi_schedule(&priv->napi); napi 1635 drivers/net/ethernet/socionext/netsec.c napi_enable(&priv->napi); napi 1659 drivers/net/ethernet/socionext/netsec.c napi_disable(&priv->napi); napi 2079 drivers/net/ethernet/socionext/netsec.c netif_napi_add(ndev, &priv->napi, netsec_napi_poll, NAPI_POLL_WEIGHT); napi 2109 drivers/net/ethernet/socionext/netsec.c netif_napi_del(&priv->napi); napi 2128 drivers/net/ethernet/socionext/netsec.c netif_napi_del(&priv->napi); napi 816 drivers/net/ethernet/socionext/sni_ave.c static int ave_napi_poll_rx(struct napi_struct *napi, int budget) napi 822 drivers/net/ethernet/socionext/sni_ave.c priv = container_of(napi, struct ave_private, napi_rx); napi 827 drivers/net/ethernet/socionext/sni_ave.c napi_complete_done(napi, num); napi 836 drivers/net/ethernet/socionext/sni_ave.c static int ave_napi_poll_tx(struct napi_struct *napi, int budget) napi 842 drivers/net/ethernet/socionext/sni_ave.c priv = container_of(napi, struct ave_private, napi_tx); napi 846 drivers/net/ethernet/socionext/sni_ave.c napi_complete(napi); napi 3665 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c static int stmmac_napi_poll_rx(struct napi_struct *napi, int budget) napi 3668 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c container_of(napi, struct stmmac_channel, rx_napi); napi 3676 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c if (work_done < budget && napi_complete_done(napi, work_done)) napi 3681 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c static int stmmac_napi_poll_tx(struct napi_struct *napi, int budget) napi 3684 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c container_of(napi, struct stmmac_channel, tx_napi); napi 3696 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c napi_complete_done(napi, work_done); napi 2450 drivers/net/ethernet/sun/cassini.c napi_schedule(&cp->napi); napi 2501 drivers/net/ethernet/sun/cassini.c napi_schedule(&cp->napi); napi 2557 drivers/net/ethernet/sun/cassini.c napi_schedule(&cp->napi); napi 2572 drivers/net/ethernet/sun/cassini.c static int cas_poll(struct napi_struct *napi, int budget) napi 2574 drivers/net/ethernet/sun/cassini.c struct cas *cp = container_of(napi, struct cas, napi); napi 2635 drivers/net/ethernet/sun/cassini.c napi_complete(napi); napi 4280 drivers/net/ethernet/sun/cassini.c napi_enable(&cp->napi); napi 4309 drivers/net/ethernet/sun/cassini.c napi_disable(&cp->napi); napi 5095 drivers/net/ethernet/sun/cassini.c netif_napi_add(dev, &cp->napi, cas_poll, 64); napi 2752 drivers/net/ethernet/sun/cassini.h struct napi_struct napi; napi 360 drivers/net/ethernet/sun/ldmvsw.c netif_napi_add(dev, &port->napi, sunvnet_poll_common, napi 379 drivers/net/ethernet/sun/ldmvsw.c napi_enable(&port->napi); napi 398 drivers/net/ethernet/sun/ldmvsw.c netif_napi_del(&port->napi); napi 416 drivers/net/ethernet/sun/ldmvsw.c napi_disable(&port->napi); napi 425 drivers/net/ethernet/sun/ldmvsw.c netif_napi_del(&port->napi); napi 3404 drivers/net/ethernet/sun/niu.c static int niu_process_rx_pkt(struct napi_struct *napi, struct niu *np, napi 3489 drivers/net/ethernet/sun/niu.c napi_gro_receive(napi, skb); napi 3678 drivers/net/ethernet/sun/niu.c static int niu_rx_work(struct napi_struct *napi, struct niu *np, napi 3702 drivers/net/ethernet/sun/niu.c rcr_done += niu_process_rx_pkt(napi, np, rp); napi 3750 drivers/net/ethernet/sun/niu.c this_work_done = niu_rx_work(&lp->napi, np, rp, napi 3762 drivers/net/ethernet/sun/niu.c static int niu_poll(struct napi_struct *napi, int budget) napi 3764 drivers/net/ethernet/sun/niu.c struct niu_ldg *lp = container_of(napi, struct niu_ldg, napi); napi 3771 drivers/net/ethernet/sun/niu.c napi_complete_done(napi, work_done); napi 4185 drivers/net/ethernet/sun/niu.c if (likely(napi_schedule_prep(&lp->napi))) { napi 4190 drivers/net/ethernet/sun/niu.c __napi_schedule(&lp->napi); napi 6072 drivers/net/ethernet/sun/niu.c napi_enable(&np->ldg[i].napi); napi 6080 drivers/net/ethernet/sun/niu.c napi_disable(&np->ldg[i].napi); napi 9090 drivers/net/ethernet/sun/niu.c netif_napi_add(np->dev, &lp->napi, niu_poll, 64); napi 3170 drivers/net/ethernet/sun/niu.h struct napi_struct napi; napi 230 drivers/net/ethernet/sun/sungem.c napi_disable(&gp->napi); napi 241 drivers/net/ethernet/sun/sungem.c napi_enable(&gp->napi); napi 865 drivers/net/ethernet/sun/sungem.c napi_gro_receive(&gp->napi, skb); napi 884 drivers/net/ethernet/sun/sungem.c static int gem_poll(struct napi_struct *napi, int budget) napi 886 drivers/net/ethernet/sun/sungem.c struct gem *gp = container_of(napi, struct gem, napi); napi 907 drivers/net/ethernet/sun/sungem.c napi_complete(napi); napi 928 drivers/net/ethernet/sun/sungem.c napi_complete_done(napi, work_done); napi 939 drivers/net/ethernet/sun/sungem.c if (napi_schedule_prep(&gp->napi)) { napi 943 drivers/net/ethernet/sun/sungem.c napi_enable(&gp->napi); napi 952 drivers/net/ethernet/sun/sungem.c __napi_schedule(&gp->napi); napi 2981 drivers/net/ethernet/sun/sungem.c netif_napi_add(dev, &gp->napi, gem_poll, 64); napi 988 drivers/net/ethernet/sun/sungem.h struct napi_struct napi; napi 468 drivers/net/ethernet/sun/sunvnet.c netif_napi_add(port->vp->dev, &port->napi, sunvnet_poll_common, napi 498 drivers/net/ethernet/sun/sunvnet.c napi_enable(&port->napi); napi 520 drivers/net/ethernet/sun/sunvnet.c napi_disable(&port->napi); napi 528 drivers/net/ethernet/sun/sunvnet.c netif_napi_del(&port->napi); napi 458 drivers/net/ethernet/sun/sunvnet_common.c napi_gro_receive(&port->napi, skb); napi 913 drivers/net/ethernet/sun/sunvnet_common.c int sunvnet_poll_common(struct napi_struct *napi, int budget) napi 915 drivers/net/ethernet/sun/sunvnet_common.c struct vnet_port *port = container_of(napi, struct vnet_port, napi); napi 920 drivers/net/ethernet/sun/sunvnet_common.c napi_complete_done(napi, processed); napi 935 drivers/net/ethernet/sun/sunvnet_common.c napi_schedule(&port->napi); napi 1793 drivers/net/ethernet/sun/sunvnet_common.c napi_schedule(&port->napi); napi 86 drivers/net/ethernet/sun/sunvnet_common.h struct napi_struct napi; napi 150 drivers/net/ethernet/sun/sunvnet_common.h int sunvnet_poll_common(struct napi_struct *napi, int budget); napi 290 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c if (napi_schedule_prep(&pdata->napi)) { napi 296 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c __napi_schedule_irqoff(&pdata->napi); napi 350 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c if (napi_schedule_prep(&channel->napi)) { napi 355 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c __napi_schedule_irqoff(&channel->napi); napi 365 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c struct napi_struct *napi; napi 367 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c napi = (pdata->per_channel_irq) ? &channel->napi : &pdata->napi; napi 369 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c if (napi_schedule_prep(napi)) { napi 378 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c __napi_schedule(napi); napi 421 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c netif_napi_add(pdata->netdev, &channel->napi, napi 425 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c napi_enable(&channel->napi); napi 429 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c netif_napi_add(pdata->netdev, &pdata->napi, napi 432 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c napi_enable(&pdata->napi); napi 444 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c napi_disable(&channel->napi); napi 447 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c netif_napi_del(&channel->napi); napi 450 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c napi_disable(&pdata->napi); napi 453 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c netif_napi_del(&pdata->napi); napi 988 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c struct napi_struct *napi, napi 996 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c skb = napi_alloc_skb(napi, desc_data->rx.hdr.dma_len); napi 1119 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c struct napi_struct *napi; napi 1132 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c napi = (pdata->per_channel_irq) ? &channel->napi : &pdata->napi; napi 1192 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c skb = xlgmac_create_skb(pdata, napi, desc_data, napi 1260 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c napi_gro_receive(napi, skb); napi 1280 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c static int xlgmac_one_poll(struct napi_struct *napi, int budget) napi 1282 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c struct xlgmac_channel *channel = container_of(napi, napi 1284 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c napi); napi 1298 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c napi_complete_done(napi, processed); napi 1309 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c static int xlgmac_all_poll(struct napi_struct *napi, int budget) napi 1311 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c struct xlgmac_pdata *pdata = container_of(napi, napi 1313 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c napi); napi 1341 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c napi_complete_done(napi, processed); napi 370 drivers/net/ethernet/synopsys/dwc-xlgmac.h struct napi_struct napi; napi 610 drivers/net/ethernet/synopsys/dwc-xlgmac.h struct napi_struct napi; napi 265 drivers/net/ethernet/tehuti/tehuti.c if (likely(napi_schedule_prep(&priv->napi))) { napi 266 drivers/net/ethernet/tehuti/tehuti.c __napi_schedule(&priv->napi); napi 286 drivers/net/ethernet/tehuti/tehuti.c static int bdx_poll(struct napi_struct *napi, int budget) napi 288 drivers/net/ethernet/tehuti/tehuti.c struct bdx_priv *priv = container_of(napi, struct bdx_priv, napi); napi 302 drivers/net/ethernet/tehuti/tehuti.c napi_complete_done(napi, work_done); napi 577 drivers/net/ethernet/tehuti/tehuti.c napi_disable(&priv->napi); napi 620 drivers/net/ethernet/tehuti/tehuti.c napi_enable(&priv->napi); napi 2019 drivers/net/ethernet/tehuti/tehuti.c netif_napi_add(ndev, &priv->napi, bdx_poll, 64); napi 245 drivers/net/ethernet/tehuti/tehuti.h struct napi_struct napi; napi 202 drivers/net/ethernet/ti/cpmac.c struct napi_struct napi; napi 401 drivers/net/ethernet/ti/cpmac.c static int cpmac_poll(struct napi_struct *napi, int budget) napi 405 drivers/net/ethernet/ti/cpmac.c struct cpmac_priv *priv = container_of(napi, struct cpmac_priv, napi); napi 414 drivers/net/ethernet/ti/cpmac.c napi_complete(napi); napi 501 drivers/net/ethernet/ti/cpmac.c napi_complete(napi); napi 522 drivers/net/ethernet/ti/cpmac.c napi_complete(napi); napi 524 drivers/net/ethernet/ti/cpmac.c napi_disable(&priv->napi); napi 786 drivers/net/ethernet/ti/cpmac.c if (napi_schedule_prep(&priv->napi)) { napi 788 drivers/net/ethernet/ti/cpmac.c __napi_schedule(&priv->napi); napi 981 drivers/net/ethernet/ti/cpmac.c napi_enable(&priv->napi); napi 1019 drivers/net/ethernet/ti/cpmac.c napi_disable(&priv->napi); napi 1118 drivers/net/ethernet/ti/cpmac.c netif_napi_add(dev, &priv->napi, cpmac_poll, 64); napi 374 drivers/net/ethernet/ti/cpsw_priv.h #define napi_to_cpsw(napi) container_of(napi, struct cpsw_common, napi) napi 313 drivers/net/ethernet/ti/davinci_emac.c struct napi_struct napi; napi 847 drivers/net/ethernet/ti/davinci_emac.c napi_schedule(&priv->napi); napi 1203 drivers/net/ethernet/ti/davinci_emac.c napi_enable(&priv->napi); napi 1222 drivers/net/ethernet/ti/davinci_emac.c static int emac_poll(struct napi_struct *napi, int budget) napi 1225 drivers/net/ethernet/ti/davinci_emac.c struct emac_priv *priv = container_of(napi, struct emac_priv, napi); napi 1261 drivers/net/ethernet/ti/davinci_emac.c napi_disable(&priv->napi); napi 1284 drivers/net/ethernet/ti/davinci_emac.c napi_complete_done(napi, num_rx_pkts); napi 1535 drivers/net/ethernet/ti/davinci_emac.c napi_disable(&priv->napi); napi 1573 drivers/net/ethernet/ti/davinci_emac.c napi_disable(&priv->napi); napi 1910 drivers/net/ethernet/ti/davinci_emac.c netif_napi_add(ndev, &priv->napi, emac_poll, EMAC_POLL_WEIGHT); napi 1942 drivers/net/ethernet/ti/davinci_emac.c netif_napi_del(&priv->napi); napi 948 drivers/net/ethernet/ti/netcp_core.c static int netcp_rx_poll(struct napi_struct *napi, int budget) napi 950 drivers/net/ethernet/ti/netcp_core.c struct netcp_intf *netcp = container_of(napi, struct netcp_intf, napi 1058 drivers/net/ethernet/ti/netcp_core.c static int netcp_tx_poll(struct napi_struct *napi, int budget) napi 1061 drivers/net/ethernet/ti/netcp_core.c struct netcp_intf *netcp = container_of(napi, struct netcp_intf, napi 247 drivers/net/ethernet/toshiba/ps3_gelic_net.c napi_enable(&card->napi); napi 260 drivers/net/ethernet/toshiba/ps3_gelic_net.c napi_disable(&card->napi); napi 1086 drivers/net/ethernet/toshiba/ps3_gelic_net.c static int gelic_net_poll(struct napi_struct *napi, int budget) napi 1088 drivers/net/ethernet/toshiba/ps3_gelic_net.c struct gelic_card *card = container_of(napi, struct gelic_card, napi); napi 1099 drivers/net/ethernet/toshiba/ps3_gelic_net.c napi_complete_done(napi, packets_done); napi 1123 drivers/net/ethernet/toshiba/ps3_gelic_net.c napi_schedule(&card->napi); napi 1440 drivers/net/ethernet/toshiba/ps3_gelic_net.c struct napi_struct *napi) napi 1444 drivers/net/ethernet/toshiba/ps3_gelic_net.c netif_napi_add(netdev, napi, gelic_net_poll, NAPI_POLL_WEIGHT); napi 1748 drivers/net/ethernet/toshiba/ps3_gelic_net.c gelic_ether_setup_netdev_ops(netdev, &card->napi); napi 262 drivers/net/ethernet/toshiba/ps3_gelic_net.h struct napi_struct napi; napi 1235 drivers/net/ethernet/toshiba/spider_net.c static int spider_net_poll(struct napi_struct *napi, int budget) napi 1237 drivers/net/ethernet/toshiba/spider_net.c struct spider_net_card *card = container_of(napi, struct spider_net_card, napi); napi 1262 drivers/net/ethernet/toshiba/spider_net.c napi_complete_done(napi, packets_done); napi 1466 drivers/net/ethernet/toshiba/spider_net.c napi_schedule(&card->napi); napi 1486 drivers/net/ethernet/toshiba/spider_net.c napi_schedule(&card->napi); napi 1500 drivers/net/ethernet/toshiba/spider_net.c napi_schedule(&card->napi); napi 1594 drivers/net/ethernet/toshiba/spider_net.c napi_schedule(&card->napi); napi 1598 drivers/net/ethernet/toshiba/spider_net.c napi_schedule(&card->napi); napi 1946 drivers/net/ethernet/toshiba/spider_net.c napi_enable(&card->napi); napi 2116 drivers/net/ethernet/toshiba/spider_net.c napi_disable(&card->napi); napi 2254 drivers/net/ethernet/toshiba/spider_net.c netif_napi_add(netdev, &card->napi, napi 449 drivers/net/ethernet/toshiba/spider_net.h struct napi_struct napi; napi 389 drivers/net/ethernet/toshiba/tc35815.c struct napi_struct napi; napi 481 drivers/net/ethernet/toshiba/tc35815.c static int tc35815_poll(struct napi_struct *napi, int budget); napi 806 drivers/net/ethernet/toshiba/tc35815.c netif_napi_add(dev, &lp->napi, tc35815_poll, NAPI_WEIGHT); napi 1233 drivers/net/ethernet/toshiba/tc35815.c napi_enable(&lp->napi); napi 1433 drivers/net/ethernet/toshiba/tc35815.c if (napi_schedule_prep(&lp->napi)) napi 1434 drivers/net/ethernet/toshiba/tc35815.c __napi_schedule(&lp->napi); napi 1615 drivers/net/ethernet/toshiba/tc35815.c static int tc35815_poll(struct napi_struct *napi, int budget) napi 1617 drivers/net/ethernet/toshiba/tc35815.c struct tc35815_local *lp = container_of(napi, struct tc35815_local, napi); napi 1648 drivers/net/ethernet/toshiba/tc35815.c napi_complete_done(napi, received); napi 1825 drivers/net/ethernet/toshiba/tc35815.c napi_disable(&lp->napi); napi 70 drivers/net/ethernet/tundra/tsi108_eth.c struct napi_struct napi; napi 827 drivers/net/ethernet/tundra/tsi108_eth.c static int tsi108_poll(struct napi_struct *napi, int budget) napi 829 drivers/net/ethernet/tundra/tsi108_eth.c struct tsi108_prv_data *data = container_of(napi, struct tsi108_prv_data, napi); napi 882 drivers/net/ethernet/tundra/tsi108_eth.c napi_complete_done(napi, num_received); napi 913 drivers/net/ethernet/tundra/tsi108_eth.c if (napi_schedule_prep(&data->napi)) { napi 924 drivers/net/ethernet/tundra/tsi108_eth.c __napi_schedule(&data->napi); napi 1363 drivers/net/ethernet/tundra/tsi108_eth.c napi_enable(&data->napi); napi 1389 drivers/net/ethernet/tundra/tsi108_eth.c napi_disable(&data->napi); napi 1600 drivers/net/ethernet/tundra/tsi108_eth.c netif_napi_add(dev, &data->napi, tsi108_poll, 64); napi 463 drivers/net/ethernet/via/via-rhine.c struct napi_struct napi; napi 822 drivers/net/ethernet/via/via-rhine.c static int rhine_napipoll(struct napi_struct *napi, int budget) napi 824 drivers/net/ethernet/via/via-rhine.c struct rhine_private *rp = container_of(napi, struct rhine_private, napi); napi 863 drivers/net/ethernet/via/via-rhine.c napi_complete_done(napi, work_done); napi 972 drivers/net/ethernet/via/via-rhine.c netif_napi_add(dev, &rp->napi, rhine_napipoll, 64); napi 1585 drivers/net/ethernet/via/via-rhine.c napi_enable(&rp->napi); napi 1740 drivers/net/ethernet/via/via-rhine.c napi_disable(&rp->napi); napi 1911 drivers/net/ethernet/via/via-rhine.c napi_schedule(&rp->napi); napi 2422 drivers/net/ethernet/via/via-rhine.c napi_disable(&rp->napi); napi 2535 drivers/net/ethernet/via/via-rhine.c napi_disable(&rp->napi); napi 2137 drivers/net/ethernet/via/via-velocity.c static int velocity_poll(struct napi_struct *napi, int budget) napi 2139 drivers/net/ethernet/via/via-velocity.c struct velocity_info *vptr = container_of(napi, napi 2140 drivers/net/ethernet/via/via-velocity.c struct velocity_info, napi); napi 2153 drivers/net/ethernet/via/via-velocity.c napi_complete_done(napi, rx_done); napi 2189 drivers/net/ethernet/via/via-velocity.c if (likely(napi_schedule_prep(&vptr->napi))) { napi 2191 drivers/net/ethernet/via/via-velocity.c __napi_schedule(&vptr->napi); napi 2239 drivers/net/ethernet/via/via-velocity.c napi_enable(&vptr->napi); napi 2304 drivers/net/ethernet/via/via-velocity.c napi_disable(&vptr->napi); napi 2326 drivers/net/ethernet/via/via-velocity.c napi_enable(&vptr->napi); napi 2489 drivers/net/ethernet/via/via-velocity.c napi_disable(&vptr->napi); napi 2841 drivers/net/ethernet/via/via-velocity.c netif_napi_add(netdev, &vptr->napi, velocity_poll, napi 2874 drivers/net/ethernet/via/via-velocity.c netif_napi_del(&vptr->napi); napi 2895 drivers/net/ethernet/via/via-velocity.c netif_napi_del(&vptr->napi); napi 1489 drivers/net/ethernet/via/via-velocity.h struct napi_struct napi; napi 162 drivers/net/ethernet/wiznet/w5100.c struct napi_struct napi; napi 896 drivers/net/ethernet/wiznet/w5100.c static int w5100_napi_poll(struct napi_struct *napi, int budget) napi 898 drivers/net/ethernet/wiznet/w5100.c struct w5100_priv *priv = container_of(napi, struct w5100_priv, napi); napi 911 drivers/net/ethernet/wiznet/w5100.c napi_complete_done(napi, rx_count); napi 938 drivers/net/ethernet/wiznet/w5100.c else if (napi_schedule_prep(&priv->napi)) napi 939 drivers/net/ethernet/wiznet/w5100.c __napi_schedule(&priv->napi); napi 1004 drivers/net/ethernet/wiznet/w5100.c napi_enable(&priv->napi); napi 1020 drivers/net/ethernet/wiznet/w5100.c napi_disable(&priv->napi); napi 1137 drivers/net/ethernet/wiznet/w5100.c netif_napi_add(ndev, &priv->napi, w5100_napi_poll, 16); napi 96 drivers/net/ethernet/wiznet/w5300.c struct napi_struct napi; napi 373 drivers/net/ethernet/wiznet/w5300.c static int w5300_napi_poll(struct napi_struct *napi, int budget) napi 375 drivers/net/ethernet/wiznet/w5300.c struct w5300_priv *priv = container_of(napi, struct w5300_priv, napi); napi 407 drivers/net/ethernet/wiznet/w5300.c napi_complete_done(napi, rx_count); napi 430 drivers/net/ethernet/wiznet/w5300.c if (napi_schedule_prep(&priv->napi)) { napi 432 drivers/net/ethernet/wiznet/w5300.c __napi_schedule(&priv->napi); napi 486 drivers/net/ethernet/wiznet/w5300.c napi_enable(&priv->napi); napi 502 drivers/net/ethernet/wiznet/w5300.c napi_disable(&priv->napi); napi 606 drivers/net/ethernet/wiznet/w5300.c netif_napi_add(ndev, &priv->napi, w5300_napi_poll, 16); napi 170 drivers/net/ethernet/xscale/ixp4xx_eth.c struct napi_struct napi; napi 664 drivers/net/ethernet/xscale/ixp4xx_eth.c napi_schedule(&port->napi); napi 667 drivers/net/ethernet/xscale/ixp4xx_eth.c static int eth_poll(struct napi_struct *napi, int budget) napi 669 drivers/net/ethernet/xscale/ixp4xx_eth.c struct port *port = container_of(napi, struct port, napi); napi 692 drivers/net/ethernet/xscale/ixp4xx_eth.c napi_complete(napi); napi 695 drivers/net/ethernet/xscale/ixp4xx_eth.c napi_reschedule(napi)) { /* not empty again */ napi 1254 drivers/net/ethernet/xscale/ixp4xx_eth.c napi_enable(&port->napi); napi 1267 drivers/net/ethernet/xscale/ixp4xx_eth.c napi_schedule(&port->napi); napi 1280 drivers/net/ethernet/xscale/ixp4xx_eth.c napi_disable(&port->napi); napi 1437 drivers/net/ethernet/xscale/ixp4xx_eth.c netif_napi_add(dev, &port->napi, eth_poll, NAPI_WEIGHT); napi 27 drivers/net/fjes/fjes.h struct napi_struct napi; napi 284 drivers/net/fjes/fjes_main.c napi_enable(&adapter->napi); napi 301 drivers/net/fjes/fjes_main.c napi_disable(&adapter->napi); napi 321 drivers/net/fjes/fjes_main.c napi_disable(&adapter->napi); napi 849 drivers/net/fjes/fjes_main.c napi_disable(&adapter->napi); napi 875 drivers/net/fjes/fjes_main.c napi_enable(&adapter->napi); napi 876 drivers/net/fjes/fjes_main.c napi_schedule(&adapter->napi); napi 1105 drivers/net/fjes/fjes_main.c napi_schedule(&adapter->napi); napi 1108 drivers/net/fjes/fjes_main.c static int fjes_poll(struct napi_struct *napi, int budget) napi 1111 drivers/net/fjes/fjes_main.c container_of(napi, struct fjes_adapter, napi); napi 1112 drivers/net/fjes/fjes_main.c struct net_device *netdev = napi->dev; napi 1138 drivers/net/fjes/fjes_main.c skb = napi_alloc_skb(napi, frame_len); napi 1178 drivers/net/fjes/fjes_main.c napi_complete_done(napi, work_done); napi 1186 drivers/net/fjes/fjes_main.c napi_reschedule(napi); napi 1324 drivers/net/fjes/fjes_main.c netif_napi_del(&adapter->napi); napi 1335 drivers/net/fjes/fjes_main.c netif_napi_add(netdev, &adapter->napi, fjes_poll, 64); napi 1364 drivers/net/fjes/fjes_main.c napi_schedule(&adapter->napi); napi 199 drivers/net/hyperv/hyperv_net.h int netvsc_poll(struct napi_struct *napi, int budget); napi 964 drivers/net/hyperv/hyperv_net.h struct napi_struct napi; napi 82 drivers/net/hyperv/netvsc.c netif_napi_del(&nvdev->chan_table[i].napi); napi 638 drivers/net/hyperv/netvsc.c netif_napi_del(&net_device->chan_table[i].napi); napi 1295 drivers/net/hyperv/netvsc.c int netvsc_poll(struct napi_struct *napi, int budget) napi 1298 drivers/net/hyperv/netvsc.c = container_of(napi, struct netvsc_channel, napi); napi 1326 drivers/net/hyperv/netvsc.c napi_complete_done(napi, work_done) && napi 1328 drivers/net/hyperv/netvsc.c napi_schedule_prep(napi)) { napi 1330 drivers/net/hyperv/netvsc.c __napi_schedule(napi); napi 1349 drivers/net/hyperv/netvsc.c if (napi_schedule_prep(&nvchan->napi)) { napi 1353 drivers/net/hyperv/netvsc.c __napi_schedule_irqoff(&nvchan->napi); napi 1398 drivers/net/hyperv/netvsc.c netif_napi_add(ndev, &net_device->chan_table[0].napi, napi 1414 drivers/net/hyperv/netvsc.c napi_enable(&net_device->chan_table[0].napi); napi 1433 drivers/net/hyperv/netvsc.c napi_disable(&net_device->chan_table[0].napi); napi 1439 drivers/net/hyperv/netvsc.c netif_napi_del(&net_device->chan_table[0].napi); napi 164 drivers/net/hyperv/netvsc_drv.c napi_synchronize(&nvdev->chan_table[i].napi); napi 765 drivers/net/hyperv/netvsc_drv.c struct napi_struct *napi = &nvchan->napi; napi 772 drivers/net/hyperv/netvsc_drv.c skb = napi_alloc_skb(napi, nvchan->rsc.pktlen); napi 859 drivers/net/hyperv/netvsc_drv.c napi_gro_receive(&nvchan->napi, skb); napi 1115 drivers/net/hyperv/rndis_filter.c napi_enable(&nvchan->napi); napi 1415 drivers/net/hyperv/rndis_filter.c netif_napi_add(net, &net_device->chan_table[i].napi, napi 181 drivers/net/thunderbolt.c struct napi_struct napi; napi 740 drivers/net/thunderbolt.c static int tbnet_poll(struct napi_struct *napi, int budget) napi 742 drivers/net/thunderbolt.c struct tbnet *net = container_of(napi, struct tbnet, napi); napi 821 drivers/net/thunderbolt.c napi_gro_receive(&net->napi, skb); napi 834 drivers/net/thunderbolt.c napi_complete_done(napi, rx_packets); napi 845 drivers/net/thunderbolt.c napi_schedule(&net->napi); napi 879 drivers/net/thunderbolt.c napi_enable(&net->napi); napi 889 drivers/net/thunderbolt.c napi_disable(&net->napi); napi 1237 drivers/net/thunderbolt.c netif_napi_add(dev, &net->napi, tbnet_poll, NAPI_POLL_WEIGHT); napi 171 drivers/net/tun.c struct napi_struct napi; napi 270 drivers/net/tun.c static int tun_napi_receive(struct napi_struct *napi, int budget) napi 272 drivers/net/tun.c struct tun_file *tfile = container_of(napi, struct tun_file, napi); napi 285 drivers/net/tun.c napi_gro_receive(napi, skb); napi 298 drivers/net/tun.c static int tun_napi_poll(struct napi_struct *napi, int budget) napi 302 drivers/net/tun.c received = tun_napi_receive(napi, budget); napi 305 drivers/net/tun.c napi_complete_done(napi, received); napi 316 drivers/net/tun.c netif_tx_napi_add(tun->dev, &tfile->napi, tun_napi_poll, napi 318 drivers/net/tun.c napi_enable(&tfile->napi); napi 325 drivers/net/tun.c napi_disable(&tfile->napi); napi 331 drivers/net/tun.c netif_napi_del(&tfile->napi); napi 790 drivers/net/tun.c bool skip_filter, bool napi, bool napi_frags, napi 860 drivers/net/tun.c tun_napi_init(tun, tfile, napi, napi_frags); napi 1475 drivers/net/tun.c skb = napi_get_frags(&tfile->napi); napi 1511 drivers/net/tun.c napi_free_frags(&tfile->napi); napi 1868 drivers/net/tun.c tfile->napi.skb = NULL; napi 1880 drivers/net/tun.c tfile->napi.skb = NULL; napi 1946 drivers/net/tun.c tfile->napi.skb = NULL; napi 1981 drivers/net/tun.c napi_free_frags(&tfile->napi); napi 1989 drivers/net/tun.c napi_gro_frags(&tfile->napi); napi 2002 drivers/net/tun.c napi_schedule(&tfile->napi); napi 735 drivers/net/usb/r8152.c struct napi_struct napi; napi 1384 drivers/net/usb/r8152.c napi_schedule(&tp->napi); napi 2046 drivers/net/usb/r8152.c struct napi_struct *napi = &tp->napi; napi 2059 drivers/net/usb/r8152.c napi_gro_receive(napi, skb); napi 2120 drivers/net/usb/r8152.c skb = napi_alloc_skb(napi, rx_frag_head_sz); napi 2145 drivers/net/usb/r8152.c napi_gro_receive(napi, skb); napi 2249 drivers/net/usb/r8152.c static int r8152_poll(struct napi_struct *napi, int budget) napi 2251 drivers/net/usb/r8152.c struct r8152 *tp = container_of(napi, struct r8152, napi); napi 2257 drivers/net/usb/r8152.c if (!napi_complete_done(napi, work_done)) napi 2260 drivers/net/usb/r8152.c napi_schedule(napi); napi 2297 drivers/net/usb/r8152.c napi_schedule(&tp->napi); napi 4152 drivers/net/usb/r8152.c struct napi_struct *napi = &tp->napi; napi 4161 drivers/net/usb/r8152.c napi_disable(napi); napi 4166 drivers/net/usb/r8152.c napi_enable(&tp->napi); napi 4177 drivers/net/usb/r8152.c napi_disable(napi); napi 4179 drivers/net/usb/r8152.c napi_enable(napi); napi 4302 drivers/net/usb/r8152.c napi_enable(&tp->napi); napi 4335 drivers/net/usb/r8152.c napi_disable(&tp->napi); napi 4631 drivers/net/usb/r8152.c napi_disable(&tp->napi); napi 4670 drivers/net/usb/r8152.c napi_enable(&tp->napi); napi 4676 drivers/net/usb/r8152.c napi_schedule(&tp->napi); napi 4709 drivers/net/usb/r8152.c struct napi_struct *napi = &tp->napi; napi 4712 drivers/net/usb/r8152.c napi_disable(napi); napi 4725 drivers/net/usb/r8152.c napi_enable(napi); napi 4730 drivers/net/usb/r8152.c napi_schedule(&tp->napi); napi 4795 drivers/net/usb/r8152.c struct napi_struct *napi = &tp->napi; napi 4797 drivers/net/usb/r8152.c napi_disable(napi); napi 4801 drivers/net/usb/r8152.c napi_enable(napi); napi 4821 drivers/net/usb/r8152.c struct napi_struct *napi = &tp->napi; napi 4826 drivers/net/usb/r8152.c napi_disable(napi); napi 4829 drivers/net/usb/r8152.c napi_enable(napi); napi 5269 drivers/net/usb/r8152.c napi_disable(&tp->napi); napi 5275 drivers/net/usb/r8152.c napi_enable(&tp->napi); napi 5322 drivers/net/usb/r8152.c napi_disable(&tp->napi); napi 5324 drivers/net/usb/r8152.c napi_enable(&tp->napi); napi 5358 drivers/net/usb/r8152.c napi_disable(&tp->napi); napi 5360 drivers/net/usb/r8152.c napi_enable(&tp->napi); napi 5776 drivers/net/usb/r8152.c netif_napi_add(netdev, &tp->napi, r8152_poll, RTL8152_NAPI_WEIGHT); napi 768 drivers/net/veth.c static int veth_poll(struct napi_struct *napi, int budget) napi 771 drivers/net/veth.c container_of(napi, struct veth_rq, xdp_napi); napi 781 drivers/net/veth.c if (done < budget && napi_complete_done(napi, done)) { napi 130 drivers/net/virtio_net.c struct napi_struct napi; napi 138 drivers/net/virtio_net.c struct napi_struct napi; napi 314 drivers/net/virtio_net.c static void virtqueue_napi_schedule(struct napi_struct *napi, napi 317 drivers/net/virtio_net.c if (napi_schedule_prep(napi)) { napi 319 drivers/net/virtio_net.c __napi_schedule(napi); napi 323 drivers/net/virtio_net.c static void virtqueue_napi_complete(struct napi_struct *napi, napi 329 drivers/net/virtio_net.c if (napi_complete_done(napi, processed)) { napi 331 drivers/net/virtio_net.c virtqueue_napi_schedule(napi, vq); napi 340 drivers/net/virtio_net.c struct napi_struct *napi = &vi->sq[vq2txq(vq)].napi; napi 345 drivers/net/virtio_net.c if (napi->weight) napi 346 drivers/net/virtio_net.c virtqueue_napi_schedule(napi, vq); napi 384 drivers/net/virtio_net.c skb = napi_alloc_skb(&rq->napi, GOOD_COPY_LEN); napi 1061 drivers/net/virtio_net.c napi_gro_receive(&rq->napi, skb); napi 1249 drivers/net/virtio_net.c virtqueue_napi_schedule(&rq->napi, rvq); napi 1252 drivers/net/virtio_net.c static void virtnet_napi_enable(struct virtqueue *vq, struct napi_struct *napi) napi 1254 drivers/net/virtio_net.c napi_enable(napi); napi 1261 drivers/net/virtio_net.c virtqueue_napi_schedule(napi, vq); napi 1267 drivers/net/virtio_net.c struct napi_struct *napi) napi 1269 drivers/net/virtio_net.c if (!napi->weight) napi 1276 drivers/net/virtio_net.c napi->weight = 0; napi 1280 drivers/net/virtio_net.c return virtnet_napi_enable(vq, napi); napi 1283 drivers/net/virtio_net.c static void virtnet_napi_tx_disable(struct napi_struct *napi) napi 1285 drivers/net/virtio_net.c if (napi->weight) napi 1286 drivers/net/virtio_net.c napi_disable(napi); napi 1299 drivers/net/virtio_net.c napi_disable(&rq->napi); napi 1301 drivers/net/virtio_net.c virtnet_napi_enable(rq->vq, &rq->napi); napi 1407 drivers/net/virtio_net.c if (!sq->napi.weight || is_xdp_raw_buffer_queue(vi, index)) napi 1419 drivers/net/virtio_net.c static int virtnet_poll(struct napi_struct *napi, int budget) napi 1422 drivers/net/virtio_net.c container_of(napi, struct receive_queue, napi); napi 1434 drivers/net/virtio_net.c virtqueue_napi_complete(napi, rq->vq, received); napi 1473 drivers/net/virtio_net.c virtnet_napi_enable(vi->rq[i].vq, &vi->rq[i].napi); napi 1474 drivers/net/virtio_net.c virtnet_napi_tx_enable(vi, vi->sq[i].vq, &vi->sq[i].napi); napi 1480 drivers/net/virtio_net.c static int virtnet_poll_tx(struct napi_struct *napi, int budget) napi 1482 drivers/net/virtio_net.c struct send_queue *sq = container_of(napi, struct send_queue, napi); napi 1489 drivers/net/virtio_net.c napi_complete_done(napi, 0); napi 1498 drivers/net/virtio_net.c virtqueue_napi_complete(napi, sq->vq, 0); napi 1561 drivers/net/virtio_net.c bool use_napi = sq->napi.weight; napi 1811 drivers/net/virtio_net.c napi_disable(&vi->rq[i].napi); napi 1812 drivers/net/virtio_net.c virtnet_napi_tx_disable(&vi->sq[i].napi); napi 2247 drivers/net/virtio_net.c if (napi_weight ^ vi->sq[0].napi.weight) { napi 2251 drivers/net/virtio_net.c vi->sq[i].napi.weight = napi_weight; napi 2268 drivers/net/virtio_net.c if (vi->sq[0].napi.weight) napi 2331 drivers/net/virtio_net.c napi_disable(&vi->rq[i].napi); napi 2332 drivers/net/virtio_net.c virtnet_napi_tx_disable(&vi->sq[i].napi); napi 2356 drivers/net/virtio_net.c virtnet_napi_enable(vi->rq[i].vq, &vi->rq[i].napi); napi 2358 drivers/net/virtio_net.c &vi->sq[i].napi); napi 2459 drivers/net/virtio_net.c napi_disable(&vi->rq[i].napi); napi 2460 drivers/net/virtio_net.c virtnet_napi_tx_disable(&vi->sq[i].napi); napi 2491 drivers/net/virtio_net.c virtnet_napi_enable(vi->rq[i].vq, &vi->rq[i].napi); napi 2493 drivers/net/virtio_net.c &vi->sq[i].napi); napi 2508 drivers/net/virtio_net.c virtnet_napi_enable(vi->rq[i].vq, &vi->rq[i].napi); napi 2510 drivers/net/virtio_net.c &vi->sq[i].napi); napi 2648 drivers/net/virtio_net.c napi_hash_del(&vi->rq[i].napi); napi 2649 drivers/net/virtio_net.c netif_napi_del(&vi->rq[i].napi); napi 2650 drivers/net/virtio_net.c netif_napi_del(&vi->sq[i].napi); napi 2852 drivers/net/virtio_net.c netif_napi_add(vi->dev, &vi->rq[i].napi, virtnet_poll, napi 2854 drivers/net/virtio_net.c netif_tx_napi_add(vi->dev, &vi->sq[i].napi, virtnet_poll_tx, napi 1535 drivers/net/vmxnet3/vmxnet3_drv.c napi_gro_receive(&rq->napi, skb); napi 1879 drivers/net/vmxnet3/vmxnet3_drv.c vmxnet3_poll(struct napi_struct *napi, int budget) napi 1881 drivers/net/vmxnet3/vmxnet3_drv.c struct vmxnet3_rx_queue *rx_queue = container_of(napi, napi 1882 drivers/net/vmxnet3/vmxnet3_drv.c struct vmxnet3_rx_queue, napi); napi 1888 drivers/net/vmxnet3/vmxnet3_drv.c napi_complete_done(napi, rxd_done); napi 1900 drivers/net/vmxnet3/vmxnet3_drv.c vmxnet3_poll_rx_only(struct napi_struct *napi, int budget) napi 1902 drivers/net/vmxnet3/vmxnet3_drv.c struct vmxnet3_rx_queue *rq = container_of(napi, napi 1903 drivers/net/vmxnet3/vmxnet3_drv.c struct vmxnet3_rx_queue, napi); napi 1919 drivers/net/vmxnet3/vmxnet3_drv.c napi_complete_done(napi, rxd_done); napi 1972 drivers/net/vmxnet3/vmxnet3_drv.c napi_schedule(&rq->napi); napi 2030 drivers/net/vmxnet3/vmxnet3_drv.c napi_schedule(&adapter->rx_queue[0].napi); napi 2628 drivers/net/vmxnet3/vmxnet3_drv.c napi_enable(&adapter->rx_queue[i].napi); napi 2671 drivers/net/vmxnet3/vmxnet3_drv.c napi_disable(&adapter->rx_queue[i].napi); napi 2978 drivers/net/vmxnet3/vmxnet3_drv.c napi_enable(&adapter->rx_queue[i].napi); napi 3479 drivers/net/vmxnet3/vmxnet3_drv.c &adapter->rx_queue[i].napi, napi 3483 drivers/net/vmxnet3/vmxnet3_drv.c netif_napi_add(adapter->netdev, &adapter->rx_queue[0].napi, napi 3629 drivers/net/vmxnet3/vmxnet3_drv.c napi_disable(&adapter->rx_queue[i].napi); napi 285 drivers/net/vmxnet3/vmxnet3_int.h struct napi_struct napi; napi 614 drivers/net/wan/fsl_ucc_hdlc.c static int ucc_hdlc_poll(struct napi_struct *napi, int budget) napi 616 drivers/net/wan/fsl_ucc_hdlc.c struct ucc_hdlc_private *priv = container_of(napi, napi 618 drivers/net/wan/fsl_ucc_hdlc.c napi); napi 630 drivers/net/wan/fsl_ucc_hdlc.c napi_complete_done(napi, howmany); napi 658 drivers/net/wan/fsl_ucc_hdlc.c if (napi_schedule_prep(&priv->napi)) { napi 662 drivers/net/wan/fsl_ucc_hdlc.c __napi_schedule(&priv->napi); napi 729 drivers/net/wan/fsl_ucc_hdlc.c napi_enable(&priv->napi); napi 806 drivers/net/wan/fsl_ucc_hdlc.c napi_disable(&priv->napi); napi 890 drivers/net/wan/fsl_ucc_hdlc.c napi_disable(&priv->napi); napi 1027 drivers/net/wan/fsl_ucc_hdlc.c napi_enable(&priv->napi); napi 1236 drivers/net/wan/fsl_ucc_hdlc.c netif_napi_add(dev, &uhdlc_priv->napi, ucc_hdlc_poll, 32); napi 71 drivers/net/wan/fsl_ucc_hdlc.h struct napi_struct napi; napi 55 drivers/net/wan/hd64572.c static int sca_poll(struct napi_struct *napi, int budget); napi 181 drivers/net/wan/hd64572.c netif_napi_add(port->netdev, &port->napi, sca_poll, NAPI_WEIGHT); napi 325 drivers/net/wan/hd64572.c static int sca_poll(struct napi_struct *napi, int budget) napi 327 drivers/net/wan/hd64572.c port_t *port = container_of(napi, port_t, napi); napi 341 drivers/net/wan/hd64572.c napi_complete_done(napi, received); napi 359 drivers/net/wan/hd64572.c napi_schedule(&port->napi); napi 475 drivers/net/wan/hd64572.c napi_enable(&port->napi); napi 487 drivers/net/wan/hd64572.c napi_disable(&port->napi); napi 257 drivers/net/wan/ixp4xx_hss.c struct napi_struct napi; napi 648 drivers/net/wan/ixp4xx_hss.c napi_schedule(&port->napi); napi 651 drivers/net/wan/ixp4xx_hss.c static int hss_hdlc_poll(struct napi_struct *napi, int budget) napi 653 drivers/net/wan/ixp4xx_hss.c struct port *port = container_of(napi, struct port, napi); napi 677 drivers/net/wan/ixp4xx_hss.c napi_complete(napi); napi 680 drivers/net/wan/ixp4xx_hss.c napi_reschedule(napi)) { napi 1077 drivers/net/wan/ixp4xx_hss.c napi_enable(&port->napi); napi 1095 drivers/net/wan/ixp4xx_hss.c napi_schedule(&port->napi); napi 1118 drivers/net/wan/ixp4xx_hss.c napi_disable(&port->napi); napi 1357 drivers/net/wan/ixp4xx_hss.c netif_napi_add(dev, &port->napi, hss_hdlc_poll, NAPI_WEIGHT); napi 77 drivers/net/wan/pc300too.c struct napi_struct napi; napi 64 drivers/net/wan/pci200syn.c struct napi_struct napi; napi 399 drivers/net/wireless/ath/ath10k/ahb.c napi_schedule(&ar->napi); napi 629 drivers/net/wireless/ath/ath10k/ahb.c napi_enable(&ar->napi); napi 647 drivers/net/wireless/ath/ath10k/ahb.c napi_synchronize(&ar->napi); napi 648 drivers/net/wireless/ath/ath10k/ahb.c napi_disable(&ar->napi); napi 1185 drivers/net/wireless/ath/ath10k/core.h struct napi_struct napi; napi 1316 drivers/net/wireless/ath/ath10k/htt_rx.c ieee80211_rx_napi(ar->hw, NULL, skb, &ar->napi); napi 1958 drivers/net/wireless/ath/ath10k/pci.c napi_enable(&ar->napi); napi 2075 drivers/net/wireless/ath/ath10k/pci.c napi_synchronize(&ar->napi); napi 2076 drivers/net/wireless/ath/ath10k/pci.c napi_disable(&ar->napi); napi 3114 drivers/net/wireless/ath/ath10k/pci.c napi_schedule(&ar->napi); napi 3121 drivers/net/wireless/ath/ath10k/pci.c struct ath10k *ar = container_of(ctx, struct ath10k, napi); napi 3214 drivers/net/wireless/ath/ath10k/pci.c netif_napi_add(&ar->napi_dev, &ar->napi, ath10k_pci_napi_poll, napi 3489 drivers/net/wireless/ath/ath10k/pci.c netif_napi_del(&ar->napi); napi 912 drivers/net/wireless/ath/ath10k/snoc.c napi_synchronize(&ar->napi); napi 913 drivers/net/wireless/ath/ath10k/snoc.c napi_disable(&ar->napi); napi 922 drivers/net/wireless/ath/ath10k/snoc.c napi_enable(&ar->napi); napi 1159 drivers/net/wireless/ath/ath10k/snoc.c napi_schedule(&ar->napi); napi 1166 drivers/net/wireless/ath/ath10k/snoc.c struct ath10k *ar = container_of(ctx, struct ath10k, napi); napi 1187 drivers/net/wireless/ath/ath10k/snoc.c netif_napi_add(&ar->napi_dev, &ar->napi, ath10k_snoc_napi_poll, napi 1344 drivers/net/wireless/ath/ath10k/snoc.c netif_napi_del(&ar->napi); napi 102 drivers/net/wireless/ath/wil6210/netdev.c static int wil6210_netdev_poll_rx(struct napi_struct *napi, int budget) napi 104 drivers/net/wireless/ath/wil6210/netdev.c struct wil6210_priv *wil = container_of(napi, struct wil6210_priv, napi 113 drivers/net/wireless/ath/wil6210/netdev.c napi_complete_done(napi, done); napi 123 drivers/net/wireless/ath/wil6210/netdev.c static int wil6210_netdev_poll_rx_edma(struct napi_struct *napi, int budget) napi 125 drivers/net/wireless/ath/wil6210/netdev.c struct wil6210_priv *wil = container_of(napi, struct wil6210_priv, napi 134 drivers/net/wireless/ath/wil6210/netdev.c napi_complete_done(napi, done); napi 144 drivers/net/wireless/ath/wil6210/netdev.c static int wil6210_netdev_poll_tx(struct napi_struct *napi, int budget) napi 146 drivers/net/wireless/ath/wil6210/netdev.c struct wil6210_priv *wil = container_of(napi, struct wil6210_priv, napi 171 drivers/net/wireless/ath/wil6210/netdev.c napi_complete(napi); napi 181 drivers/net/wireless/ath/wil6210/netdev.c static int wil6210_netdev_poll_tx_edma(struct napi_struct *napi, int budget) napi 183 drivers/net/wireless/ath/wil6210/netdev.c struct wil6210_priv *wil = container_of(napi, struct wil6210_priv, napi 195 drivers/net/wireless/ath/wil6210/netdev.c napi_complete(napi); napi 120 drivers/net/wireless/intel/iwlwifi/dvm/agn.h void iwl_rx_dispatch(struct iwl_op_mode *op_mode, struct napi_struct *napi, napi 657 drivers/net/wireless/intel/iwlwifi/dvm/dev.h struct napi_struct *napi; napi 676 drivers/net/wireless/intel/iwlwifi/dvm/rx.c ieee80211_rx_napi(priv->hw, NULL, skb, priv->napi); napi 988 drivers/net/wireless/intel/iwlwifi/dvm/rx.c void iwl_rx_dispatch(struct iwl_op_mode *op_mode, struct napi_struct *napi, napi 150 drivers/net/wireless/intel/iwlwifi/iwl-op-mode.h void (*rx)(struct iwl_op_mode *op_mode, struct napi_struct *napi, napi 152 drivers/net/wireless/intel/iwlwifi/iwl-op-mode.h void (*rx_rss)(struct iwl_op_mode *op_mode, struct napi_struct *napi, napi 188 drivers/net/wireless/intel/iwlwifi/iwl-op-mode.h struct napi_struct *napi, napi 191 drivers/net/wireless/intel/iwlwifi/iwl-op-mode.h return op_mode->ops->rx(op_mode, napi, rxb); napi 195 drivers/net/wireless/intel/iwlwifi/iwl-op-mode.h struct napi_struct *napi, napi 199 drivers/net/wireless/intel/iwlwifi/iwl-op-mode.h op_mode->ops->rx_rss(op_mode, napi, rxb, queue); napi 1607 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h void iwl_mvm_rx_rx_mpdu(struct iwl_mvm *mvm, struct napi_struct *napi, napi 1609 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h void iwl_mvm_rx_mpdu_mq(struct iwl_mvm *mvm, struct napi_struct *napi, napi 1611 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h void iwl_mvm_rx_monitor_no_data(struct iwl_mvm *mvm, struct napi_struct *napi, napi 1613 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h void iwl_mvm_rx_frame_release(struct iwl_mvm *mvm, struct napi_struct *napi, napi 1615 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h void iwl_mvm_rx_bar_frame_release(struct iwl_mvm *mvm, struct napi_struct *napi, napi 1619 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h void iwl_mvm_rx_queue_notif(struct iwl_mvm *mvm, struct napi_struct *napi, napi 1035 drivers/net/wireless/intel/iwlwifi/mvm/ops.c struct napi_struct *napi, napi 1043 drivers/net/wireless/intel/iwlwifi/mvm/ops.c iwl_mvm_rx_rx_mpdu(mvm, napi, rxb); napi 1051 drivers/net/wireless/intel/iwlwifi/mvm/ops.c struct napi_struct *napi, napi 1059 drivers/net/wireless/intel/iwlwifi/mvm/ops.c iwl_mvm_rx_mpdu_mq(mvm, napi, rxb, 0); napi 1062 drivers/net/wireless/intel/iwlwifi/mvm/ops.c iwl_mvm_rx_queue_notif(mvm, napi, rxb, 0); napi 1064 drivers/net/wireless/intel/iwlwifi/mvm/ops.c iwl_mvm_rx_frame_release(mvm, napi, rxb, 0); napi 1066 drivers/net/wireless/intel/iwlwifi/mvm/ops.c iwl_mvm_rx_bar_frame_release(mvm, napi, rxb, 0); napi 1068 drivers/net/wireless/intel/iwlwifi/mvm/ops.c iwl_mvm_rx_monitor_no_data(mvm, napi, rxb, 0); napi 1355 drivers/net/wireless/intel/iwlwifi/mvm/ops.c struct napi_struct *napi, napi 1364 drivers/net/wireless/intel/iwlwifi/mvm/ops.c iwl_mvm_rx_frame_release(mvm, napi, rxb, queue); napi 1367 drivers/net/wireless/intel/iwlwifi/mvm/ops.c iwl_mvm_rx_queue_notif(mvm, napi, rxb, queue); napi 1369 drivers/net/wireless/intel/iwlwifi/mvm/ops.c iwl_mvm_rx_mpdu_mq(mvm, napi, rxb, queue); napi 99 drivers/net/wireless/intel/iwlwifi/mvm/rx.c struct napi_struct *napi, napi 145 drivers/net/wireless/intel/iwlwifi/mvm/rx.c ieee80211_rx_napi(mvm->hw, sta, skb, napi); napi 342 drivers/net/wireless/intel/iwlwifi/mvm/rx.c void iwl_mvm_rx_rx_mpdu(struct iwl_mvm *mvm, struct napi_struct *napi, napi 563 drivers/net/wireless/intel/iwlwifi/mvm/rx.c iwl_mvm_pass_packet_to_mac80211(mvm, sta, napi, skb, hdr, len, napi 272 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c struct napi_struct *napi, napi 280 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c ieee80211_rx_napi(mvm->hw, sta, skb, napi); napi 539 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c struct napi_struct *napi, napi 583 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c iwl_mvm_pass_packet_to_mac80211(mvm, napi, skb, napi 715 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c struct napi_struct *napi, napi 743 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c iwl_mvm_release_frames(mvm, sta, napi, ba_data, napi 752 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c struct napi_struct *napi, int queue, napi 755 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c iwl_mvm_release_frames_from_notif(mvm, napi, data->baid, napi 760 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c void iwl_mvm_rx_queue_notif(struct iwl_mvm *mvm, struct napi_struct *napi, napi 783 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c iwl_mvm_nssn_sync(mvm, napi, queue, napi 849 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c struct napi_struct *napi, napi 934 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c iwl_mvm_release_frames(mvm, sta, napi, baid_data, napi 954 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c iwl_mvm_release_frames(mvm, sta, napi, baid_data, buffer, napi 1049 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c iwl_mvm_release_frames(mvm, sta, napi, baid_data, napi 1548 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c void iwl_mvm_rx_mpdu_mq(struct iwl_mvm *mvm, struct napi_struct *napi, napi 1869 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c if (!iwl_mvm_reorder(mvm, napi, queue, sta, skb, desc)) napi 1870 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c iwl_mvm_pass_packet_to_mac80211(mvm, napi, skb, queue, napi 1876 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c void iwl_mvm_rx_monitor_no_data(struct iwl_mvm *mvm, struct napi_struct *napi, napi 2013 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c ieee80211_rx_napi(mvm->hw, sta, skb, napi); napi 2018 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c void iwl_mvm_rx_frame_release(struct iwl_mvm *mvm, struct napi_struct *napi, napi 2024 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c iwl_mvm_release_frames_from_notif(mvm, napi, release->baid, napi 2029 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c void iwl_mvm_rx_bar_frame_release(struct iwl_mvm *mvm, struct napi_struct *napi, napi 2063 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c iwl_mvm_release_frames_from_notif(mvm, napi, baid, nssn, queue, 0); napi 218 drivers/net/wireless/intel/iwlwifi/pcie/internal.h struct napi_struct napi; napi 660 drivers/net/wireless/intel/iwlwifi/pcie/internal.h int iwl_pcie_dummy_napi_poll(struct napi_struct *napi, int budget); napi 1030 drivers/net/wireless/intel/iwlwifi/pcie/rx.c int iwl_pcie_dummy_napi_poll(struct napi_struct *napi, int budget) napi 1083 drivers/net/wireless/intel/iwlwifi/pcie/rx.c if (!rxq->napi.poll) napi 1084 drivers/net/wireless/intel/iwlwifi/pcie/rx.c netif_napi_add(&trans_pcie->napi_dev, &rxq->napi, napi 1185 drivers/net/wireless/intel/iwlwifi/pcie/rx.c if (rxq->napi.poll) napi 1186 drivers/net/wireless/intel/iwlwifi/pcie/rx.c netif_napi_del(&rxq->napi); napi 1322 drivers/net/wireless/intel/iwlwifi/pcie/rx.c iwl_op_mode_rx(trans->op_mode, &rxq->napi, napi 1325 drivers/net/wireless/intel/iwlwifi/pcie/rx.c iwl_op_mode_rx_rss(trans->op_mode, &rxq->napi, napi 1432 drivers/net/wireless/intel/iwlwifi/pcie/rx.c struct napi_struct *napi; napi 1538 drivers/net/wireless/intel/iwlwifi/pcie/rx.c napi = &rxq->napi; napi 1539 drivers/net/wireless/intel/iwlwifi/pcie/rx.c if (napi->poll) { napi 1540 drivers/net/wireless/intel/iwlwifi/pcie/rx.c napi_gro_flush(napi, false); napi 1542 drivers/net/wireless/intel/iwlwifi/pcie/rx.c if (napi->rx_count) { napi 1543 drivers/net/wireless/intel/iwlwifi/pcie/rx.c netif_receive_skb_list(&napi->rx_list); napi 1544 drivers/net/wireless/intel/iwlwifi/pcie/rx.c INIT_LIST_HEAD(&napi->rx_list); napi 1545 drivers/net/wireless/intel/iwlwifi/pcie/rx.c napi->rx_count = 0; napi 527 drivers/net/wireless/mediatek/mt76/dma.c mt76_dma_rx_poll(struct napi_struct *napi, int budget) napi 532 drivers/net/wireless/mediatek/mt76/dma.c dev = container_of(napi->dev, struct mt76_dev, napi_dev); napi 533 drivers/net/wireless/mediatek/mt76/dma.c qid = napi - dev->napi; napi 539 drivers/net/wireless/mediatek/mt76/dma.c mt76_rx_poll_complete(dev, qid, napi); napi 546 drivers/net/wireless/mediatek/mt76/dma.c napi_complete(napi); napi 561 drivers/net/wireless/mediatek/mt76/dma.c netif_napi_add(&dev->napi_dev, &dev->napi[i], mt76_dma_rx_poll, napi 565 drivers/net/wireless/mediatek/mt76/dma.c napi_enable(&dev->napi[i]); napi 596 drivers/net/wireless/mediatek/mt76/dma.c netif_napi_del(&dev->napi[i]); napi 626 drivers/net/wireless/mediatek/mt76/mac80211.c struct napi_struct *napi) napi 639 drivers/net/wireless/mediatek/mt76/mac80211.c ieee80211_rx_napi(dev->hw, sta, skb, napi); napi 645 drivers/net/wireless/mediatek/mt76/mac80211.c struct napi_struct *napi) napi 657 drivers/net/wireless/mediatek/mt76/mac80211.c mt76_rx_complete(dev, &frames, napi); napi 441 drivers/net/wireless/mediatek/mt76/mt76.h struct napi_struct napi[__MT_RXQ_MAX]; napi 777 drivers/net/wireless/mediatek/mt76/mt76.h struct napi_struct *napi); napi 779 drivers/net/wireless/mediatek/mt76/mt76.h struct napi_struct *napi); napi 43 drivers/net/wireless/mediatek/mt76/mt7603/core.c napi_schedule(&dev->mt76.napi[0]); napi 48 drivers/net/wireless/mediatek/mt76/mt7603/core.c napi_schedule(&dev->mt76.napi[1]); napi 138 drivers/net/wireless/mediatek/mt76/mt7603/dma.c static int mt7603_poll_tx(struct napi_struct *napi, int budget) napi 143 drivers/net/wireless/mediatek/mt76/mt7603/dma.c dev = container_of(napi, struct mt7603_dev, mt76.tx_napi); napi 149 drivers/net/wireless/mediatek/mt76/mt7603/dma.c if (napi_complete_done(napi, 0)) napi 1289 drivers/net/wireless/mediatek/mt76/mt7603/mac.c napi_disable(&dev->mt76.napi[0]); napi 1290 drivers/net/wireless/mediatek/mt76/mt7603/mac.c napi_disable(&dev->mt76.napi[1]); napi 1342 drivers/net/wireless/mediatek/mt76/mt7603/mac.c napi_enable(&dev->mt76.napi[0]); napi 1343 drivers/net/wireless/mediatek/mt76/mt7603/mac.c napi_schedule(&dev->mt76.napi[0]); napi 1345 drivers/net/wireless/mediatek/mt76/mt7603/mac.c napi_enable(&dev->mt76.napi[1]); napi 1346 drivers/net/wireless/mediatek/mt76/mt7603/mac.c napi_schedule(&dev->mt76.napi[1]); napi 93 drivers/net/wireless/mediatek/mt76/mt7615/dma.c static int mt7615_poll_tx(struct napi_struct *napi, int budget) napi 102 drivers/net/wireless/mediatek/mt76/mt7615/dma.c dev = container_of(napi, struct mt7615_dev, mt76.tx_napi); napi 107 drivers/net/wireless/mediatek/mt76/mt7615/dma.c if (napi_complete_done(napi, 0)) napi 58 drivers/net/wireless/mediatek/mt76/mt7615/pci.c napi_schedule(&dev->mt76.napi[0]); napi 63 drivers/net/wireless/mediatek/mt76/mt7615/pci.c napi_schedule(&dev->mt76.napi[1]); napi 157 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c static int mt76x02_poll_tx(struct napi_struct *napi, int budget) napi 159 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c struct mt76x02_dev *dev = container_of(napi, struct mt76x02_dev, napi 168 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c if (napi_complete_done(napi, 0)) napi 273 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c napi_schedule(&dev->mt76.napi[0]); napi 278 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c napi_schedule(&dev->mt76.napi[1]); napi 449 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c for (i = 0; i < ARRAY_SIZE(dev->mt76.napi); i++) napi 450 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c napi_disable(&dev->mt76.napi[i]); napi 506 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c for (i = 0; i < ARRAY_SIZE(dev->mt76.napi); i++) { napi 507 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c napi_enable(&dev->mt76.napi[i]); napi 508 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c napi_schedule(&dev->mt76.napi[i]); napi 670 drivers/net/wireless/quantenna/qtnfmac/pcie/pearl_pcie.c static int qtnf_pcie_pearl_rx_poll(struct napi_struct *napi, int budget) napi 672 drivers/net/wireless/quantenna/qtnfmac/pcie/pearl_pcie.c struct qtnf_bus *bus = container_of(napi, struct qtnf_bus, mux_napi); napi 728 drivers/net/wireless/quantenna/qtnfmac/pcie/pearl_pcie.c napi_gro_receive(napi, skb); napi 767 drivers/net/wireless/quantenna/qtnfmac/pcie/pearl_pcie.c napi_complete(napi); napi 602 drivers/net/wireless/quantenna/qtnfmac/pcie/topaz_pcie.c static int qtnf_topaz_rx_poll(struct napi_struct *napi, int budget) napi 604 drivers/net/wireless/quantenna/qtnfmac/pcie/topaz_pcie.c struct qtnf_bus *bus = container_of(napi, struct qtnf_bus, mux_napi); napi 707 drivers/net/wireless/quantenna/qtnfmac/pcie/topaz_pcie.c napi_complete(napi); napi 144 drivers/net/xen-netback/common.h struct napi_struct napi; napi 85 drivers/net/xen-netback/interface.c napi_schedule(&queue->napi); napi 90 drivers/net/xen-netback/interface.c static int xenvif_poll(struct napi_struct *napi, int budget) napi 93 drivers/net/xen-netback/interface.c container_of(napi, struct xenvif_queue, napi); napi 101 drivers/net/xen-netback/interface.c napi_complete(napi); napi 108 drivers/net/xen-netback/interface.c napi_complete_done(napi, work_done); napi 279 drivers/net/xen-netback/interface.c napi_enable(&queue->napi); napi 298 drivers/net/xen-netback/interface.c napi_disable(&queue->napi); napi 651 drivers/net/xen-netback/interface.c netif_napi_add(queue->vif->dev, &queue->napi, xenvif_poll, napi 720 drivers/net/xen-netback/interface.c netif_napi_del(&queue->napi); napi 749 drivers/net/xen-netback/interface.c netif_napi_del(&queue->napi); napi 164 drivers/net/xen-netback/netback.c napi_schedule(&queue->napi); napi 83 drivers/net/xen-netback/xenbus.c queue->napi.state, queue->napi.weight, napi 105 drivers/net/xen-netfront.c struct napi_struct napi; napi 236 drivers/net/xen-netfront.c napi_schedule(&queue->napi); napi 357 drivers/net/xen-netfront.c napi_enable(&queue->napi); napi 364 drivers/net/xen-netfront.c napi_schedule(&queue->napi); napi 719 drivers/net/xen-netfront.c napi_disable(&queue->napi); napi 981 drivers/net/xen-netfront.c napi_gro_receive(&queue->napi, skb); napi 987 drivers/net/xen-netfront.c static int xennet_poll(struct napi_struct *napi, int budget) napi 989 drivers/net/xen-netfront.c struct netfront_queue *queue = container_of(napi, struct netfront_queue, napi); napi 1073 drivers/net/xen-netfront.c napi_complete_done(napi, work_done); napi 1077 drivers/net/xen-netfront.c napi_schedule(napi); napi 1240 drivers/net/xen-netfront.c napi_schedule(&queue->napi); napi 1407 drivers/net/xen-netfront.c napi_synchronize(&queue->napi); napi 1749 drivers/net/xen-netfront.c napi_disable(&queue->napi); napi 1750 drivers/net/xen-netfront.c netif_napi_del(&queue->napi); napi 1782 drivers/net/xen-netfront.c netif_napi_add(queue->info->netdev, &queue->napi, napi 1785 drivers/net/xen-netfront.c napi_enable(&queue->napi); napi 531 drivers/s390/net/qeth_core.h struct napi_struct napi; napi 541 drivers/s390/net/qeth_core.h #define qeth_napi_to_out_queue(n) container_of(n, struct qeth_qdio_out_q, napi) napi 846 drivers/s390/net/qeth_core.h struct napi_struct napi; napi 1058 drivers/s390/net/qeth_core.h int qeth_poll(struct napi_struct *napi, int budget); napi 2324 drivers/s390/net/qeth_core_main.c napi_schedule(&queue->napi); napi 3331 drivers/s390/net/qeth_core_main.c napi_schedule(&queue->napi); napi 3400 drivers/s390/net/qeth_core_main.c napi_schedule(&card->napi); napi 5098 drivers/s390/net/qeth_core_main.c skb = napi_alloc_skb(&card->napi, linear + headroom); napi 5148 drivers/s390/net/qeth_core_main.c int qeth_poll(struct napi_struct *napi, int budget) napi 5150 drivers/s390/net/qeth_core_main.c struct qeth_card *card = container_of(napi, struct qeth_card, napi); napi 5208 drivers/s390/net/qeth_core_main.c napi_complete_done(napi, work_done); napi 5210 drivers/s390/net/qeth_core_main.c napi_schedule(&card->napi); napi 5250 drivers/s390/net/qeth_core_main.c static int qeth_tx_poll(struct napi_struct *napi, int budget) napi 5252 drivers/s390/net/qeth_core_main.c struct qeth_qdio_out_q *queue = qeth_napi_to_out_queue(napi); napi 5268 drivers/s390/net/qeth_core_main.c napi_complete(napi); napi 5275 drivers/s390/net/qeth_core_main.c if (napi_complete_done(napi, 0)) napi 5276 drivers/s390/net/qeth_core_main.c napi_schedule(napi); napi 5284 drivers/s390/net/qeth_core_main.c if (napi_complete_done(napi, 0)) napi 6260 drivers/s390/net/qeth_core_main.c napi_enable(&card->napi); napi 6262 drivers/s390/net/qeth_core_main.c napi_schedule(&card->napi); napi 6268 drivers/s390/net/qeth_core_main.c netif_tx_napi_add(dev, &queue->napi, qeth_tx_poll, napi 6270 drivers/s390/net/qeth_core_main.c napi_enable(&queue->napi); napi 6271 drivers/s390/net/qeth_core_main.c napi_schedule(&queue->napi); napi 6291 drivers/s390/net/qeth_core_main.c napi_disable(&queue->napi); napi 6300 drivers/s390/net/qeth_core_main.c netif_napi_del(&queue->napi); napi 6305 drivers/s390/net/qeth_core_main.c napi_disable(&card->napi); napi 324 drivers/s390/net/qeth_l2_main.c napi_gro_receive(&card->napi, skb); napi 758 drivers/s390/net/qeth_l2_main.c netif_napi_add(card->dev, &card->napi, qeth_poll, QETH_NAPI_WEIGHT); napi 1394 drivers/s390/net/qeth_l3_main.c napi_gro_receive(&card->napi, skb); napi 2235 drivers/s390/net/qeth_l3_main.c netif_napi_add(card->dev, &card->napi, qeth_poll, QETH_NAPI_WEIGHT); napi 37 drivers/staging/octeon/ethernet-rx.c struct napi_struct napi; napi 408 drivers/staging/octeon/ethernet-rx.c static int cvm_oct_napi_poll(struct napi_struct *napi, int budget) napi 410 drivers/staging/octeon/ethernet-rx.c struct oct_rx_group *rx_group = container_of(napi, struct oct_rx_group, napi 411 drivers/staging/octeon/ethernet-rx.c napi); napi 418 drivers/staging/octeon/ethernet-rx.c napi_complete_done(napi, rx_count); napi 468 drivers/staging/octeon/ethernet-rx.c netif_napi_add(dev_for_napi, &oct_rx_group[i].napi, napi 470 drivers/staging/octeon/ethernet-rx.c napi_enable(&oct_rx_group[i].napi); napi 477 drivers/staging/octeon/ethernet-rx.c "Ethernet", &oct_rx_group[i].napi); napi 514 drivers/staging/octeon/ethernet-rx.c napi_schedule(&oct_rx_group[i].napi); napi 536 drivers/staging/octeon/ethernet-rx.c netif_napi_del(&oct_rx_group[i].napi); napi 1470 drivers/staging/qlge/qlge.h struct napi_struct napi; napi 1499 drivers/staging/qlge/qlge_main.c struct napi_struct *napi = &rx_ring->napi; napi 1507 drivers/staging/qlge/qlge_main.c napi->dev = qdev->ndev; napi 1509 drivers/staging/qlge/qlge_main.c skb = napi_get_frags(napi); napi 1534 drivers/staging/qlge/qlge_main.c napi_gro_frags(napi); napi 1548 drivers/staging/qlge/qlge_main.c struct napi_struct *napi = &rx_ring->napi; napi 1621 drivers/staging/qlge/qlge_main.c napi_gro_receive(napi, skb); napi 1735 drivers/staging/qlge/qlge_main.c napi_gro_receive(&rx_ring->napi, skb); napi 2047 drivers/staging/qlge/qlge_main.c napi_gro_receive(&rx_ring->napi, skb); napi 2294 drivers/staging/qlge/qlge_main.c static int ql_napi_poll_msix(struct napi_struct *napi, int budget) napi 2296 drivers/staging/qlge/qlge_main.c struct rx_ring *rx_ring = container_of(napi, struct rx_ring, napi); napi 2334 drivers/staging/qlge/qlge_main.c napi_complete_done(napi, work_done); napi 2486 drivers/staging/qlge/qlge_main.c napi_schedule(&rx_ring->napi); napi 2554 drivers/staging/qlge/qlge_main.c napi_schedule(&rx_ring->napi); napi 3240 drivers/staging/qlge/qlge_main.c netif_napi_add(qdev->ndev, &rx_ring->napi, ql_napi_poll_msix, napi 3857 drivers/staging/qlge/qlge_main.c napi_enable(&qdev->rx_ring[i].napi); napi 3997 drivers/staging/qlge/qlge_main.c napi_disable(&qdev->rx_ring[i].napi); napi 4008 drivers/staging/qlge/qlge_main.c netif_napi_del(&qdev->rx_ring[i].napi); napi 4852 drivers/staging/qlge/qlge_main.c netif_napi_del(&qdev->rx_ring[i].napi); napi 187 drivers/staging/unisys/visornic/visornic_main.c struct napi_struct napi; napi 575 drivers/staging/unisys/visornic/visornic_main.c napi_disable(&devdata->napi); napi 675 drivers/staging/unisys/visornic/visornic_main.c napi_enable(&devdata->napi); napi 1735 drivers/staging/unisys/visornic/visornic_main.c static int visornic_poll(struct napi_struct *napi, int budget) napi 1737 drivers/staging/unisys/visornic/visornic_main.c struct visornic_devdata *devdata = container_of(napi, napi 1739 drivers/staging/unisys/visornic/visornic_main.c napi); napi 1747 drivers/staging/unisys/visornic/visornic_main.c napi_complete_done(napi, rx_count); napi 1767 drivers/staging/unisys/visornic/visornic_main.c napi_schedule(&devdata->napi); napi 1891 drivers/staging/unisys/visornic/visornic_main.c netif_napi_add(netdev, &devdata->napi, visornic_poll, NAPI_WEIGHT); napi 1953 drivers/staging/unisys/visornic/visornic_main.c netif_napi_del(&devdata->napi); napi 2021 drivers/staging/unisys/visornic/visornic_main.c netif_napi_del(&devdata->napi); napi 310 drivers/target/iscsi/cxgbit/cxgbit_main.c const __be64 *rsp, struct napi_struct *napi) napi 315 drivers/target/iscsi/cxgbit/cxgbit_main.c skb = napi_alloc_skb(napi, LRO_SKB_MAX_HEADROOM); napi 374 drivers/target/iscsi/cxgbit/cxgbit_main.c struct napi_struct *napi) napi 393 drivers/target/iscsi/cxgbit/cxgbit_main.c skb = cxgbit_lro_init_skb(csk, op, gl, rsp, napi); napi 429 drivers/target/iscsi/cxgbit/cxgbit_main.c struct napi_struct *napi) napi 472 drivers/target/iscsi/cxgbit/cxgbit_main.c napi)) napi 477 drivers/target/iscsi/cxgbit/cxgbit_main.c skb = napi_alloc_skb(napi, len); napi 494 drivers/target/iscsi/cxgbit/cxgbit_main.c napi)) napi 28 include/linux/can/rx-offload.h struct napi_struct napi; napi 53 include/linux/can/rx-offload.h napi_schedule(&offload->napi); napi 58 include/linux/can/rx-offload.h napi_disable(&offload->napi); napi 461 include/linux/netdevice.h static inline bool napi_reschedule(struct napi_struct *napi) napi 463 include/linux/netdevice.h if (napi_schedule_prep(napi)) { napi 464 include/linux/netdevice.h __napi_schedule(napi); napi 496 include/linux/netdevice.h bool napi_hash_del(struct napi_struct *napi); napi 2222 include/linux/netdevice.h void netif_napi_add(struct net_device *dev, struct napi_struct *napi, napi 2237 include/linux/netdevice.h struct napi_struct *napi, napi 2241 include/linux/netdevice.h set_bit(NAPI_STATE_NO_BUSY_POLL, &napi->state); napi 2242 include/linux/netdevice.h netif_napi_add(dev, napi, poll, weight); napi 2251 include/linux/netdevice.h void netif_napi_del(struct napi_struct *napi); napi 3635 include/linux/netdevice.h gro_result_t napi_gro_receive(struct napi_struct *napi, struct sk_buff *skb); napi 3636 include/linux/netdevice.h void napi_gro_flush(struct napi_struct *napi, bool flush_old); napi 3637 include/linux/netdevice.h struct sk_buff *napi_get_frags(struct napi_struct *napi); napi 3638 include/linux/netdevice.h gro_result_t napi_gro_frags(struct napi_struct *napi); napi 3642 include/linux/netdevice.h static inline void napi_free_frags(struct napi_struct *napi) napi 3644 include/linux/netdevice.h kfree_skb(napi->skb); napi 3645 include/linux/netdevice.h napi->skb = NULL; napi 77 include/linux/netpoll.h static inline void *netpoll_poll_lock(struct napi_struct *napi) napi 79 include/linux/netpoll.h struct net_device *dev = napi->dev; napi 84 include/linux/netpoll.h while (cmpxchg(&napi->poll_owner, -1, owner) != -1) napi 87 include/linux/netpoll.h return napi; napi 94 include/linux/netpoll.h struct napi_struct *napi = have; napi 96 include/linux/netpoll.h if (napi) napi 97 include/linux/netpoll.h smp_store_release(&napi->poll_owner, -1); napi 106 include/linux/netpoll.h static inline void *netpoll_poll_lock(struct napi_struct *napi) napi 2822 include/linux/skbuff.h struct sk_buff *__napi_alloc_skb(struct napi_struct *napi, napi 2824 include/linux/skbuff.h static inline struct sk_buff *napi_alloc_skb(struct napi_struct *napi, napi 2827 include/linux/skbuff.h return __napi_alloc_skb(napi, length, GFP_ATOMIC); napi 114 include/net/busy_poll.h struct napi_struct *napi) napi 117 include/net/busy_poll.h skb->napi_id = napi->napi_id; napi 4314 include/net/mac80211.h struct sk_buff *skb, struct napi_struct *napi); napi 3 include/trace/events/napi.h #define TRACE_SYSTEM napi napi 16 include/trace/events/napi.h TP_PROTO(struct napi_struct *napi, int work, int budget), napi 18 include/trace/events/napi.h TP_ARGS(napi, work, budget), napi 21 include/trace/events/napi.h __field( struct napi_struct *, napi) napi 22 include/trace/events/napi.h __string( dev_name, napi->dev ? napi->dev->name : NO_DEV) napi 28 include/trace/events/napi.h __entry->napi = napi; napi 29 include/trace/events/napi.h __assign_str(dev_name, napi->dev ? napi->dev->name : NO_DEV); napi 35 include/trace/events/napi.h __entry->napi, __get_str(dev_name), napi 801 net/core/dev.c struct napi_struct *napi; napi 808 net/core/dev.c napi = napi_by_id(napi_id); napi 810 net/core/dev.c return napi ? napi->dev : NULL; napi 3878 net/core/dev.c struct napi_struct *napi) napi 3880 net/core/dev.c list_add_tail(&napi->poll_list, &sd->poll_list); napi 5268 net/core/dev.c static void gro_normal_list(struct napi_struct *napi) napi 5270 net/core/dev.c if (!napi->rx_count) napi 5272 net/core/dev.c netif_receive_skb_list_internal(&napi->rx_list); napi 5273 net/core/dev.c INIT_LIST_HEAD(&napi->rx_list); napi 5274 net/core/dev.c napi->rx_count = 0; napi 5280 net/core/dev.c static void gro_normal_one(struct napi_struct *napi, struct sk_buff *skb) napi 5282 net/core/dev.c list_add_tail(&skb->list, &napi->rx_list); napi 5283 net/core/dev.c if (++napi->rx_count >= gro_normal_batch) napi 5284 net/core/dev.c gro_normal_list(napi); napi 5289 net/core/dev.c static int napi_gro_complete(struct napi_struct *napi, struct sk_buff *skb) napi 5322 net/core/dev.c gro_normal_one(napi, skb); napi 5326 net/core/dev.c static void __napi_gro_flush_chain(struct napi_struct *napi, u32 index, napi 5329 net/core/dev.c struct list_head *head = &napi->gro_hash[index].list; napi 5336 net/core/dev.c napi_gro_complete(napi, skb); napi 5337 net/core/dev.c napi->gro_hash[index].count--; napi 5340 net/core/dev.c if (!napi->gro_hash[index].count) napi 5341 net/core/dev.c __clear_bit(index, &napi->gro_bitmask); napi 5348 net/core/dev.c void napi_gro_flush(struct napi_struct *napi, bool flush_old) napi 5350 net/core/dev.c unsigned long bitmask = napi->gro_bitmask; napi 5356 net/core/dev.c __napi_gro_flush_chain(napi, base, flush_old); napi 5361 net/core/dev.c static struct list_head *gro_list_prepare(struct napi_struct *napi, napi 5369 net/core/dev.c head = &napi->gro_hash[hash & (GRO_HASH_BUCKETS - 1)].list; napi 5439 net/core/dev.c static void gro_flush_oldest(struct napi_struct *napi, struct list_head *head) napi 5455 net/core/dev.c napi_gro_complete(napi, oldest); napi 5462 net/core/dev.c static enum gro_result dev_gro_receive(struct napi_struct *napi, struct sk_buff *skb) napi 5477 net/core/dev.c gro_head = gro_list_prepare(napi, skb); napi 5531 net/core/dev.c napi_gro_complete(napi, pp); napi 5532 net/core/dev.c napi->gro_hash[hash].count--; napi 5541 net/core/dev.c if (unlikely(napi->gro_hash[hash].count >= MAX_GRO_SKBS)) { napi 5542 net/core/dev.c gro_flush_oldest(napi, gro_head); napi 5544 net/core/dev.c napi->gro_hash[hash].count++; napi 5558 net/core/dev.c if (napi->gro_hash[hash].count) { napi 5559 net/core/dev.c if (!test_bit(hash, &napi->gro_bitmask)) napi 5560 net/core/dev.c __set_bit(hash, &napi->gro_bitmask); napi 5561 net/core/dev.c } else if (test_bit(hash, &napi->gro_bitmask)) { napi 5562 net/core/dev.c __clear_bit(hash, &napi->gro_bitmask); napi 5635 net/core/dev.c gro_result_t napi_gro_receive(struct napi_struct *napi, struct sk_buff *skb) napi 5639 net/core/dev.c skb_mark_napi_id(skb, napi); napi 5644 net/core/dev.c ret = napi_skb_finish(dev_gro_receive(napi, skb), skb); napi 5651 net/core/dev.c static void napi_reuse_skb(struct napi_struct *napi, struct sk_buff *skb) napi 5661 net/core/dev.c skb->dev = napi->dev; napi 5672 net/core/dev.c napi->skb = skb; napi 5675 net/core/dev.c struct sk_buff *napi_get_frags(struct napi_struct *napi) napi 5677 net/core/dev.c struct sk_buff *skb = napi->skb; napi 5680 net/core/dev.c skb = napi_alloc_skb(napi, GRO_MAX_HEAD); napi 5682 net/core/dev.c napi->skb = skb; napi 5683 net/core/dev.c skb_mark_napi_id(skb, napi); napi 5690 net/core/dev.c static gro_result_t napi_frags_finish(struct napi_struct *napi, napi 5700 net/core/dev.c gro_normal_one(napi, skb); napi 5704 net/core/dev.c napi_reuse_skb(napi, skb); napi 5711 net/core/dev.c napi_reuse_skb(napi, skb); napi 5726 net/core/dev.c static struct sk_buff *napi_frags_skb(struct napi_struct *napi) napi 5728 net/core/dev.c struct sk_buff *skb = napi->skb; napi 5732 net/core/dev.c napi->skb = NULL; napi 5741 net/core/dev.c __func__, napi->dev->name); napi 5742 net/core/dev.c napi_reuse_skb(napi, skb); napi 5763 net/core/dev.c gro_result_t napi_gro_frags(struct napi_struct *napi) napi 5766 net/core/dev.c struct sk_buff *skb = napi_frags_skb(napi); napi 5773 net/core/dev.c ret = napi_frags_finish(napi, skb, dev_gro_receive(napi, skb)); napi 5849 net/core/dev.c static int process_backlog(struct napi_struct *napi, int quota) napi 5851 net/core/dev.c struct softnet_data *sd = container_of(napi, struct softnet_data, backlog); napi 5863 net/core/dev.c napi->weight = dev_rx_weight; napi 5888 net/core/dev.c napi->state = 0; napi 6030 net/core/dev.c struct napi_struct *napi; napi 6032 net/core/dev.c hlist_for_each_entry_rcu(napi, &napi_hash[hash], napi_hash_node) napi 6033 net/core/dev.c if (napi->napi_id == napi_id) napi 6034 net/core/dev.c return napi; napi 6043 net/core/dev.c static void busy_poll_stop(struct napi_struct *napi, void *have_poll_lock) napi 6056 net/core/dev.c clear_bit(NAPI_STATE_MISSED, &napi->state); napi 6057 net/core/dev.c clear_bit(NAPI_STATE_IN_BUSY_POLL, &napi->state); napi 6064 net/core/dev.c rc = napi->poll(napi, BUSY_POLL_BUDGET); napi 6069 net/core/dev.c trace_napi_poll(napi, rc, BUSY_POLL_BUDGET); napi 6075 net/core/dev.c gro_normal_list(napi); napi 6076 net/core/dev.c __napi_schedule(napi); napi 6086 net/core/dev.c int (*napi_poll)(struct napi_struct *napi, int budget); napi 6088 net/core/dev.c struct napi_struct *napi; napi 6095 net/core/dev.c napi = napi_by_id(napi_id); napi 6096 net/core/dev.c if (!napi) napi 6105 net/core/dev.c unsigned long val = READ_ONCE(napi->state); napi 6113 net/core/dev.c if (cmpxchg(&napi->state, val, napi 6117 net/core/dev.c have_poll_lock = netpoll_poll_lock(napi); napi 6118 net/core/dev.c napi_poll = napi->poll; napi 6120 net/core/dev.c work = napi_poll(napi, BUSY_POLL_BUDGET); napi 6121 net/core/dev.c trace_napi_poll(napi, work, BUSY_POLL_BUDGET); napi 6122 net/core/dev.c gro_normal_list(napi); napi 6125 net/core/dev.c __NET_ADD_STATS(dev_net(napi->dev), napi 6134 net/core/dev.c busy_poll_stop(napi, have_poll_lock); napi 6145 net/core/dev.c busy_poll_stop(napi, have_poll_lock); napi 6154 net/core/dev.c static void napi_hash_add(struct napi_struct *napi) napi 6156 net/core/dev.c if (test_bit(NAPI_STATE_NO_BUSY_POLL, &napi->state) || napi 6157 net/core/dev.c test_and_set_bit(NAPI_STATE_HASHED, &napi->state)) napi 6167 net/core/dev.c napi->napi_id = napi_gen_id; napi 6169 net/core/dev.c hlist_add_head_rcu(&napi->napi_hash_node, napi 6170 net/core/dev.c &napi_hash[napi->napi_id % HASH_SIZE(napi_hash)]); napi 6178 net/core/dev.c bool napi_hash_del(struct napi_struct *napi) napi 6184 net/core/dev.c if (test_and_clear_bit(NAPI_STATE_HASHED, &napi->state)) { napi 6186 net/core/dev.c hlist_del_rcu(&napi->napi_hash_node); napi 6195 net/core/dev.c struct napi_struct *napi; napi 6197 net/core/dev.c napi = container_of(timer, struct napi_struct, timer); napi 6202 net/core/dev.c if (napi->gro_bitmask && !napi_disable_pending(napi) && napi 6203 net/core/dev.c !test_and_set_bit(NAPI_STATE_SCHED, &napi->state)) napi 6204 net/core/dev.c __napi_schedule_irqoff(napi); napi 6209 net/core/dev.c static void init_gro_hash(struct napi_struct *napi) napi 6214 net/core/dev.c INIT_LIST_HEAD(&napi->gro_hash[i].list); napi 6215 net/core/dev.c napi->gro_hash[i].count = 0; napi 6217 net/core/dev.c napi->gro_bitmask = 0; napi 6220 net/core/dev.c void netif_napi_add(struct net_device *dev, struct napi_struct *napi, napi 6223 net/core/dev.c INIT_LIST_HEAD(&napi->poll_list); napi 6224 net/core/dev.c hrtimer_init(&napi->timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL_PINNED); napi 6225 net/core/dev.c napi->timer.function = napi_watchdog; napi 6226 net/core/dev.c init_gro_hash(napi); napi 6227 net/core/dev.c napi->skb = NULL; napi 6228 net/core/dev.c INIT_LIST_HEAD(&napi->rx_list); napi 6229 net/core/dev.c napi->rx_count = 0; napi 6230 net/core/dev.c napi->poll = poll; napi 6234 net/core/dev.c napi->weight = weight; napi 6235 net/core/dev.c list_add(&napi->dev_list, &dev->napi_list); napi 6236 net/core/dev.c napi->dev = dev; napi 6238 net/core/dev.c napi->poll_owner = -1; napi 6240 net/core/dev.c set_bit(NAPI_STATE_SCHED, &napi->state); napi 6241 net/core/dev.c napi_hash_add(napi); napi 6261 net/core/dev.c static void flush_gro_hash(struct napi_struct *napi) napi 6268 net/core/dev.c list_for_each_entry_safe(skb, n, &napi->gro_hash[i].list, list) napi 6270 net/core/dev.c napi->gro_hash[i].count = 0; napi 6275 net/core/dev.c void netif_napi_del(struct napi_struct *napi) napi 6278 net/core/dev.c if (napi_hash_del(napi)) napi 6280 net/core/dev.c list_del_init(&napi->dev_list); napi 6281 net/core/dev.c napi_free_frags(napi); napi 6283 net/core/dev.c flush_gro_hash(napi); napi 6284 net/core/dev.c napi->gro_bitmask = 0; napi 9856 net/core/dev.c struct napi_struct *napi = list_first_entry(&oldsd->poll_list, napi 9860 net/core/dev.c list_del_init(&napi->poll_list); napi 9861 net/core/dev.c if (napi->poll == process_backlog) napi 9862 net/core/dev.c napi->state = 0; napi 9864 net/core/dev.c ____napi_schedule(sd, napi); napi 112 net/core/drop_monitor.c void (*napi_poll_probe)(void *ignore, struct napi_struct *napi, napi 267 net/core/drop_monitor.c static void trace_napi_poll_hit(void *ignore, struct napi_struct *napi, napi 275 net/core/drop_monitor.c if (!napi->dev) napi 286 net/core/drop_monitor.c if ((new_stat->dev == napi->dev) && napi 288 net/core/drop_monitor.c (napi->dev->stats.rx_dropped != new_stat->last_drop_val)) { napi 290 net/core/drop_monitor.c new_stat->last_drop_val = napi->dev->stats.rx_dropped; napi 528 net/core/drop_monitor.c struct napi_struct *napi, napi 9 net/core/gro_cells.c struct napi_struct napi; napi 39 net/core/gro_cells.c napi_schedule(&cell->napi); napi 50 net/core/gro_cells.c static int gro_cell_poll(struct napi_struct *napi, int budget) napi 52 net/core/gro_cells.c struct gro_cell *cell = container_of(napi, struct gro_cell, napi); napi 60 net/core/gro_cells.c napi_gro_receive(napi, skb); napi 65 net/core/gro_cells.c napi_complete_done(napi, work_done); napi 82 net/core/gro_cells.c set_bit(NAPI_STATE_NO_BUSY_POLL, &cell->napi.state); napi 84 net/core/gro_cells.c netif_napi_add(dev, &cell->napi, gro_cell_poll, napi 86 net/core/gro_cells.c napi_enable(&cell->napi); napi 101 net/core/gro_cells.c napi_disable(&cell->napi); napi 102 net/core/gro_cells.c netif_napi_del(&cell->napi); napi 138 net/core/netpoll.c static void poll_one_napi(struct napi_struct *napi) napi 146 net/core/netpoll.c if (test_and_set_bit(NAPI_STATE_NPSVC, &napi->state)) napi 152 net/core/netpoll.c work = napi->poll(napi, 0); napi 153 net/core/netpoll.c WARN_ONCE(work, "%pS exceeded budget in poll\n", napi->poll); napi 154 net/core/netpoll.c trace_napi_poll(napi, work, 0); napi 156 net/core/netpoll.c clear_bit(NAPI_STATE_NPSVC, &napi->state); napi 161 net/core/netpoll.c struct napi_struct *napi; napi 164 net/core/netpoll.c list_for_each_entry(napi, &dev->napi_list, dev_list) { napi 165 net/core/netpoll.c if (cmpxchg(&napi->poll_owner, -1, cpu) == -1) { napi 166 net/core/netpoll.c poll_one_napi(napi); napi 167 net/core/netpoll.c smp_store_release(&napi->poll_owner, -1); napi 297 net/core/netpoll.c struct napi_struct *napi; napi 299 net/core/netpoll.c list_for_each_entry(napi, &dev->napi_list, dev_list) { napi 300 net/core/netpoll.c if (napi->poll_owner == smp_processor_id()) napi 496 net/core/skbuff.c struct sk_buff *__napi_alloc_skb(struct napi_struct *napi, unsigned int len, napi 536 net/core/skbuff.c skb->dev = napi->dev; napi 219 net/mac80211/ieee80211_i.h struct napi_struct *napi; napi 2456 net/mac80211/rx.c if (rx->napi) napi 2457 net/mac80211/rx.c napi_gro_receive(rx->napi, skb); napi 3718 net/mac80211/rx.c .napi = NULL, /* must be NULL to not have races */ napi 4328 net/mac80211/rx.c if (rx->napi) napi 4329 net/mac80211/rx.c napi_gro_receive(rx->napi, skb); napi 4396 net/mac80211/rx.c struct napi_struct *napi) napi 4411 net/mac80211/rx.c rx.napi = napi; napi 4520 net/mac80211/rx.c struct sk_buff *skb, struct napi_struct *napi) napi 4634 net/mac80211/rx.c __ieee80211_rx_handle_packet(hw, pubsta, skb, napi);