Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 1 size 1-u32max,18446744073707454465-u64max
PARAM_VALUE 2 count 3969910673928241152
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 addr 0-u64max[c]
USER_DATA 0 addr 0-u64max[c]
UNITS 1 size unit_byte
HALF_LOCKED2 obj->resv

drivers/gpu/drm/panfrost/panfrost_mmu.c mmu_unmap_range() -> get_pgsize()

Type Parameter Key Value
PARAM_VALUE 1 size 1-u64max
PARAM_VALUE 2 count 5624702154593320960
DATA_SOURCE 0 addr $1
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 addr 0-u64max[c]
HOST_DATA 1 size 1-9223372036854775807[c]
HOST_DATA 2 *count 0-4503599627370495[c]
USER_DATA 0 addr 0-u64max[c]
USER_DATA 1 size 1-9223372036854775807[c]
USER_DATA 2 *count 0-4503599627370495[c]
UNITS 0 addr unit_byte
USER_PTR 2 count
HALF_LOCKED2 obj->resv

drivers/gpu/drm/panfrost/panfrost_mmu.c panfrost_mmu_unmap() -> get_pgsize()

Type Parameter Key Value
PARAM_VALUE 1 size 1-u64max
PARAM_VALUE 2 count 2882876625028227072
RX_PATH
TASK_NOT_RUNNING
UNITS 0 addr unit_byte
UNITS 1 size unit_byte
HALF_LOCKED2 &bo->mappings.lock
HALF_LOCKED2 &pfdev->shrinker_lock
HALF_LOCKED2 shmem->base.resv

drivers/gpu/drm/panthor/panthor_mmu.c panthor_vm_map_pages() -> get_pgsize()

Type Parameter Key Value
PARAM_VALUE 1 size 1-u64max
PARAM_VALUE 2 count 1868482303080738816
NOSPEC 1 size
NOSPEC 1 size
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 addr 0-u64max[c]
USER_DATA 1 size 1-u32max[c]
UNITS 1 size unit_byte
HALF_LOCKED2 &vm->op_lock

drivers/gpu/drm/panthor/panthor_mmu.c panthor_vm_unmap_pages() -> get_pgsize()

Type Parameter Key Value
PARAM_VALUE 1 size 1-u64max
PARAM_VALUE 2 count 1100812152387289088
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 size 1-u64max[c]
UNITS 0 addr unit_byte
UNITS 1 size unit_byte
HALF_LOCKED2 &bo->base.gpuva.lock
HALF_LOCKED2 &vm->op_lock