Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/iommu/generic_pt/fmt/iommu_amdv1.c pt_iommu_amdv1_init() -> pt_top_get_level()

Type Parameter Key Value
PARAM_VALUE 0 common 4096-ptr_max
BUF_SIZE 0 common 16
CAPPED_DATA 0 common->max_vasz_lg2 1
DATA_SOURCE 0 common r common_from_iommu
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ioas->mutex

drivers/iommu/generic_pt/fmt/iommu_x86_64.c pt_iommu_x86_64_init() -> pt_top_get_level()

Type Parameter Key Value
PARAM_VALUE 0 common 4096-ptr_max
BUF_SIZE 0 common 16
DATA_SOURCE 0 common r common_from_iommu
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ioas->mutex

drivers/iommu/generic_pt/fmt/iommu_mock.c pt_iommu_amdv1_mock_init() -> pt_top_get_level()

Type Parameter Key Value
PARAM_VALUE 0 common 4096-ptr_max
BUF_SIZE 0 common 16
DATA_SOURCE 0 common r common_from_iommu
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ioas->mutex

drivers/iommu/generic_pt/fmt/iommu_riscv64.c pt_iommu_riscv_64_init() -> pt_top_get_level()

Type Parameter Key Value
PARAM_VALUE 0 common 4096-ptr_max
BUF_SIZE 0 common 16
CAPPED_DATA 0 common->max_vasz_lg2 1
DATA_SOURCE 0 common r common_from_iommu
BIT_INFO 0 common->max_vasz_lg2 0x20,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &group->mutex

drivers/iommu/generic_pt/fmt/iommu_vtdss.c pt_iommu_vtdss_init() -> pt_top_get_level()

Type Parameter Key Value
PARAM_VALUE 0 common 4096-ptr_max
BUF_SIZE 0 common 16
DATA_SOURCE 0 common r common_from_iommu
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ioas->mutex