Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
mm/mmap.c expand_stack() -> expand_downwards()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vma | 4096-ptr_max |
| PARAM_VALUE | 0 | vma->vm_start | 1-u64max |
| PARAM_VALUE | 1 | address | 0-18446744073709551614 |
| CAPPED_DATA | 1 | address | 1 |
| CAPPED_DATA | 1 | address | 1 |
| DATA_SOURCE | 0 | vma | r find_vma_prev |
| DATA_SOURCE | 1 | address | $1 |
| PARAM_COMPARE | 1 | address | < $0->vm_start |
| PARAM_COMPARE | 1 | address | < $0->vm_start |
| NOSPEC | 1 | address | |
| NOSPEC | 1 | address | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | address | 0-s32max[c] |
| UNITS | 1 | address | unit_byte |
| LOCK2 | &mm->mmap_lock | ||
| TYPE_LOCK | (struct mm_struct)->mmap_lock |
mm/mmap.c expand_stack_locked() -> expand_downwards()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vma | 4096-ptr_max |
| 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 |
| CAPPED_DATA | 0 | vma | 1 |
| DATA_SOURCE | 0 | vma | $0 |
| DATA_SOURCE | 1 | address | $1 |
| RX_PATH | |||
| NO_OVERFLOW_SIMPLE | 0 | vma->vm_end | |
| NO_OVERFLOW_SIMPLE | 0 | vma->vm_start | |
| UNITS | 1 | address | unit_byte |
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &tsk->signal->exec_update_lock |
mm/mmap.c mmap_read_lock_maybe_expand() -> expand_downwards()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vma | 4096-ptr_max |
| PARAM_VALUE | 0 | vma->anon_name | 0 |
| PARAM_VALUE | 0 | vma->anon_vma | 0 |
| PARAM_VALUE | 0 | vma->flags.__vma_flags | 4096-ptr_max |
| PARAM_VALUE | 0 | vma->numab_state | 0 |
| PARAM_VALUE | 0 | vma->pfnmap_track_ctx | 0 |
| PARAM_VALUE | 0 | vma->swap_readahead_info.counter | 0 |
| PARAM_VALUE | 0 | vma->vm_file | 0 |
| PARAM_VALUE | 0 | vma->vm_flags | 0 |
| PARAM_VALUE | 0 | vma->vm_freeptr.v | 0 |
| PARAM_VALUE | 0 | vma->vm_mm | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vma->vm_ops | 0 |
| PARAM_VALUE | 0 | vma->vm_pgoff | 0-4503599627370495 |
| PARAM_VALUE | 0 | vma->vm_policy | 0 |
| PARAM_VALUE | 0 | vma->vm_private_data | 0 |
| PARAM_VALUE | 0 | vma->vm_refcnt.refs.counter | 1 |
| PARAM_VALUE | 0 | vma->vm_start | 1-u64max |
| PARAM_VALUE | 0 | vma->vm_userfaultfd_ctx.ctx | 0 |
| PARAM_VALUE | 0 | vma->vmlock_dep_map.cpu | 0 |
| PARAM_VALUE | 0 | vma->vmlock_dep_map.ip | 0 |
| PARAM_VALUE | 0 | vma->vmlock_dep_map.lock_type | 0 |
| PARAM_VALUE | 0 | vma->vmlock_dep_map.name | 0,4861890868653174784,6557282060885467136 |
| PARAM_VALUE | 1 | address | 0-18446744073709551614 |
| CAPPED_DATA | 1 | address | 1 |
| CAPPED_DATA | 1 | address | 1 |
| DATA_SOURCE | 0 | vma | $1 |
| DATA_SOURCE | 1 | address | $2 |
| PARAM_COMPARE | 1 | address | < $0->vm_start |
| PARAM_COMPARE | 1 | address | < $0->vm_start |
| NO_OVERFLOW_SIMPLE | 1 | address | |
| UNITS | 1 | address | unit_byte |
| LOCK2 | &mm->mmap_lock | ||
| TYPE_LOCK | (struct mm_struct)->mmap_lock |