Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/proc/vmcore.c remap_oldmem_pfn_checked() -> remap_oldmem_pfn_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vma | 4096-ptr_max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->process_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->process_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->request_key_auth->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->request_key_auth->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->session_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->session_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->thread_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->thread_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | vma->vm_file->f_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | vma->vm_file->f_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | vma->vm_mm | 4096-ptr_max |
| PARAM_VALUE | 0 | vma->vm_ops | 6763580847339053056 |
| PARAM_VALUE | 0 | vma->vm_ops->access | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->close | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->fault | 5334129244868800512 |
| PARAM_VALUE | 0 | vma->vm_ops->find_normal_page | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->get_policy | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->huge_fault | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->map_pages | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->mapped | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->may_split | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->mprotect | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->mremap | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->name | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->open | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->page_mkwrite | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->pagesize | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->pfn_mkwrite | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->set_policy | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->uffd_ops | 0 |
| PARAM_VALUE | 2 | pfn | 0-4503599627370496 |
| PARAM_VALUE | 3 | size | 0,4096-18446744073709539328 |
| BUF_SIZE | 0 | vma | (-1),1-s32max |
| BUF_SIZE | 0 | vma | (-1),1-s32max |
| BUF_SIZE | 0 | vma->vm_file | (-1)-0,4,24,64,168-s32max |
| BUF_SIZE | 0 | vma->vm_ops | 144 |
| BUF_SIZE | 0 | vma->vm_private_data | (-1),1-s32max |
| CAPPED_DATA | 2 | pfn | 1 |
| CAPPED_DATA | 2 | pfn | 1 |
| CAPPED_DATA | 3 | size | 1 |
| CAPPED_DATA | 3 | size | 1 |
| DATA_SOURCE | 0 | vma | $0 |
| DATA_SOURCE | 4 | prot | $4 |
| BIT_INFO | 0 | vma->vm_flags | 0x0,0xfffffffffffffff9 |
| BIT_INFO | 3 | size | 0x0,0xfffffffffffff000 |
| BIT_INFO | 3 | size | 0x0,0xfffffffffffff000 |
| NOSPEC | 0 | vma->vm_pgoff | |
| NOSPEC | 0 | vma->vm_start | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | vma->pfnmap_track_ctx->pfn | 0-13510803177078779[c] |
| USER_DATA | 0 | vma->pfnmap_track_ctx->size | 0,4096-u64max[c] |
| USER_DATA | 0 | vma->vm_end | 4096-u64max[c] |
| USER_DATA | 0 | vma->vm_pgoff | 0-13510803177078779[c] |
| USER_DATA | 0 | vma->vm_start | 0-18446744073709547520 |
| NO_OVERFLOW_SIMPLE | 0 | vma->vm_pgoff | |
| UNITS | 1 | from | unit_byte |
| UNITS | 2 | pfn | unit_page |
| UNITS | 3 | size | unit_byte |
| LOCK2 | global &vmcore_cb_srcu | ||
| HALF_LOCKED2 | &ipcp->lock |
fs/proc/vmcore.c remap_oldmem_pfn_checked() -> remap_oldmem_pfn_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vma | 4096-ptr_max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->process_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->process_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->request_key_auth->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->request_key_auth->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->session_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->session_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->thread_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->thread_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | vma->vm_file->f_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | vma->vm_file->f_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | vma->vm_mm | 4096-ptr_max |
| PARAM_VALUE | 0 | vma->vm_ops | 6763580847339053056 |
| PARAM_VALUE | 0 | vma->vm_ops->access | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->close | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->fault | 5334129244868800512 |
| PARAM_VALUE | 0 | vma->vm_ops->find_normal_page | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->get_policy | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->huge_fault | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->map_pages | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->mapped | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->may_split | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->mprotect | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->mremap | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->name | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->open | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->page_mkwrite | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->pagesize | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->pfn_mkwrite | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->set_policy | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->uffd_ops | 0 |
| PARAM_VALUE | 3 | size | 4096 |
| BUF_SIZE | 0 | vma | (-1),1-s32max |
| BUF_SIZE | 0 | vma | (-1),1-s32max |
| BUF_SIZE | 0 | vma->vm_file | (-1)-0,4,24,64,168-s32max |
| BUF_SIZE | 0 | vma->vm_ops | 144 |
| BUF_SIZE | 0 | vma->vm_private_data | (-1),1-s32max |
| DATA_SOURCE | 0 | vma | $0 |
| DATA_SOURCE | 2 | pfn | r zero_pfn |
| DATA_SOURCE | 4 | prot | $4 |
| BIT_INFO | 0 | vma->vm_flags | 0x0,0xfffffffffffffff9 |
| NOSPEC | 0 | vma->vm_pgoff | |
| NOSPEC | 0 | vma->vm_start | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | vma->pfnmap_track_ctx->pfn | 0-13510803177078779[c] |
| USER_DATA | 0 | vma->pfnmap_track_ctx->size | 0,4096-u64max[c] |
| USER_DATA | 0 | vma->vm_end | 4096-u64max[c] |
| USER_DATA | 0 | vma->vm_pgoff | 0-13510803177078779[c] |
| USER_DATA | 0 | vma->vm_start | 0-18446744073709547520 |
| NO_OVERFLOW_SIMPLE | 0 | vma->vm_pgoff | |
| UNITS | 1 | from | unit_byte |
| UNITS | 3 | size | unit_byte |
| LOCK2 | global &vmcore_cb_srcu | ||
| HALF_LOCKED2 | &ipcp->lock |
fs/proc/vmcore.c remap_oldmem_pfn_checked() -> remap_oldmem_pfn_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vma | 4096-ptr_max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->process_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->process_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->request_key_auth->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->request_key_auth->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->session_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->session_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->thread_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->thread_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | vma->vm_file->f_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | vma->vm_file->f_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | vma->vm_mm | 4096-ptr_max |
| PARAM_VALUE | 0 | vma->vm_ops | 6763580847339053056 |
| PARAM_VALUE | 0 | vma->vm_ops->access | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->close | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->fault | 5334129244868800512 |
| PARAM_VALUE | 0 | vma->vm_ops->find_normal_page | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->get_policy | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->huge_fault | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->map_pages | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->mapped | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->may_split | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->mprotect | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->mremap | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->name | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->open | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->page_mkwrite | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->pagesize | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->pfn_mkwrite | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->set_policy | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->uffd_ops | 0 |
| PARAM_VALUE | 2 | pfn | 0-9007199254740990 |
| PARAM_VALUE | 3 | size | 0,4096-18446744073709547520 |
| BUF_SIZE | 0 | vma | (-1),1-s32max |
| BUF_SIZE | 0 | vma | (-1),1-s32max |
| BUF_SIZE | 0 | vma->vm_file | (-1)-0,4,24,64,168-s32max |
| BUF_SIZE | 0 | vma->vm_ops | 144 |
| BUF_SIZE | 0 | vma->vm_private_data | (-1),1-s32max |
| CAPPED_DATA | 2 | pfn | 1 |
| CAPPED_DATA | 2 | pfn | 1 |
| CAPPED_DATA | 3 | size | 1 |
| CAPPED_DATA | 3 | size | 1 |
| DATA_SOURCE | 0 | vma | $0 |
| DATA_SOURCE | 4 | prot | $4 |
| BIT_INFO | 0 | vma->vm_flags | 0x0,0xfffffffffffffff9 |
| BIT_INFO | 3 | size | 0x0,0xfffffffffffff000 |
| BIT_INFO | 3 | size | 0x0,0xfffffffffffff000 |
| NOSPEC | 0 | vma->vm_pgoff | |
| NOSPEC | 0 | vma->vm_start | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | vma->pfnmap_track_ctx->pfn | 0-13510803177078779[c] |
| USER_DATA | 0 | vma->pfnmap_track_ctx->size | 0,4096-u64max[c] |
| USER_DATA | 0 | vma->vm_end | 4096-u64max[c] |
| USER_DATA | 0 | vma->vm_pgoff | 0-13510803177078779[c] |
| USER_DATA | 0 | vma->vm_start | 0-18446744073709547520 |
| NO_OVERFLOW_SIMPLE | 0 | vma->vm_pgoff | |
| UNITS | 1 | from | unit_byte |
| UNITS | 2 | pfn | unit_page |
| UNITS | 3 | size | unit_byte |
| LOCK2 | global &vmcore_cb_srcu | ||
| HALF_LOCKED2 | &ipcp->lock |
fs/proc/vmcore.c vmcore_remap_oldmem_pfn() -> remap_oldmem_pfn_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vma | 4096-ptr_max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->process_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->process_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->request_key_auth->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->request_key_auth->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->session_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->session_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->thread_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->thread_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | vma->vm_file->f_mapping->host->i_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max |
| PARAM_VALUE | 0 | vma->vm_file->f_mapping->host->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max |
| PARAM_VALUE | 0 | vma->vm_file->f_mapping->host->i_sb->s_export_op->fh_to_parent | 0,5297,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000,3511613614414655488-s64max |
| PARAM_VALUE | 0 | vma->vm_file->f_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max |
| PARAM_VALUE | 0 | vma->vm_file->f_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | vma->vm_file->f_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | vma->vm_mm | 4096-ptr_max |
| PARAM_VALUE | 0 | vma->vm_ops | 6763580847339053056 |
| PARAM_VALUE | 2 | pfn | 0-4503599627370495 |
| BUF_SIZE | 0 | vma | (-1),1-s32max |
| BUF_SIZE | 0 | vma | (-1),1-s32max |
| BUF_SIZE | 0 | vma->vm_file | (-1),1-s32max |
| BUF_SIZE | 0 | vma->vm_ops | 144 |
| BUF_SIZE | 0 | vma->vm_private_data | (-1),1-s32max |
| CAPPED_DATA | 3 | size | 1 |
| CAPPED_DATA | 3 | size | 1 |
| DATA_SOURCE | 0 | vma | $0 |
| DATA_SOURCE | 1 | from | $1 |
| DATA_SOURCE | 2 | pfn | $2 |
| DATA_SOURCE | 3 | size | $3 |
| DATA_SOURCE | 4 | prot | $4 |
| BIT_INFO | 0 | vma->vm_flags | 0x0,0xfffffffffffffff9 |
| NOSPEC | 0 | vma->vm_pgoff | |
| NOSPEC | 0 | vma->vm_start | |
| NOSPEC | 3 | size | |
| NOSPEC | 3 | size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | vma->pfnmap_track_ctx->pfn | 0-13510803177078779[c] |
| USER_DATA | 0 | vma->pfnmap_track_ctx->size | 0,4096-u64max[c] |
| USER_DATA | 0 | vma->vm_end | 4096-u64max[c] |
| USER_DATA | 0 | vma->vm_pgoff | 0-13510803177078779[c] |
| USER_DATA | 0 | vma->vm_start | 0-18446744073709547520 |
| USER_DATA | 3 | size | 1-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | vma->vm_pgoff | |
| NO_OVERFLOW_SIMPLE | 3 | size | |
| UNITS | 1 | from | unit_byte |
| UNITS | 2 | pfn | unit_page |
| UNITS | 3 | size | unit_byte |
| LOCK2 | global &vmcore_cb_srcu | ||
| HALF_LOCKED2 | &ipcp->lock |