Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/core/page_pool.c __page_pool_put_page() -> page_pool_dma_sync_for_device()

Type Parameter Key Value
PARAM_VALUE 0 pool->p.dev->dma_io_tlb_mem->can_grow 0-1
BUF_SIZE 0 pool (-1),1984
BUF_SIZE 0 pool (-1),1984
DATA_SOURCE 0 pool $0
DATA_SOURCE 1 netmem $1
DATA_SOURCE 2 dma_sync_size $2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 pool->frag_offset 0-u32max[c]
UNITS 1 netmem unit_byte
UNITS 2 dma_sync_size unit_byte
HALF_LOCKED2 rcu_read

net/core/page_pool.c page_pool_dma_map() -> page_pool_dma_sync_for_device()

Type Parameter Key Value
PARAM_VALUE 0 pool 4096-ptr_max
PARAM_VALUE 0 pool->p.dev->dma_io_tlb_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->dma_io_tlb_pools.next 4096-ptr_max
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->dma_mask 0,4096-ptr_max
PARAM_VALUE 0 pool->p.dev->dma_uses_io_tlb 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.dma_dir 0-2
PARAM_VALUE 0 pool->p.order 0-10
PARAM_VALUE 0 *pool->ring->queue 0
BUF_SIZE 0 pool (-1)-0,1984
BUF_SIZE 0 pool (-1)-0,1984
CAPPED_DATA 0 pool->p.dev 1
DATA_SOURCE 0 pool $0
DATA_SOURCE 1 netmem $1
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_drain_frag() -> page_pool_dma_sync_for_device()

Type Parameter Key Value
PARAM_VALUE 0 pool 4096-ptr_max
PARAM_VALUE 0 pool->frag_page 1-u64max
PARAM_VALUE 0 pool->p.dev->dma_io_tlb_mem->can_grow 0-1
PARAM_VALUE 1 netmem 1-u64max
PARAM_VALUE 2 dma_sync_size u32max
BUF_SIZE 0 pool (-1)-0,1984
BUF_SIZE 0 pool (-1)-0,1984
DATA_SOURCE 0 pool $0
DATA_SOURCE 1 netmem $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 pool->frag_offset 0-u32max[c]