Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 2 files:
Smatch caller information:
net/core/devmem.c mp_dmabuf_devmem_alloc_netmems() -> page_pool_set_pp_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->dma_mapped.xa_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pool->mp_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->mp_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->p.dev->dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | *pool->ring->queue | 0 |
| PARAM_VALUE | 1 | netmem | 4097-18446744073709547521 |
| BUF_SIZE | 0 | pool | (-1)-0,1984 |
| BUF_SIZE | 0 | pool | (-1)-0,1984 |
| DATA_SOURCE | 0 | pool | $0 |
| DATA_SOURCE | 1 | netmem | r net_iov_to_netmem |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | pool->frag_offset | 0-u32max[c] |
| HALF_LOCKED2 | rcu_read |
net/core/page_pool.c __page_pool_alloc_netmems_slow() -> page_pool_set_pp_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->alloc.cache | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->dma_mapped.xa_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pool->p.dev->dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | pool->p.order | 0 |
| PARAM_VALUE | 0 | *pool->alloc.cache | 4096-ptr_max |
| PARAM_VALUE | 0 | *pool->ring->queue | 0 |
| BUF_SIZE | 0 | pool | (-1)-0,1984 |
| BUF_SIZE | 0 | pool | (-1)-0,1984 |
| DATA_SOURCE | 0 | pool | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | pool->frag_offset | 0-u32max[c] |
| HALF_LOCKED2 | rcu_read |
net/core/page_pool.c __page_pool_alloc_page_order() -> page_pool_set_pp_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->dma_mapped.xa_lock.rlock.dep_map->name | 0-255 |
| 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->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 | 0 | pool->p.order | 1-10 |
| PARAM_VALUE | 0 | *pool->ring->queue | 0 |
| PARAM_VALUE | 1 | netmem | 4096-18446744073709547520 |
| BUF_SIZE | 0 | pool | (-1)-0,1984 |
| BUF_SIZE | 0 | pool | (-1)-0,1984 |
| DATA_SOURCE | 0 | pool | $0 |
| DATA_SOURCE | 1 | netmem | r alloc_pages_node_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | pool->frag_offset | 0-u32max[c] |
| HALF_LOCKED2 | rcu_read |
net/core/page_pool.c net_mp_niov_set_page_pool() -> page_pool_set_pp_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->alloc.count | 0 |
| PARAM_VALUE | 0 | pool->mp_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->p.dev->dma_io_tlb_mem->can_grow | 0-1 |
| 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 | 0 | *pool->ring->queue | 0 |
| PARAM_VALUE | 1 | netmem | 4097-18446744073709547521 |
| BUF_SIZE | 0 | pool | (-1)-0,1984 |
| BUF_SIZE | 0 | pool | (-1)-0,1984 |
| CAPPED_DATA | 0 | pool | 1 |
| DATA_SOURCE | 0 | pool | $0 |
| DATA_SOURCE | 1 | netmem | r net_iov_to_netmem |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | pool->frag_offset | 0-u32max[c] |
| LOCK2 | _T->lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | rcu_read |