Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 13 files:

Smatch caller information:

drivers/iommu/io-pgtable-arm-selftests.c arm_lpae_run_tests() -> alloc_io_pgtable_ops()

Type Parameter Key Value
PARAM_VALUE 1 cfg 6709138947440115712
PARAM_VALUE 1 cfg->alloc 0
PARAM_VALUE 1 cfg->amd.nid 0
PARAM_VALUE 1 cfg->arm_lpae_s1_cfg.tcr.ips 0-u32max
PARAM_VALUE 1 cfg->arm_lpae_s1_cfg.tcr.irgn 0-u32max
PARAM_VALUE 1 cfg->arm_lpae_s1_cfg.tcr.orgn 0-u32max
PARAM_VALUE 1 cfg->arm_lpae_s1_cfg.tcr.sh 0-u32max
PARAM_VALUE 1 cfg->arm_lpae_s2_cfg.vtcr.irgn 0-u32max
PARAM_VALUE 1 cfg->arm_lpae_s2_cfg.vtcr.orgn 0-u32max
PARAM_VALUE 1 cfg->arm_lpae_s2_cfg.vtcr.ps 0-u32max
PARAM_VALUE 1 cfg->arm_lpae_s2_cfg.vtcr.sh 0-u32max
PARAM_VALUE 1 cfg->arm_mali_lpae_cfg.memattr 0-u32max
PARAM_VALUE 1 cfg->arm_v7s_cfg.nmrr 0-u32max
PARAM_VALUE 1 cfg->coherent_walk 1
PARAM_VALUE 1 cfg->free 0
PARAM_VALUE 1 cfg->tlb 8032062045186531328
PARAM_VALUE 2 cookie 6709138947440115712
DATA_SOURCE 1 cfg $1
DATA_SOURCE 2 cookie $1

drivers/gpu/drm/panfrost/panfrost_mmu.c panfrost_mmu_ctx_create() -> alloc_io_pgtable_ops()

Type Parameter Key Value
PARAM_VALUE 0 fmt 2,5
PARAM_VALUE 1 cfg 4096-ptr_max
PARAM_VALUE 2 cookie 4096-ptr_max
BUF_SIZE 2 cookie 496
DATA_SOURCE 2 cookie r _kzalloc_noprof
FUZZY_MAX 0 fmt 5
CAPABLE 0 21
HARD_MAX 0 fmt 5
RX_PATH
TASK_NOT_RUNNING

drivers/iommu/arm/arm-smmu/qcom_iommu.c qcom_iommu_init_domain() -> alloc_io_pgtable_ops()

Type Parameter Key Value
PARAM_VALUE 0 fmt 0
PARAM_VALUE 1 cfg 5394126930181279744
PARAM_VALUE 2 cookie 4096-ptr_max
DATA_SOURCE 2 cookie r to_qcom_iommu_domain
LOCK2 &qcom_domain->init_mutex
TYPE_LOCK (struct qcom_iommu_domain)->init_mutex

drivers/iommu/mtk_iommu.c mtk_iommu_domain_finalise() -> alloc_io_pgtable_ops()

Type Parameter Key Value
PARAM_VALUE 0 fmt 4
PARAM_VALUE 1 cfg 4096-ptr_max
PARAM_VALUE 1 cfg->oas 32-33,35
PARAM_VALUE 2 cookie 4096-ptr_max
DATA_SOURCE 2 cookie $1
LOCK2 &data->mutex
LOCK2 &dom->mutex
TYPE_LOCK (struct mtk_iommu_data)->mutex
TYPE_LOCK (struct mtk_iommu_domain)->mutex

drivers/iommu/arm/arm-smmu/arm-smmu.c arm_smmu_init_domain_context() -> alloc_io_pgtable_ops()

Type Parameter Key Value
PARAM_VALUE 0 fmt 0-4
PARAM_VALUE 1 cfg 2669633626857558016
PARAM_VALUE 2 cookie 4096-ptr_max
DATA_SOURCE 2 cookie $0
FUZZY_MAX 0 fmt 4
HARD_MAX 0 fmt 4
LOCK2 &smmu_domain->init_mutex
TYPE_LOCK (struct arm_smmu_domain)->init_mutex

drivers/gpu/drm/msm/msm_iommu.c msm_iommu_pagetable_create() -> alloc_io_pgtable_ops()

Type Parameter Key Value
PARAM_VALUE 0 fmt 2
PARAM_VALUE 1 cfg 6034889832878948352
PARAM_VALUE 1 cfg->tlb 8361794809037221888
PARAM_VALUE 2 cookie 4096-ptr_max
BUF_SIZE 2 cookie 112
DATA_SOURCE 2 cookie r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING
LOCK2 &init_lock
HALF_LOCKED2 &gpu->lock

