Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

kernel/kexec_core.c kimage_alloc_normal_control_pages() -> kimage_is_destination_range()

Type Parameter Key Value
PARAM_VALUE 0 image 4096-ptr_max
PARAM_VALUE 1 start 0,4096-18446744073709547520
PARAM_VALUE 2 end 4095-13835058055265390591,u64max
BUF_SIZE 0 image (-1),1008
BUF_SIZE 0 image (-1),1008
DATA_SOURCE 0 image $0
BIT_INFO 1 start 0x0,0xfffffffffffff000
BIT_INFO 1 start 0x0,0xfffffffffffff000
NOSPEC 0 image->nr_segments
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 image->nr_segments 1-16[c]
USER_DATA 0 image->start 0-u64max
UNITS 1 start unit_byte
UNITS 2 end unit_byte

kernel/kexec_core.c kimage_alloc_page() -> kimage_is_destination_range()

Type Parameter Key Value
PARAM_VALUE 0 image 4096-ptr_max
PARAM_VALUE 0 image->nr_segments 1-u64max
PARAM_VALUE 0 image->segment 4096-ptr_max
PARAM_VALUE 1 start 0,4096-18446744073709547520
PARAM_VALUE 2 end 4095
CAPPED_DATA 0 image->entry 1
CAPPED_DATA 0 image->last_entry 1
CAPPED_DATA 0 image->nr_segments 1
CAPPED_DATA 0 &image->dest_pages 1
CAPPED_DATA 1 start 1
CAPPED_DATA 1 start 1
DATA_SOURCE 0 image $0
BIT_INFO 1 start 0x0,0xfffffffffffff000
BIT_INFO 1 start 0x0,0xfffffffffffff000
NOSPEC 0 image->nr_segments
USER_DATA 0 image->nr_segments 1-16[c]
USER_DATA 0 image->start 0-u64max
UNITS 1 start unit_byte
UNITS 2 end unit_byte

kernel/kexec_file.c kexec_alloc_contig() -> kimage_is_destination_range()

Type Parameter Key Value
PARAM_VALUE 0 image 4096-ptr_max
PARAM_VALUE 0 image->nr_segments 0-15
PARAM_VALUE 1 start 0,4096-18446744073709547520
PARAM_VALUE 2 end 0,4096-u64max
CAPPED_DATA 0 image->nr_segments 1
BIT_INFO 1 start 0x0,0xfffffffffffff000
BIT_INFO 1 start 0x0,0xfffffffffffff000
HARD_MAX 0 image->nr_segments 15
USER_DATA 2 end 0,4096-18446744073709547520[c]
UNITS 1 start unit_byte
UNITS 2 end unit_byte

kernel/kexec_file.c locate_mem_hole_bottom_up() -> kimage_is_destination_range()

Type Parameter Key Value
CAPPED_DATA 1 start 1
CAPPED_DATA 1 start 1
CAPPED_DATA 2 end 1
CAPPED_DATA 2 end 1
UNITS 1 start unit_byte
UNITS 2 end unit_byte

kernel/kexec_file.c locate_mem_hole_top_down() -> kimage_is_destination_range()

Type Parameter Key Value
CAPPED_DATA 1 start 1
CAPPED_DATA 1 start 1
CAPPED_DATA 2 end 1
CAPPED_DATA 2 end 1
UNITS 1 start unit_byte
UNITS 2 end unit_byte