Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 12 files:
- drivers/net/ethernet/broadcom/genet/bcmgenet.c, line 2248
- drivers/net/ethernet/marvell/mvneta.c, line 1943
- drivers/net/ethernet/mediatek/mtk_eth_soc.c, line 1939
- drivers/net/ethernet/mellanox/mlx4/en_rx.c, line 66
- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
- drivers/net/virtio_net.c
- drivers/net/vmxnet3/vmxnet3_drv.c, line 1425
- drivers/net/vmxnet3/vmxnet3_xdp.c, line 345
- drivers/net/xen-netfront.c, line 282
- include/net/page_pool/helpers.h, line 96
- net/core/page_pool.c, line 680
- tools/testing/selftests/net/bench/page_pool/bench_page_pool_simple.c
Smatch caller information:
drivers/net/ethernet/ti/cpsw.c page_pool_dev_alloc_pages() -> page_pool_alloc_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp | 10272 |
| DATA_SOURCE | 0 | pool | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/mediatek/mtk_eth_soc.c mtk_page_pool_get_buff() -> page_pool_alloc_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 1-u64max |
| PARAM_VALUE | 1 | gfp | 10272,11456 |
| BUF_SIZE | 0 | pool | (-1),1984 |
| BUF_SIZE | 0 | pool | (-1),1984 |
| DATA_SOURCE | 0 | pool | $0 |
| BIT_INFO | 1 | gfp | 0x2000,0x2fff |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/xen-netfront.c xennet_alloc_one_rx_buffer() -> page_pool_alloc_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool->p.dev->dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 1 | gfp | 10528 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &queue->rx_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | global &xenwatch_mutex | ||
| TYPE_LOCK | (struct netfront_queue)->rx_lock |
drivers/net/ethernet/microsoft/mana/mana_en.c page_pool_dev_alloc_pages() -> page_pool_alloc_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool->p.dev->dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | pool->p.dev->kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | pool->p.dev->kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | pool->p.dev->kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 1 | gfp | 10272 |
| DATA_SOURCE | 0 | pool | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | pool->frag_offset | 0-u32max[c] |
drivers/net/ethernet/broadcom/bnxt/bnxt.c page_pool_dev_alloc_pages() -> page_pool_alloc_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool->p.dev->dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | pool->p.dev->kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | pool->p.dev->kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | pool->p.dev->kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 1 | gfp | 10272 |
| DATA_SOURCE | 0 | pool | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &bp->dev->lock |
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c page_pool_dev_alloc_pages() -> page_pool_alloc_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 1-u64max |
| PARAM_VALUE | 0 | pool->p.dev->dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | pool->p.dev->kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | pool->p.dev->kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | pool->p.dev->kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 1 | gfp | 10272 |
| DATA_SOURCE | 0 | pool | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/mellanox/mlxsw/pci.c page_pool_dev_alloc_pages() -> page_pool_alloc_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp | 10272 |
| DATA_SOURCE | 0 | pool | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/marvell/mvneta.c mvneta_rx_refill() -> page_pool_alloc_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 0,4096-u64max |
| PARAM_VALUE | 1 | gfp | 10272,11456 |
| CAPPED_DATA | 0 | pool | 1 |
| BIT_INFO | 1 | gfp | 0x2000,0x2fff |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/microchip/lan966x/lan966x_fdma.c page_pool_dev_alloc_pages() -> page_pool_alloc_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp | 10272 |
| DATA_SOURCE | 0 | pool | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/vmxnet3/vmxnet3_drv.c vmxnet3_pp_get_buff() -> page_pool_alloc_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->p.dev->dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 1 | gfp | 10272,11456 |
| CAPPED_DATA | 0 | pool | 1 |
| DATA_SOURCE | 0 | pool | $0 |
| BIT_INFO | 1 | gfp | 0x2000,0x2fff |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/broadcom/asp2/bcmasp_intf.c page_pool_dev_alloc_pages() -> page_pool_alloc_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp | 10272 |
| DATA_SOURCE | 0 | pool | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/mellanox/mlx4/en_rx.c mlx4_en_alloc_frags() -> page_pool_alloc_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp | 3264,133152 |
| DATA_SOURCE | 1 | gfp | $4 |
| HARD_MAX | 1 | gfp | 133152 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/engleder/tsnep_main.c page_pool_dev_alloc_pages() -> page_pool_alloc_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 0,4096-u64max |
| PARAM_VALUE | 1 | gfp | 10272 |
| CAPPED_DATA | 0 | pool | 1 |
| DATA_SOURCE | 0 | pool | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/bpf/test_run.c page_pool_dev_alloc_pages() -> page_pool_alloc_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp | 10272 |
| CAPPED_DATA | 0 | pool | 1 |
| DATA_SOURCE | 0 | pool | $0 |
| LOCK2 | bh | ||
| LOCK2 | rcu_read |
drivers/net/ethernet/tehuti/tn40.c page_pool_dev_alloc_pages() -> page_pool_alloc_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp | 10272 |
| DATA_SOURCE | 0 | pool | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_init_rx_buffers() -> page_pool_alloc_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp | 10272,10276 |
| FUZZY_MAX | 1 | gfp | 10272 |
| BIT_INFO | 1 | gfp | 0x2820,0x2824 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_init_rx_buffers() -> page_pool_alloc_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 0,4096-u64max |
| PARAM_VALUE | 1 | gfp | 10272,10276 |
| FUZZY_MAX | 1 | gfp | 10272 |
| BIT_INFO | 1 | gfp | 0x2820,0x2824 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_rx_refill() -> page_pool_alloc_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 0,4096-u64max |
| PARAM_VALUE | 1 | gfp | 10272,10276 |
| FUZZY_MAX | 1 | gfp | 10272 |
| BIT_INFO | 1 | gfp | 0x2820,0x2824 |
| RX_PATH |
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_rx_refill() -> page_pool_alloc_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 0,4096-u64max |
| PARAM_VALUE | 1 | gfp | 10272,10276 |
| FUZZY_MAX | 1 | gfp | 10272 |
| BIT_INFO | 1 | gfp | 0x2820,0x2824 |
| RX_PATH |
drivers/net/ethernet/ti/cpsw_new.c page_pool_dev_alloc_pages() -> page_pool_alloc_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp | 10272 |
| DATA_SOURCE | 0 | pool | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/realtek/rtase/rtase_main.c page_pool_dev_alloc_pages() -> page_pool_alloc_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp | 10272 |
| DATA_SOURCE | 0 | pool | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/socionext/netsec.c page_pool_dev_alloc_pages() -> page_pool_alloc_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp | 10272 |
| DATA_SOURCE | 0 | pool | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/vmxnet3/vmxnet3_xdp.c vmxnet3_process_xdp_small() -> page_pool_alloc_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp | 2080 |
drivers/net/ethernet/wangxun/libwx/wx_lib.c page_pool_dev_alloc_pages() -> page_pool_alloc_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool->p.dev->dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | pool->p.dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | pool->p.dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | pool->p.dev->kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | pool->p.dev->kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | pool->p.dev->kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 1 | gfp | 10272 |
| DATA_SOURCE | 0 | pool | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/microchip/sparx5/lan969x/lan969x_fdma.c page_pool_dev_alloc_pages() -> page_pool_alloc_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp | 10272 |
| DATA_SOURCE | 0 | pool | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/freescale/fec_main.c page_pool_dev_alloc_pages() -> page_pool_alloc_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp | 10272 |
| DATA_SOURCE | 0 | pool | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/netdevsim/netdev.c page_pool_dev_alloc_pages() -> page_pool_alloc_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp | 10272 |
| DATA_SOURCE | 0 | pool | $0 |
| LOCK2 | global &rtnl_mutex |
drivers/net/virtio_net.c mergeable_xdp_get_buf() -> page_pool_alloc_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp | 2080 |
| CAPPED_DATA | 0 | pool | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh |
drivers/net/virtio_net.c xdp_linearize_page() -> page_pool_alloc_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp | 2080 |
| CAPPED_DATA | 0 | pool | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | bh |
drivers/net/ethernet/broadcom/genet/bcmgenet.c bcmgenet_rx_refill() -> page_pool_alloc_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 0,4096-u64max |
| PARAM_VALUE | 1 | gfp | 2080 |
| CAPPED_DATA | 0 | pool | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/ti/cpsw_priv.c page_pool_dev_alloc_pages() -> page_pool_alloc_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp | 10272 |
| DATA_SOURCE | 0 | pool | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/alibaba/eea/eea_rx.c page_pool_dev_alloc_pages() -> page_pool_alloc_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool->p.dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | pool->p.dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 1 | gfp | 10272 |
| DATA_SOURCE | 0 | pool | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |