Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 2 files:
Smatch caller information:
kernel/kexec_core.c kimage_free() -> kimage_file_post_load_cleanup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | image | 4096-ptr_max |
| PARAM_VALUE | 0 | image->arch.p4d | 0 |
| PARAM_VALUE | 0 | image->arch.pmd | 0 |
| PARAM_VALUE | 0 | image->arch.pte | 0 |
| PARAM_VALUE | 0 | image->arch.pud | 0 |
| PARAM_VALUE | 0 | image->file_mode | 1 |
| PARAM_VALUE | 0 | *image->segment_cma | 0 |
| CAPPED_DATA | 0 | image->nr_segments | 1 |
| CAPPED_DATA | 0 | image->vmcoreinfo_data_copy | 1 |
| CAPPED_DATA | 0 | &image->control_pages | 1 |
| DATA_SOURCE | 0 | image | $0 |
| NOSPEC | 0 | image->nr_segments | |
| NOCHECK_CALL | |||
| USER_DATA | 0 | image->nr_segments | 1-16[c] |
| USER_DATA | 0 | image->start | 0-u64max |
kernel/kexec_file.c __do_sys_kexec_file_load() -> kimage_file_post_load_cleanup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | image->arch.p4d | 0,18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 0 | image->arch.pgd | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 0 | image->arch.pmd | 0,18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 0 | image->arch.pte | 0,18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 0 | image->arch.pud | 0,18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 0 | image->control_page | 4096 |
| 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.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | image->entry | 4096-ptr_max |
| PARAM_VALUE | 0 | image->hotplug_support | 1 |
| PARAM_VALUE | 0 | image->nr_segments | 0-s32max |
| PARAM_VALUE | 0 | image->purgatory_info.ehdr->e_shnum | 2-u16max |
| PARAM_VALUE | 0 | *image->entry | 4 |
| BUF_SIZE | 0 | image | 0 |
| CAPPED_DATA | 0 | image->nr_segments | 1 |
| CAPPED_DATA | 0 | image->purgatory_info.ehdr->e_shnum | 1 |
| BIT_INFO | 0 | image | 0x0,0x0 |
| NOCHECK_CALL |
kernel/kexec_file.c __do_sys_kexec_file_load() -> kimage_file_post_load_cleanup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | image->arch.p4d | 0,18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 0 | image->arch.pgd | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 0 | image->arch.pmd | 0,18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 0 | image->arch.pte | 0,18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 0 | image->arch.pud | 0,18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 0 | image->control_page | 4096 |
| 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.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | image->entry | 4096-ptr_max |
| PARAM_VALUE | 0 | image->hotplug_support | 1 |
| PARAM_VALUE | 0 | image->nr_segments | 0-s32max |
| PARAM_VALUE | 0 | image->purgatory_info.ehdr->e_shnum | 2-u16max |
| PARAM_VALUE | 0 | *image->entry | 4 |
| BUF_SIZE | 0 | image | 0 |
| CAPPED_DATA | 0 | image->nr_segments | 1 |
| CAPPED_DATA | 0 | image->purgatory_info.ehdr->e_shnum | 1 |
| BIT_INFO | 0 | image | 0x0,0x0 |
| NOCHECK_CALL |
kernel/kexec_file.c kimage_file_alloc_init() -> kimage_file_post_load_cleanup()
| 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->swap_page | 0 |
| 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 |
| CAPPED_DATA | 0 | &image->control_pages | 1 |
| DATA_SOURCE | 0 | image | r do_kimage_alloc_init |
| NOCHECK_CALL |
kernel/kexec_file.c kimage_file_prepare_segments() -> kimage_file_post_load_cleanup()
| 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->kernel_buf_len | 0-4294967296 |
| 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 |
| PARAM_VALUE | 0 | *image->kernel_buf | (-4611686018427387904)-4611686018427387903 |
| BUF_SIZE | 0 | image | 1008 |
| BUF_SIZE | 0 | image->cmdline_buf | 0-u64max |
| CAPPED_DATA | 0 | image->kernel_buf_len | 1 |
| DATA_SOURCE | 0 | image | $0 |
| NOCHECK_CALL | |||
| USER_DATA | 0 | image->cmdline_buf_len | 1-s32max[c] |
| USER_DATA | 0 | *image->cmdline_buf | 0-255 |
| USER_PTR | 0 | image->cmdline_buf |