Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 common 4096-ptr_max
PARAM_VALUE 0 common->max_vasz_lg2 1-255
PARAM_VALUE 1 top_of_table 0-5
PARAM_VALUE 2 gfp 0,2080,3264,8192-u32max
PARAM_VALUE 3 mode 1
BUF_SIZE 0 common 16
DATA_SOURCE 0 common r common_from_iommu
RX_PATH
TASK_NOT_RUNNING

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

Type Parameter Key Value
PARAM_VALUE 0 common 4096-ptr_max
PARAM_VALUE 0 common->features 388,404,420
PARAM_VALUE 0 common->max_oasz_lg2 52
PARAM_VALUE 0 common->max_vasz_lg2 1-64
PARAM_VALUE 2 gfp 3264
PARAM_VALUE 3 mode 0
BUF_SIZE 0 common 16
CAPPED_DATA 0 common->max_vasz_lg2 1
DATA_SOURCE 0 common r common_from_iommu
DATA_SOURCE 2 gfp $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ioas->mutex

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

Type Parameter Key Value
PARAM_VALUE 0 common 4096-ptr_max
PARAM_VALUE 0 common->max_vasz_lg2 1-255
PARAM_VALUE 1 top_of_table 0-4
PARAM_VALUE 2 gfp 0,2080,3264,8192-u32max
PARAM_VALUE 3 mode 1
BUF_SIZE 0 common 16
DATA_SOURCE 0 common r common_from_iommu
RX_PATH
TASK_NOT_RUNNING

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

Type Parameter Key Value
PARAM_VALUE 0 common 4096-ptr_max
PARAM_VALUE 0 common->features 24-25,144,160
PARAM_VALUE 0 common->max_oasz_lg2 52
PARAM_VALUE 0 common->max_vasz_lg2 1-57
PARAM_VALUE 2 gfp 3264
PARAM_VALUE 3 mode 0
BUF_SIZE 0 common 16
DATA_SOURCE 0 common r common_from_iommu
DATA_SOURCE 2 gfp $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ioas->mutex

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

Type Parameter Key Value
PARAM_VALUE 0 common 4096-ptr_max
PARAM_VALUE 0 common->max_vasz_lg2 1-255
PARAM_VALUE 1 top_of_table 0-4
PARAM_VALUE 2 gfp 0,2080,3264,8192-u32max
PARAM_VALUE 3 mode 1
BUF_SIZE 0 common 16
DATA_SOURCE 0 common r common_from_iommu
RX_PATH
TASK_NOT_RUNNING

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

Type Parameter Key Value
PARAM_VALUE 0 common 4096-ptr_max
PARAM_VALUE 0 common->features 0,2
PARAM_VALUE 0 common->max_oasz_lg2 51
PARAM_VALUE 0 common->max_vasz_lg2 56
PARAM_VALUE 2 gfp 3264
PARAM_VALUE 3 mode 0
BUF_SIZE 0 common 16
DATA_SOURCE 0 common r common_from_iommu
DATA_SOURCE 2 gfp $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ioas->mutex

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

Type Parameter Key Value
PARAM_VALUE 0 common 4096-ptr_max
PARAM_VALUE 0 common->max_vasz_lg2 1-255
PARAM_VALUE 1 top_of_table 0-4
PARAM_VALUE 2 gfp 0,2080,3264,8192-u32max
PARAM_VALUE 3 mode 1
BUF_SIZE 0 common 16
DATA_SOURCE 0 common r common_from_iommu
RX_PATH
TASK_NOT_RUNNING

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

Type Parameter Key Value
PARAM_VALUE 0 common 4096-ptr_max
PARAM_VALUE 0 common->features 216,472
PARAM_VALUE 0 common->max_oasz_lg2 56
PARAM_VALUE 0 common->max_vasz_lg2 39,48,57
PARAM_VALUE 2 gfp 3264
PARAM_VALUE 3 mode 0
BUF_SIZE 0 common 16
CAPPED_DATA 0 common->max_vasz_lg2 1
DATA_SOURCE 0 common r common_from_iommu
DATA_SOURCE 2 gfp $2
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 increase_top() -> table_alloc_top()

Type Parameter Key Value
PARAM_VALUE 0 common 4096-ptr_max
PARAM_VALUE 0 common->max_vasz_lg2 1-255
PARAM_VALUE 1 top_of_table 0-4
PARAM_VALUE 2 gfp 0,2080,3264,8192-u32max
PARAM_VALUE 3 mode 1
BUF_SIZE 0 common 16
DATA_SOURCE 0 common r common_from_iommu
RX_PATH
TASK_NOT_RUNNING

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

Type Parameter Key Value
PARAM_VALUE 0 common 4096-ptr_max
PARAM_VALUE 0 common->features 16-17,272-273
PARAM_VALUE 0 common->max_oasz_lg2 52
PARAM_VALUE 0 common->max_vasz_lg2 31-57
PARAM_VALUE 2 gfp 3264
PARAM_VALUE 3 mode 0
BUF_SIZE 0 common 16
DATA_SOURCE 0 common r common_from_iommu
DATA_SOURCE 2 gfp $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ioas->mutex