Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/iommu/dma-iommu.c __dma_iova_link() -> dma_info_to_prot()

Type Parameter Key Value
PARAM_VALUE 1 coherent 1
PARAM_VALUE 2 attrs 0,1024,4096,5120
DATA_SOURCE 0 dir $4
DATA_SOURCE 1 coherent r dev_is_dma_coherent
DATA_SOURCE 2 attrs $5
FUZZY_MAX 2 attrs 4096
BIT_INFO 2 attrs 0x0,0x1400
BIT_INFO 2 attrs 0x0,0x1400
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &gpusvm->notifier_lock
HALF_LOCKED2 &vm->lock

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

Type Parameter Key Value
PARAM_VALUE 0 dir 0
PARAM_VALUE 1 coherent 1
DATA_SOURCE 1 coherent r dev_is_dma_coherent
DATA_SOURCE 2 attrs $4
BIT_INFO 2 attrs 0x0,0xffffffffffffffbf
BIT_INFO 2 attrs 0x0,0xffffffffffffffbf
RX_PATH
TASK_NOT_RUNNING

drivers/iommu/dma-iommu.c iommu_dma_alloc() -> dma_info_to_prot()

Type Parameter Key Value
PARAM_VALUE 0 dir 0
PARAM_VALUE 1 coherent 1
DATA_SOURCE 1 coherent r dev_is_dma_coherent
DATA_SOURCE 2 attrs $4
BIT_INFO 2 attrs 0x0,0xffffffffffffdfff
BIT_INFO 2 attrs 0x0,0xffffffffffffdfff

drivers/iommu/dma-iommu.c iommu_dma_map_phys() -> dma_info_to_prot()

Type Parameter Key Value
PARAM_VALUE 1 coherent 1
DATA_SOURCE 0 dir $3
DATA_SOURCE 1 coherent r dev_is_dma_coherent
DATA_SOURCE 2 attrs $4
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

drivers/iommu/dma-iommu.c iommu_dma_map_sg() -> dma_info_to_prot()

Type Parameter Key Value
PARAM_VALUE 0 dir 0-2
PARAM_VALUE 1 coherent 1
DATA_SOURCE 0 dir $3
DATA_SOURCE 2 attrs $4
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING