Defined in 4 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/iommu/generic_pt/fmt/iommu_amdv1.c amdv1_deinit() -> common_from_iommu()

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
DATA_SOURCE 0 iommu_table $0
RX_PATH
TASK_NOT_RUNNING

drivers/iommu/generic_pt/fmt/iommu_amdv1.c amdv1_get_info() -> common_from_iommu()

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
BUF_SIZE 0 iommu_table 144
DATA_SOURCE 0 iommu_table $0
RX_PATH
TASK_NOT_RUNNING

drivers/iommu/generic_pt/fmt/iommu_amdv1.c amdv1_map_range() -> common_from_iommu()

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
DATA_SOURCE 0 iommu_table $0
RX_PATH
TASK_NOT_RUNNING

drivers/iommu/generic_pt/fmt/iommu_amdv1.c amdv1_set_dirty() -> common_from_iommu()

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
DATA_SOURCE 0 iommu_table $0

drivers/iommu/generic_pt/fmt/iommu_amdv1.c amdv1_unmap_range() -> common_from_iommu()

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
DATA_SOURCE 0 iommu_table $0
RX_PATH
TASK_NOT_RUNNING

drivers/iommu/generic_pt/fmt/iommu_amdv1.c check_map_range() -> common_from_iommu()

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
DATA_SOURCE 0 iommu_table $0
RX_PATH
TASK_NOT_RUNNING

drivers/iommu/generic_pt/fmt/iommu_amdv1.c gather_range_pending() -> common_from_iommu()

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
BUF_SIZE 0 iommu_table (-1),144
BUF_SIZE 0 iommu_table (-1),144
DATA_SOURCE 0 iommu_table $1
RX_PATH
TASK_NOT_RUNNING

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

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
DATA_SOURCE 0 iommu_table $0
RX_PATH
TASK_NOT_RUNNING

drivers/iommu/generic_pt/fmt/iommu_amdv1.c pt_iommu_amdv1_hw_info() -> common_from_iommu()

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 1-u64max
BUF_SIZE 0 iommu_table 144
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev_data->mutex

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

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
BUF_SIZE 0 iommu_table 144
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ioas->mutex

drivers/iommu/generic_pt/fmt/iommu_amdv1.c pt_iommu_amdv1_iova_to_phys() -> common_from_iommu()

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

drivers/iommu/generic_pt/fmt/iommu_amdv1.c pt_iommu_amdv1_read_and_clear_dirty() -> common_from_iommu()

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
HALF_LOCKED2 &iopt->iova_rwsem

drivers/iommu/generic_pt/fmt/iommu_amdv1.c pt_iommu_init_domain() -> common_from_iommu()

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
BUF_SIZE 0 iommu_table 144
DATA_SOURCE 0 iommu_table $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ioas->mutex

drivers/iommu/generic_pt/fmt/iommu_x86_64.c check_map_range() -> common_from_iommu()

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
DATA_SOURCE 0 iommu_table $0
RX_PATH
TASK_NOT_RUNNING

drivers/iommu/generic_pt/fmt/iommu_x86_64.c gather_range_pending() -> common_from_iommu()

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
BUF_SIZE 0 iommu_table (-1),144
BUF_SIZE 0 iommu_table (-1),144
DATA_SOURCE 0 iommu_table $1
RX_PATH
TASK_NOT_RUNNING

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

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
DATA_SOURCE 0 iommu_table $0
RX_PATH
TASK_NOT_RUNNING

drivers/iommu/generic_pt/fmt/iommu_x86_64.c pt_iommu_init_domain() -> common_from_iommu()

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
BUF_SIZE 0 iommu_table 144
DATA_SOURCE 0 iommu_table $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ioas->mutex

drivers/iommu/generic_pt/fmt/iommu_x86_64.c pt_iommu_x86_64_hw_info() -> common_from_iommu()

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
BUF_SIZE 0 iommu_table 144
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev_data->mutex
HALF_LOCKED2 &group->mutex

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

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
BUF_SIZE 0 iommu_table 144
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ioas->mutex

drivers/iommu/generic_pt/fmt/iommu_x86_64.c pt_iommu_x86_64_iova_to_phys() -> common_from_iommu()

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

drivers/iommu/generic_pt/fmt/iommu_x86_64.c x86_64_deinit() -> common_from_iommu()

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
DATA_SOURCE 0 iommu_table $0
RX_PATH
TASK_NOT_RUNNING

drivers/iommu/generic_pt/fmt/iommu_x86_64.c x86_64_get_info() -> common_from_iommu()

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
BUF_SIZE 0 iommu_table 144
DATA_SOURCE 0 iommu_table $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ioas->mutex

drivers/iommu/generic_pt/fmt/iommu_x86_64.c x86_64_map_range() -> common_from_iommu()

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
DATA_SOURCE 0 iommu_table $0
RX_PATH
TASK_NOT_RUNNING

drivers/iommu/generic_pt/fmt/iommu_x86_64.c x86_64_set_dirty() -> common_from_iommu()

Type Parameter Key Value
DATA_SOURCE 0 iommu_table $0

drivers/iommu/generic_pt/fmt/iommu_x86_64.c x86_64_unmap_range() -> common_from_iommu()

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
DATA_SOURCE 0 iommu_table $0
RX_PATH
TASK_NOT_RUNNING

drivers/iommu/generic_pt/fmt/iommu_mock.c amdv1_mock_deinit() -> common_from_iommu()

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
DATA_SOURCE 0 iommu_table $0
RX_PATH
TASK_NOT_RUNNING

drivers/iommu/generic_pt/fmt/iommu_mock.c amdv1_mock_get_info() -> common_from_iommu()

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
BUF_SIZE 0 iommu_table 144
DATA_SOURCE 0 iommu_table $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ioas->mutex

drivers/iommu/generic_pt/fmt/iommu_mock.c amdv1_mock_map_range() -> common_from_iommu()

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
DATA_SOURCE 0 iommu_table $0
RX_PATH
TASK_NOT_RUNNING

drivers/iommu/generic_pt/fmt/iommu_mock.c amdv1_mock_set_dirty() -> common_from_iommu()

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
DATA_SOURCE 0 iommu_table $0

drivers/iommu/generic_pt/fmt/iommu_mock.c amdv1_mock_unmap_range() -> common_from_iommu()

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
DATA_SOURCE 0 iommu_table $0
RX_PATH
TASK_NOT_RUNNING

drivers/iommu/generic_pt/fmt/iommu_mock.c check_map_range() -> common_from_iommu()

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
DATA_SOURCE 0 iommu_table $0
RX_PATH
TASK_NOT_RUNNING

drivers/iommu/generic_pt/fmt/iommu_mock.c gather_range_pending() -> common_from_iommu()

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
BUF_SIZE 0 iommu_table (-1),144
BUF_SIZE 0 iommu_table (-1),144
DATA_SOURCE 0 iommu_table $1
RX_PATH
TASK_NOT_RUNNING

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

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
DATA_SOURCE 0 iommu_table $0
RX_PATH
TASK_NOT_RUNNING

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

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
BUF_SIZE 0 iommu_table 144
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ioas->mutex

drivers/iommu/generic_pt/fmt/iommu_mock.c pt_iommu_amdv1_mock_iova_to_phys() -> common_from_iommu()

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

drivers/iommu/generic_pt/fmt/iommu_mock.c pt_iommu_amdv1_mock_read_and_clear_dirty() -> common_from_iommu()

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
HALF_LOCKED2 &iopt->iova_rwsem

drivers/iommu/generic_pt/fmt/iommu_mock.c pt_iommu_init_domain() -> common_from_iommu()

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
BUF_SIZE 0 iommu_table 144
DATA_SOURCE 0 iommu_table $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ioas->mutex

drivers/iommu/generic_pt/fmt/iommu_riscv64.c check_map_range() -> common_from_iommu()

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
DATA_SOURCE 0 iommu_table $0
RX_PATH
TASK_NOT_RUNNING

drivers/iommu/generic_pt/fmt/iommu_riscv64.c gather_range_pending() -> common_from_iommu()

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
BUF_SIZE 0 iommu_table (-1),144
BUF_SIZE 0 iommu_table (-1),144
DATA_SOURCE 0 iommu_table $1
RX_PATH
TASK_NOT_RUNNING

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

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
DATA_SOURCE 0 iommu_table $0
RX_PATH
TASK_NOT_RUNNING

drivers/iommu/generic_pt/fmt/iommu_riscv64.c pt_iommu_init_domain() -> common_from_iommu()

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
BUF_SIZE 0 iommu_table 144
DATA_SOURCE 0 iommu_table $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &group->mutex

drivers/iommu/generic_pt/fmt/iommu_riscv64.c pt_iommu_riscv_64_hw_info() -> common_from_iommu()

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
BUF_SIZE 0 iommu_table 144
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &group->mutex

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

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
BUF_SIZE 0 iommu_table 144
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &group->mutex

drivers/iommu/generic_pt/fmt/iommu_riscv64.c pt_iommu_riscv_64_iova_to_phys() -> common_from_iommu()

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

drivers/iommu/generic_pt/fmt/iommu_riscv64.c riscv_64_deinit() -> common_from_iommu()

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
DATA_SOURCE 0 iommu_table $0
RX_PATH
TASK_NOT_RUNNING

drivers/iommu/generic_pt/fmt/iommu_riscv64.c riscv_64_get_info() -> common_from_iommu()

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
BUF_SIZE 0 iommu_table 144
DATA_SOURCE 0 iommu_table $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &group->mutex

drivers/iommu/generic_pt/fmt/iommu_riscv64.c riscv_64_map_range() -> common_from_iommu()

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
DATA_SOURCE 0 iommu_table $0
RX_PATH
TASK_NOT_RUNNING

drivers/iommu/generic_pt/fmt/iommu_riscv64.c riscv_64_set_dirty() -> common_from_iommu()

Type Parameter Key Value
DATA_SOURCE 0 iommu_table $0

drivers/iommu/generic_pt/fmt/iommu_riscv64.c riscv_64_unmap_range() -> common_from_iommu()

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
DATA_SOURCE 0 iommu_table $0
RX_PATH
TASK_NOT_RUNNING

drivers/iommu/generic_pt/fmt/iommu_vtdss.c check_map_range() -> common_from_iommu()

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
DATA_SOURCE 0 iommu_table $0
RX_PATH
TASK_NOT_RUNNING

drivers/iommu/generic_pt/fmt/iommu_vtdss.c gather_range_pending() -> common_from_iommu()

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
BUF_SIZE 0 iommu_table (-1),144
BUF_SIZE 0 iommu_table (-1),144
DATA_SOURCE 0 iommu_table $1
RX_PATH
TASK_NOT_RUNNING

drivers/iommu/generic_pt/fmt/iommu_vtdss.c increase_top() -> common_from_iommu()

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
DATA_SOURCE 0 iommu_table $0
RX_PATH
TASK_NOT_RUNNING

drivers/iommu/generic_pt/fmt/iommu_vtdss.c pt_iommu_init_domain() -> common_from_iommu()

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
BUF_SIZE 0 iommu_table 144
DATA_SOURCE 0 iommu_table $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ioas->mutex

drivers/iommu/generic_pt/fmt/iommu_vtdss.c pt_iommu_vtdss_hw_info() -> common_from_iommu()

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
BUF_SIZE 0 iommu_table 144
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &iommu->lock

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

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
BUF_SIZE 0 iommu_table 144
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ioas->mutex

drivers/iommu/generic_pt/fmt/iommu_vtdss.c pt_iommu_vtdss_iova_to_phys() -> common_from_iommu()

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

drivers/iommu/generic_pt/fmt/iommu_vtdss.c pt_iommu_vtdss_read_and_clear_dirty() -> common_from_iommu()

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
HALF_LOCKED2 &iopt->iova_rwsem

drivers/iommu/generic_pt/fmt/iommu_vtdss.c vtdss_deinit() -> common_from_iommu()

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
DATA_SOURCE 0 iommu_table $0
RX_PATH
TASK_NOT_RUNNING

drivers/iommu/generic_pt/fmt/iommu_vtdss.c vtdss_get_info() -> common_from_iommu()

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
BUF_SIZE 0 iommu_table 144
DATA_SOURCE 0 iommu_table $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ioas->mutex

drivers/iommu/generic_pt/fmt/iommu_vtdss.c vtdss_map_range() -> common_from_iommu()

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
DATA_SOURCE 0 iommu_table $0
RX_PATH
TASK_NOT_RUNNING

drivers/iommu/generic_pt/fmt/iommu_vtdss.c vtdss_set_dirty() -> common_from_iommu()

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
DATA_SOURCE 0 iommu_table $0

drivers/iommu/generic_pt/fmt/iommu_vtdss.c vtdss_unmap_range() -> common_from_iommu()

Type Parameter Key Value
PARAM_VALUE 0 iommu_table 4096-ptr_max
DATA_SOURCE 0 iommu_table $0
RX_PATH
TASK_NOT_RUNNING