Defined in 1 files as a prototype:

Defined in 12 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/iommu/dma-iommu.c __iommu_dma_alloc_noncontiguous() -> arch_dma_prep_coherent()

Type Parameter Key Value
PARAM_VALUE 0 page 0,4-u64max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/iommu/dma-iommu.c iommu_dma_alloc_pages() -> arch_dma_prep_coherent()

Type Parameter Key Value
PARAM_VALUE 0 page 1-u64max
BUF_SIZE 0 page 0,4096-u64max
BUF_SIZE 0 page 0,4096-u64max
DATA_SOURCE 1 size $1
NOCHECK_CALL

kernel/dma/pool.c atomic_pool_expand() -> arch_dma_prep_coherent()

Type Parameter Key Value
PARAM_VALUE 0 page 1-u64max
PARAM_VALUE 1 size 0-s32max,18446744071562067968-u64max
BIT_INFO 1 size 0x0,0xffffffff
BIT_INFO 1 size 0x0,0xffffffff
NOCHECK_CALL

kernel/dma/direct.c dma_direct_alloc() -> arch_dma_prep_coherent()

Type Parameter Key Value
PARAM_VALUE 0 page 1-u64max
PARAM_VALUE 1 size 0,4096-u64max
BUF_SIZE 0 page s32min-s32max
BIT_INFO 1 size 0x0,0xfffffffffffff000
BIT_INFO 1 size 0x0,0xfffffffffffff000
NOCHECK_CALL

kernel/dma/direct.c dma_direct_alloc() -> arch_dma_prep_coherent()

Type Parameter Key Value
PARAM_VALUE 0 page 1-u64max
PARAM_VALUE 1 size 0,4096-u64max
BUF_SIZE 0 page s32min-s32max
BIT_INFO 1 size 0x0,0xfffffffffffff000
BIT_INFO 1 size 0x0,0xfffffffffffff000
NOCHECK_CALL

kernel/dma/direct.c dma_direct_alloc_no_mapping() -> arch_dma_prep_coherent()

Type Parameter Key Value
PARAM_VALUE 0 page 1-u64max
PARAM_VALUE 1 size 0,4096-u64max
BUF_SIZE 0 page s32min-s32max
DATA_SOURCE 0 page r __dma_direct_alloc_pages
DATA_SOURCE 1 size $1
BIT_INFO 1 size 0x0,0xfffffffffffff000
BIT_INFO 1 size 0x0,0xfffffffffffff000
NOCHECK_CALL