drivers/iommu/apple-dart.c apple_dart_finalize_domain() -> alloc_io_pgtable_ops()

Type Parameter Key Value
PARAM_VALUE 1 cfg 2209659957426323456
PARAM_VALUE 2 cookie 4096-ptr_max
BUF_SIZE 2 cookie 112
RX_PATH
TASK_NOT_RUNNING
LOCK2 &dart_domain->init_lock
TYPE_LOCK (struct apple_dart_domain)->init_lock

drivers/iommu/ipmmu-vmsa.c ipmmu_domain_init_context() -> alloc_io_pgtable_ops()

Type Parameter Key Value
PARAM_VALUE 0 fmt 0
PARAM_VALUE 1 cfg 4096-ptr_max
PARAM_VALUE 1 cfg->coherent_walk 0
PARAM_VALUE 1 cfg->ias 32
PARAM_VALUE 1 cfg->oas 40
PARAM_VALUE 1 cfg->quirks 1
PARAM_VALUE 1 cfg->tlb 3950522081441722368
PARAM_VALUE 2 cookie 4096-ptr_max
DATA_SOURCE 2 cookie $0
LOCK2 &domain->mutex
TYPE_LOCK (struct ipmmu_vmsa_domain)->mutex

drivers/gpu/drm/panthor/panthor_mmu.c panthor_vm_create() -> alloc_io_pgtable_ops()

Type Parameter Key Value
PARAM_VALUE 0 fmt 2
PARAM_VALUE 1 cfg 6905232661415030784
PARAM_VALUE 2 cookie 4096-ptr_max
BUF_SIZE 2 cookie 2304
DATA_SOURCE 2 cookie r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &drm_unplug_srcu

drivers/iommu/io-pgtable-arm-v7s.c arm_v7s_do_selftests() -> alloc_io_pgtable_ops()

Type Parameter Key Value
PARAM_VALUE 0 fmt 4
PARAM_VALUE 1 cfg 3715442029480312832
PARAM_VALUE 1 cfg->alloc 0
PARAM_VALUE 1 cfg->amd.nid 0
PARAM_VALUE 1 cfg->apple_dart_cfg.n_levels 0
PARAM_VALUE 1 cfg->apple_dart_cfg.n_ttbrs 0
PARAM_VALUE 1 cfg->arm_lpae_s1_cfg.mair 0
PARAM_VALUE 1 cfg->arm_lpae_s1_cfg.tcr.ips 0
PARAM_VALUE 1 cfg->arm_lpae_s1_cfg.tcr.irgn 0
PARAM_VALUE 1 cfg->arm_lpae_s1_cfg.tcr.orgn 0
PARAM_VALUE 1 cfg->arm_lpae_s1_cfg.tcr.sh 0
PARAM_VALUE 1 cfg->arm_lpae_s1_cfg.tcr.tg 0
PARAM_VALUE 1 cfg->arm_lpae_s1_cfg.tcr.tsz 0
PARAM_VALUE 1 cfg->arm_lpae_s1_cfg.ttbr 0
PARAM_VALUE 1 cfg->arm_lpae_s2_cfg.vtcr.irgn 0
PARAM_VALUE 1 cfg->arm_lpae_s2_cfg.vtcr.orgn 0
PARAM_VALUE 1 cfg->arm_lpae_s2_cfg.vtcr.ps 0
PARAM_VALUE 1 cfg->arm_lpae_s2_cfg.vtcr.sh 0
PARAM_VALUE 1 cfg->arm_lpae_s2_cfg.vtcr.sl 0
PARAM_VALUE 1 cfg->arm_lpae_s2_cfg.vtcr.tg 0
PARAM_VALUE 1 cfg->arm_lpae_s2_cfg.vtcr.tsz 0
PARAM_VALUE 1 cfg->arm_lpae_s2_cfg.vttbr 0
PARAM_VALUE 1 cfg->arm_mali_lpae_cfg.memattr 0
PARAM_VALUE 1 cfg->arm_mali_lpae_cfg.transtab 0
PARAM_VALUE 1 cfg->arm_v7s_cfg.nmrr 0
PARAM_VALUE 1 cfg->arm_v7s_cfg.prrr 0
PARAM_VALUE 1 cfg->arm_v7s_cfg.tcr 0
PARAM_VALUE 1 cfg->arm_v7s_cfg.ttbr 0
PARAM_VALUE 1 cfg->coherent_walk 1
PARAM_VALUE 1 cfg->free 0
PARAM_VALUE 1 cfg->ias 32
PARAM_VALUE 1 cfg->oas 32
PARAM_VALUE 1 cfg->pgsize_bitmap 17895424
PARAM_VALUE 1 cfg->quirks 1
PARAM_VALUE 1 cfg->tlb 8831666184710787072
PARAM_VALUE 2 cookie 3715442029480312832
BUF_SIZE 2 cookie 104