Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/panfrost/panfrost_mmu.c panfrost_mmu_map() -> mmu_map_sg()

Type Parameter Key Value
PARAM_VALUE 0 pfdev 4096-ptr_max
PARAM_VALUE 1 mmu 4096-ptr_max
PARAM_VALUE 1 mmu->mm_lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 iova 0,4096-18446744073709547520
PARAM_VALUE 3 prot 7,15
PARAM_VALUE 4 sgt 1-ptr_max
BUF_SIZE 4 sgt (-1),16
BUF_SIZE 4 sgt (-1),16
CAPPED_DATA 4 sgt 1
DATA_SOURCE 0 pfdev r to_panfrost_device
DATA_SOURCE 4 sgt r drm_gem_shmem_get_pages_sgt
FUZZY_MAX 3 prot 7
BIT_INFO 2 iova 0x0,0xfffffffffffff000
BIT_INFO 3 prot 0x7,0xf
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 iova 0,4096-8796093018112[c]
UNITS 2 iova unit_byte
HALF_LOCKED2 &perfcnt->lock

drivers/gpu/drm/panfrost/panfrost_mmu.c panfrost_mmu_map_fault_addr() -> mmu_map_sg()

Type Parameter Key Value
PARAM_VALUE 0 pfdev 4096-ptr_max
PARAM_VALUE 0 pfdev->as_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 pfdev->base.dev 4096-ptr_max
PARAM_VALUE 0 pfdev->base.dev->dma_io_tlb_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 pfdev->base.dev->dma_mask 0,4096-ptr_max
PARAM_VALUE 0 pfdev->base.dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 1 mmu 4096-ptr_max
PARAM_VALUE 2 iova 0,2097152-u64max
PARAM_VALUE 3 prot 15
PARAM_VALUE 4 sgt 4096-ptr_max
PARAM_VALUE 4 sgt->nents 0-s32max
PARAM_VALUE 4 sgt->sgl 0,16,4096-ptr_max
CAPPED_DATA 0 pfdev->base.dev 1
DATA_SOURCE 0 pfdev $0
DATA_SOURCE 2 iova $2 [m]
BIT_INFO 2 iova 0x0,0xffffffffffe00000
BIT_INFO 2 iova 0x0,0xffffffffffe00000
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 2 iova 0,2097152-u64max[c]
NO_OVERFLOW_SIMPLE 4 sgt->nents
UNITS 2 iova unit_byte
LOCK2 obj->resv
HALF_LOCKED2 _T->lock
HALF_LOCKED2 irq