Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/net/ethernet/broadcom/bnge/bnge_netdev.c, line 1401
- drivers/net/ethernet/broadcom/bnxt/bnxt.c, line 970
- include/net/page_pool/helpers.h
- net/core/page_pool.c
Smatch caller information:
drivers/net/ethernet/cisco/enic/enic_rq.c page_pool_alloc_netmem() -> page_pool_alloc_netmems()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp | 10272 |
| DATA_SOURCE | 0 | pool | $0 |
| DATA_SOURCE | 1 | gfp | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/intel/idpf/idpf_singleq_txrx.c page_pool_alloc_netmem() -> page_pool_alloc_netmems()
| 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 |
| DATA_SOURCE | 1 | gfp | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/core/skbuff.c page_pool_alloc_netmem() -> page_pool_alloc_netmems()
| 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 | 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 |
| DATA_SOURCE | 1 | gfp | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/broadcom/bnxt/bnxt.c __bnxt_alloc_rx_netmem() -> page_pool_alloc_netmems()
| 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 | 1 | gfp | 2080,3264 |
| DATA_SOURCE | 1 | gfp | $4 |
| HARD_MAX | 1 | gfp | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &bp->dev->lock |
net/core/page_pool.c page_pool_alloc_frag_netmem() -> page_pool_alloc_netmems()
| 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 | 2080,3264,10272,10276 |
| BUF_SIZE | 0 | pool | (-1)-0,1984 |
| BUF_SIZE | 0 | pool | (-1)-0,1984 |
| DATA_SOURCE | 0 | pool | $0 |
| DATA_SOURCE | 1 | gfp | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | pool->frag_offset | 0-u32max[c] |
net/core/page_pool.c page_pool_alloc_pages() -> page_pool_alloc_netmems()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool->p.dev->dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 1 | gfp | 2080,3264,10272,10276,10528,11456,133152 |
| BUF_SIZE | 0 | pool | (-1),1984 |
| BUF_SIZE | 0 | pool | (-1),1984 |
| DATA_SOURCE | 0 | pool | $0 |
| DATA_SOURCE | 1 | gfp | $1 |
| FUZZY_MAX | 1 | gfp | 10272 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &queue->rx_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/broadcom/bnge/bnge_netdev.c __bnge_alloc_rx_netmem() -> page_pool_alloc_netmems()
| 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 | 2080,3264 |
| DATA_SOURCE | 1 | gfp | $4 |
| HARD_MAX | 1 | gfp | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/intel/iavf/iavf_txrx.c page_pool_alloc_netmem() -> page_pool_alloc_netmems()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp | 10272 |
| DATA_SOURCE | 0 | pool | $0 |
| DATA_SOURCE | 1 | gfp | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/intel/ice/ice_txrx.c page_pool_alloc_netmem() -> page_pool_alloc_netmems()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp | 10272 |
| DATA_SOURCE | 0 | pool | $0 |
| DATA_SOURCE | 1 | gfp | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/google/gve/gve_buffer_mgmt_dqo.c page_pool_alloc_netmem() -> page_pool_alloc_netmems()
| 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 | 2080 |
| DATA_SOURCE | 0 | pool | $0 |
| DATA_SOURCE | 1 | gfp | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/core/xdp.c page_pool_alloc_netmem() -> page_pool_alloc_netmems()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->mp_priv->fired_notifs | 0-4294967295 |
| PARAM_VALUE | 0 | pool->p.dev->dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | pool->p.dev->dma_io_tlb_mem->dyn_alloc.flags | 0-4294967295 |
| PARAM_VALUE | 0 | pool->p.dev->dma_io_tlb_mem->dyn_alloc.is_hard | 0-1 |
| PARAM_VALUE | 0 | pool->p.dev->dma_io_tlb_mem->dyn_alloc.is_lazy | 0-1 |
| PARAM_VALUE | 0 | pool->p.dev->dma_io_tlb_mem->dyn_alloc.is_queued | 0-1 |
| PARAM_VALUE | 0 | pool->p.dev->dma_io_tlb_mem->dyn_alloc.is_soft | 0-1 |
| PARAM_VALUE | 0 | pool->p.dev->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->p.dev->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| 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 |
| BUF_SIZE | 0 | pool | 0 |
| DATA_SOURCE | 0 | pool | $0 |
| DATA_SOURCE | 1 | gfp | $3 |
| BIT_INFO | 0 | pool | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/meta/fbnic/fbnic_txrx.c page_pool_dev_alloc_netmems() -> page_pool_alloc_netmems()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp | 10272 |
| DATA_SOURCE | 0 | pool | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/renesas/ravb_main.c page_pool_alloc_netmem() -> page_pool_alloc_netmems()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp | 2080,3264 |
| DATA_SOURCE | 0 | pool | $0 |
| DATA_SOURCE | 1 | gfp | $3 |
| HARD_MAX | 1 | gfp | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ndev->ethtool->rss_lock | ||
| HALF_LOCKED2 | &ndev->lock |
drivers/net/virtio_net.c page_pool_alloc_netmem() -> page_pool_alloc_netmems()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->p.dev->iommu_group->default_domain | 0-s64max |
| 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 | 2080,3264 |
| DATA_SOURCE | 0 | pool | $0 |
| DATA_SOURCE | 1 | gfp | $3 |
| BIT_INFO | 1 | gfp | 0x0,0xffd |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/pensando/ionic/ionic_txrx.c page_pool_alloc_netmem() -> page_pool_alloc_netmems()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| 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 | 2080 |
| DATA_SOURCE | 0 | pool | $0 |
| DATA_SOURCE | 1 | gfp | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &lif->phc->config_lock | ||
| HALF_LOCKED2 | &lif->queue_lock |
drivers/net/ethernet/intel/idpf/idpf_txrx.c page_pool_alloc_netmem() -> page_pool_alloc_netmems()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp | 10272 |
| DATA_SOURCE | 0 | pool | $0 |
| DATA_SOURCE | 1 | gfp | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c page_pool_dev_alloc_netmems() -> page_pool_alloc_netmems()
| 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 | 1 | gfp | 10272 |
| DATA_SOURCE | 0 | pool | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | bh |