Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/iommu/generic_pt/fmt/iommu_amdv1.c table_alloc() -> _table_alloc()

Type Parameter Key Value
PARAM_VALUE 1 lg2sz 0-u32max
PARAM_VALUE 3 mode 0
DATA_SOURCE 2 gfp $1
DATA_SOURCE 3 mode $2
RX_PATH
TASK_NOT_RUNNING

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

Type Parameter Key Value
PARAM_VALUE 0 common 4096-ptr_max
PARAM_VALUE 0 common->max_vasz_lg2 1-255
PARAM_VALUE 1 lg2sz 0-u32max
PARAM_VALUE 2 gfp 0,2080,3264,8192-u32max
PARAM_VALUE 3 mode 0-1
BUF_SIZE 0 common 16
CAPPED_DATA 0 common->max_vasz_lg2 1
DATA_SOURCE 0 common $0
DATA_SOURCE 2 gfp $2
DATA_SOURCE 3 mode $3
BIT_INFO 2 gfp 0x0,0xfffbfff8
HARD_MAX 3 mode 1
RX_PATH
TASK_NOT_RUNNING

drivers/iommu/generic_pt/fmt/iommu_x86_64.c table_alloc() -> _table_alloc()

Type Parameter Key Value
PARAM_VALUE 1 lg2sz 0-u32max
PARAM_VALUE 3 mode 0
DATA_SOURCE 2 gfp $1
DATA_SOURCE 3 mode $2
RX_PATH
TASK_NOT_RUNNING

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

Type Parameter Key Value
PARAM_VALUE 0 common 4096-ptr_max
PARAM_VALUE 0 common->max_vasz_lg2 1-255
PARAM_VALUE 1 lg2sz 0-u32max
PARAM_VALUE 2 gfp 0,2080,3264,8192-u32max
PARAM_VALUE 3 mode 0-1
BUF_SIZE 0 common 16
DATA_SOURCE 0 common $0
DATA_SOURCE 2 gfp $2
DATA_SOURCE 3 mode $3
BIT_INFO 2 gfp 0x0,0xfffbfff8
HARD_MAX 3 mode 1
RX_PATH
TASK_NOT_RUNNING

drivers/iommu/generic_pt/fmt/iommu_mock.c table_alloc() -> _table_alloc()

Type Parameter Key Value
PARAM_VALUE 1 lg2sz 0-u32max
PARAM_VALUE 3 mode 0
DATA_SOURCE 2 gfp $1
DATA_SOURCE 3 mode $2
RX_PATH
TASK_NOT_RUNNING

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

Type Parameter Key Value
PARAM_VALUE 0 common 4096-ptr_max
PARAM_VALUE 0 common->max_vasz_lg2 1-255
PARAM_VALUE 1 lg2sz 0-u32max
PARAM_VALUE 2 gfp 0,2080,3264,8192-u32max
PARAM_VALUE 3 mode 0-1
BUF_SIZE 0 common 16
DATA_SOURCE 0 common $0
DATA_SOURCE 2 gfp $2
DATA_SOURCE 3 mode $3
BIT_INFO 2 gfp 0x0,0xfffbfff8
HARD_MAX 3 mode 1
RX_PATH
TASK_NOT_RUNNING

drivers/iommu/generic_pt/fmt/iommu_riscv64.c table_alloc() -> _table_alloc()

Type Parameter Key Value
PARAM_VALUE 1 lg2sz 0-u32max
PARAM_VALUE 3 mode 0
DATA_SOURCE 2 gfp $1
DATA_SOURCE 3 mode $2
RX_PATH
TASK_NOT_RUNNING

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

Type Parameter Key Value
PARAM_VALUE 0 common 4096-ptr_max
PARAM_VALUE 0 common->max_vasz_lg2 1-255
PARAM_VALUE 1 lg2sz 0-u32max
PARAM_VALUE 2 gfp 0,2080,3264,8192-u32max
PARAM_VALUE 3 mode 0-1
BUF_SIZE 0 common 16
CAPPED_DATA 0 common->max_vasz_lg2 1
DATA_SOURCE 0 common $0
DATA_SOURCE 2 gfp $2
DATA_SOURCE 3 mode $3
BIT_INFO 2 gfp 0x0,0xfffbfff8
HARD_MAX 3 mode 1
RX_PATH
TASK_NOT_RUNNING

drivers/iommu/generic_pt/fmt/iommu_vtdss.c table_alloc() -> _table_alloc()

Type Parameter Key Value
PARAM_VALUE 1 lg2sz 0-u32max
PARAM_VALUE 3 mode 0
DATA_SOURCE 2 gfp $1
DATA_SOURCE 3 mode $2
RX_PATH
TASK_NOT_RUNNING

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

Type Parameter Key Value
PARAM_VALUE 0 common 4096-ptr_max
PARAM_VALUE 0 common->max_vasz_lg2 1-255
PARAM_VALUE 1 lg2sz 0-u32max
PARAM_VALUE 2 gfp 0,2080,3264,8192-u32max
PARAM_VALUE 3 mode 0-1
BUF_SIZE 0 common 16
DATA_SOURCE 0 common $0
DATA_SOURCE 2 gfp $2
DATA_SOURCE 3 mode $3
BIT_INFO 2 gfp 0x0,0xfffbfff8
HARD_MAX 3 mode 1
RX_PATH
TASK_NOT_RUNNING