Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
kernel/kexec_file.c kimage_file_alloc_init() -> sanity_check_segment_list()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | image | 4096-ptr_max |
| PARAM_VALUE | 0 | image->control_pages.next | 4096-ptr_max |
| PARAM_VALUE | 0 | image->control_pages.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | image->control_pages.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | image->control_pages.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | image->control_pages.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | image->dest_pages.next | 4096-ptr_max |
| PARAM_VALUE | 0 | image->dest_pages.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | image->dest_pages.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | image->dest_pages.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | image->dest_pages.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | image->elfcorehdr_index | (-1) |
| PARAM_VALUE | 0 | image->elfcorehdr_updated | 0 |
| PARAM_VALUE | 0 | image->entry | 4096-ptr_max |
| PARAM_VALUE | 0 | image->file_mode | 1 |
| PARAM_VALUE | 0 | image->fops->cleanup | 8067600598966484992 |
| PARAM_VALUE | 0 | image->fops->load | 2007869256418107392 |
| PARAM_VALUE | 0 | image->fops->probe | 8529642297517760512 |
| PARAM_VALUE | 0 | image->fops->verify_sig | 1345924272597557248 |
| PARAM_VALUE | 0 | image->hp_action | 0 |
| PARAM_VALUE | 0 | image->last_entry | 4096-ptr_max |
| PARAM_VALUE | 0 | image->unusable_pages.next | 4096-ptr_max |
| PARAM_VALUE | 0 | image->unusable_pages.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | image->unusable_pages.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | image->unusable_pages.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | image->unusable_pages.prev->prev | 4096-ptr_max |
| BUF_SIZE | 0 | image | 1008 |
| DATA_SOURCE | 0 | image | r do_kimage_alloc_init |
kernel/kexec.c kimage_alloc_init() -> sanity_check_segment_list()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | image | 4096-ptr_max |
| PARAM_VALUE | 0 | image->control_pages.next | 4096-ptr_max |
| PARAM_VALUE | 0 | image->control_pages.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | image->control_pages.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | image->control_pages.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | image->control_pages.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | image->dest_pages.next | 4096-ptr_max |
| PARAM_VALUE | 0 | image->dest_pages.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | image->dest_pages.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | image->dest_pages.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | image->dest_pages.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | image->elfcorehdr_index | (-1) |
| PARAM_VALUE | 0 | image->elfcorehdr_updated | 0 |
| PARAM_VALUE | 0 | image->entry | 4096-ptr_max |
| PARAM_VALUE | 0 | image->hp_action | 0 |
| PARAM_VALUE | 0 | image->last_entry | 4096-ptr_max |
| PARAM_VALUE | 0 | image->nr_segments | 1-16 |
| PARAM_VALUE | 0 | image->unusable_pages.next | 4096-ptr_max |
| PARAM_VALUE | 0 | image->unusable_pages.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | image->unusable_pages.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | image->unusable_pages.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | image->unusable_pages.prev->prev | 4096-ptr_max |
| BUF_SIZE | 0 | image | 1008 |
| CAPPED_DATA | 0 | image->nr_segments | 1 |
| DATA_SOURCE | 0 | image | r do_kimage_alloc_init |
| USER_DATA | 0 | image->nr_segments | 1-16[c] |
| USER_DATA | 0 | image->start | 0-u64max |