Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 23 files:
- drivers/net/ethernet/brocade/bna/bnad.c, line 634
- drivers/net/ethernet/chelsio/cxgb3/sge.c, line 2146
- drivers/net/ethernet/chelsio/cxgb4/sge.c, line 3439
- drivers/net/ethernet/chelsio/cxgb4vf/sge.c, line 1573
- drivers/net/ethernet/cisco/enic/enic_rq.c, line 351
- drivers/net/ethernet/cortina/gemini.c, line 1429
- drivers/net/ethernet/emulex/benet/be_main.c, line 2442
- drivers/net/ethernet/fungible/funeth/funeth_rx.c, line 415
- drivers/net/ethernet/google/gve/gve_rx.c, line 456
- drivers/net/ethernet/google/gve/gve_rx_dqo.c, line 964
- drivers/net/ethernet/intel/e1000/e1000_main.c
- drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c, line 358
- drivers/net/ethernet/mellanox/mlx4/en_rx.c, line 856
- drivers/net/ethernet/myricom/myri10ge/myri10ge.c, line 1341
- drivers/net/ethernet/pensando/ionic/ionic_txrx.c, line 194
- drivers/net/ethernet/sfc/falcon/rx.c, line 438
- drivers/net/ethernet/sfc/rx_common.c, line 516
- drivers/net/ethernet/sfc/siena/rx_common.c, line 515
- drivers/net/tun.c, line 1485
- drivers/net/usb/r8152.c, line 3077
- drivers/s390/net/qeth_core_main.c, line 5662
- net/core/dev.c, line 7587
- net/core/gro.c, line 703
Smatch caller information:
drivers/net/ethernet/google/gve/gve_rx.c gve_rx_add_frags() -> napi_get_frags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | napi | 4096-ptr_max |
| DATA_SOURCE | 0 | napi | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/fungible/funeth/funeth_rx.c fun_handle_cqe_pkt() -> napi_get_frags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/cisco/enic/enic_rq.c enic_rq_indicate_buf() -> napi_get_frags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/sfc/falcon/rx.c ef4_rx_packet_gro() -> napi_get_frags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | napi | 4096-ptr_max |
| BUF_SIZE | 0 | napi | 560 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/cortina/gemini.c gmac_skb_if_good_frame() -> napi_get_frags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | napi | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/chelsio/cxgb3/sge.c lro_add_page() -> napi_get_frags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | napi | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &q->lock |
drivers/net/ethernet/chelsio/cxgb4/sge.c do_gro() -> napi_get_frags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | napi | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/mellanox/mlx4/en_rx.c mlx4_en_process_rx_cq() -> napi_get_frags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | napi | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/usb/r8152.c rx_bottom() -> napi_get_frags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | napi | 4096-ptr_max |
| BUF_SIZE | 0 | napi | 560 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | napi->skb->end | |
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/intel/e1000/e1000_main.c e1000_clean_jumbo_rx_irq() -> napi_get_frags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | napi | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/intel/e1000/e1000_main.c e1000_clean_jumbo_rx_irq() -> napi_get_frags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | napi | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/brocade/bna/bnad.c bnad_cq_process() -> napi_get_frags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | napi | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/sfc/rx_common.c efx_rx_packet_gro() -> napi_get_frags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | napi | 4096-ptr_max |
| BUF_SIZE | 0 | napi | 560 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/chelsio/cxgb4vf/sge.c do_gro() -> napi_get_frags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | napi | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
51e6ac3d6061642e gve_rx_dqo() -> napi_get_frags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | napi | 4096-ptr_max |
| PARAM_VALUE | 0 | napi->dev | 4096-ptr_max |
| BUF_SIZE | 0 | napi | 560 |
| DATA_SOURCE | 0 | napi | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c otx2_rcv_pkt_handler() -> napi_get_frags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | napi | $1 |
drivers/net/tun.c tun_napi_alloc_frags() -> napi_get_frags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | napi | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &tfile->napi_mutex | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct tun_file)->napi_mutex |
drivers/net/ethernet/emulex/benet/be_main.c be_rx_compl_process_gro() -> napi_get_frags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | napi | $1 |
| RX_PATH |
net/core/dev.c napi_get_frags_check() -> napi_get_frags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | napi | 4096-ptr_max |
| PARAM_VALUE | 0 | napi->config | 0,4096-ptr_max |
| PARAM_VALUE | 0 | napi->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | napi->dev_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | napi->dev_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | napi->gro.bitmask | 0 |
| PARAM_VALUE | 0 | napi->gro.cached_napi_id | 0 |
| PARAM_VALUE | 0 | napi->gro.rx_count | 0 |
| PARAM_VALUE | 0 | napi->gro.rx_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | napi->gro.rx_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | napi->gro.rx_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | napi->gro.rx_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | napi->gro.rx_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | napi->list_owner | (-1) |
| PARAM_VALUE | 0 | napi->napi_hash_node.next | 0 |
| PARAM_VALUE | 0 | napi->napi_hash_node.pprev | 0 |
| PARAM_VALUE | 0 | napi->poll_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | napi->poll_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | napi->poll_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | napi->poll_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | napi->poll_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | napi->poll_owner | (-1) |
| PARAM_VALUE | 0 | napi->skb | 0 |
| PARAM_VALUE | 0 | napi->timer._softexpires | 0 |
| PARAM_VALUE | 0 | napi->timer.base | 4096-ptr_max |
| PARAM_VALUE | 0 | napi->timer.function | 1-u64max |
| PARAM_VALUE | 0 | napi->timer.is_hard | 0 |
| PARAM_VALUE | 0 | napi->timer.is_lazy | 0 |
| PARAM_VALUE | 0 | napi->timer.is_queued | 0 |
| PARAM_VALUE | 0 | napi->timer.is_rel | 0 |
| PARAM_VALUE | 0 | napi->timer.is_soft | 0 |
| PARAM_VALUE | 0 | napi->timer.node.expires | 0 |
| PARAM_VALUE | 0 | napi->timer.node.node.next | 0 |
| PARAM_VALUE | 0 | napi->timer.node.node.node.rb_left | 0 |
| PARAM_VALUE | 0 | napi->timer.node.node.node.rb_right | 0 |
| PARAM_VALUE | 0 | napi->timer.node.node.prev | 0 |
| DATA_SOURCE | 0 | napi | $0 |
| MEM_ZERO | 0 | &napi->timer | |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | bh |
drivers/net/ethernet/sfc/siena/rx_common.c efx_siena_rx_packet_gro() -> napi_get_frags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | napi | 4096-ptr_max |
| BUF_SIZE | 0 | napi | 560 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/myricom/myri10ge/myri10ge.c myri10ge_rx_done() -> napi_get_frags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | napi | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/pensando/ionic/ionic_txrx.c ionic_rx_build_skb() -> napi_get_frags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | napi | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |