Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/iommu/generic_pt/fmt/iommu_x86_64.c _pt_top_range() -> x86_64_pt_num_items_lg2()

Type Parameter Key Value
PARAM_VALUE 0 pts 5443332466129199104
PARAM_VALUE 0 pts->end_index 0
PARAM_VALUE 0 pts->entry 0
PARAM_VALUE 0 pts->index 0
PARAM_VALUE 0 pts->level 0-3,5-7
PARAM_VALUE 0 pts->range 4462815836043595776
PARAM_VALUE 0 pts->table 0
PARAM_VALUE 0 pts->table_lower 0
PARAM_VALUE 0 pts->type 0
RX_PATH
TASK_NOT_RUNNING

drivers/iommu/generic_pt/fmt/iommu_x86_64.c pt_init_common() -> x86_64_pt_num_items_lg2()

Type Parameter Key Value
PARAM_VALUE 0 pts 720341310902427648
PARAM_VALUE 0 pts->end_index 0
PARAM_VALUE 0 pts->entry 0
PARAM_VALUE 0 pts->index 0
PARAM_VALUE 0 pts->level 0-3
PARAM_VALUE 0 pts->range 9011506717851074560
PARAM_VALUE 0 pts->table 0
PARAM_VALUE 0 pts->table_lower 0
PARAM_VALUE 0 pts->type 0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ioas->mutex

drivers/iommu/generic_pt/fmt/iommu_x86_64.c pt_range_to_end_index() -> x86_64_pt_num_items_lg2()

Type Parameter Key Value
PARAM_VALUE 0 pts 796131875728408576,3034762744903032832,8120072070299070464,8512051657660801024
PARAM_VALUE 0 pts->range 4096-ptr_max
CAPPED_DATA 0 pts->level 1
DATA_SOURCE 0 pts $0
PARAM_COMPARE 0 pts->level != $0->range->top_level
RX_PATH
TASK_NOT_RUNNING

drivers/iommu/generic_pt/fmt/iommu_x86_64.c pt_range_to_index() -> x86_64_pt_num_items_lg2()

Type Parameter Key Value
PARAM_VALUE 0 pts 796131875728408576,1882941498729287680,3034762744903032832,8120072070299070464,8512051657660801024
PARAM_VALUE 0 pts->range 4096-ptr_max
CAPPED_DATA 0 pts->level 1
DATA_SOURCE 0 pts $0
PARAM_COMPARE 0 pts->level != $0->range->top_level
RX_PATH
TASK_NOT_RUNNING

drivers/iommu/generic_pt/fmt/iommu_x86_64.c pt_table_oa_lg2sz() -> x86_64_pt_num_items_lg2()

Type Parameter Key Value
PARAM_VALUE 0 pts 796131875728408576,3034762744903032832,7503989655648866304,8120072070299070464,8512051657660801024
PARAM_VALUE 0 pts->range 4096-ptr_max
PARAM_VALUE 0 pts->range->common 4096-ptr_max
PARAM_VALUE 0 pts->type 0-2
DATA_SOURCE 0 pts $0
PARAM_COMPARE 0 pts->level != $0->range->top_level
RX_PATH
TASK_NOT_RUNNING

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

Type Parameter Key Value
PARAM_VALUE 0 pts 1448586573436174336
RX_PATH
TASK_NOT_RUNNING

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

Type Parameter Key Value
PARAM_VALUE 0 pts 881344534487732224
RX_PATH
TASK_NOT_RUNNING