Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/iommu/generic_pt/fmt/iommu_amdv1.c table_alloc_top() -> pt_top_memsize_lg2()

Type Parameter Key Value
PARAM_VALUE 0 common 4096-ptr_max
PARAM_VALUE 0 common->max_vasz_lg2 1-255
BUF_SIZE 0 common 16
CAPPED_DATA 0 common->max_vasz_lg2 1
DATA_SOURCE 0 common $0
DATA_SOURCE 1 top_of_table $1
RX_PATH
TASK_NOT_RUNNING

drivers/iommu/generic_pt/fmt/iommu_x86_64.c table_alloc_top() -> pt_top_memsize_lg2()

Type Parameter Key Value
PARAM_VALUE 0 common 4096-ptr_max
PARAM_VALUE 0 common->max_vasz_lg2 1-255
BUF_SIZE 0 common 16
DATA_SOURCE 0 common $0
DATA_SOURCE 1 top_of_table $1
RX_PATH
TASK_NOT_RUNNING

drivers/iommu/generic_pt/fmt/iommu_mock.c table_alloc_top() -> pt_top_memsize_lg2()

Type Parameter Key Value
PARAM_VALUE 0 common 4096-ptr_max
PARAM_VALUE 0 common->max_vasz_lg2 1-255
BUF_SIZE 0 common 16
DATA_SOURCE 0 common $0
DATA_SOURCE 1 top_of_table $1
RX_PATH
TASK_NOT_RUNNING

drivers/iommu/generic_pt/fmt/iommu_riscv64.c table_alloc_top() -> pt_top_memsize_lg2()

Type Parameter Key Value
PARAM_VALUE 0 common 4096-ptr_max
PARAM_VALUE 0 common->max_vasz_lg2 1-255
BUF_SIZE 0 common 16
CAPPED_DATA 0 common->max_vasz_lg2 1
DATA_SOURCE 0 common $0
DATA_SOURCE 1 top_of_table $1
RX_PATH
TASK_NOT_RUNNING

drivers/iommu/generic_pt/fmt/iommu_vtdss.c table_alloc_top() -> pt_top_memsize_lg2()

Type Parameter Key Value
PARAM_VALUE 0 common 4096-ptr_max
PARAM_VALUE 0 common->max_vasz_lg2 1-255
BUF_SIZE 0 common 16
DATA_SOURCE 0 common $0
DATA_SOURCE 1 top_of_table $1
RX_PATH
TASK_NOT_RUNNING