Defined in 3 files as a function:
- fs/proc/task_mmu.c, line 184 (as a function)
- fs/proc/task_mmu.c, line 259 (as a function)
- mm/vmscan.c, line 3413 (as a function)
Referenced in 2 files:
Smatch caller information:
fs/proc/task_mmu.c proc_get_vma() -> get_next_vma()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv->lock_ctx.mm->mmap_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | priv->lock_ctx.mm->mmap_lock.first_waiter->type | 0-1 |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | priv | unit_array_size |
| LOCK2 | &m->lock | ||
| HALF_LOCKED2 | rcu_read | ||
| HALF_LOCKED2 | 0 | &priv->lock_ctx.mm->mmap_lock | |
| TYPE_LOCK | (struct seq_file)->lock |
mm/vmscan.c walk_pmd_range() -> get_next_vma()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 18446744072635809792 |
| PARAM_VALUE | 1 | last_pos | 2097152 |
| PARAM_VALUE | 2 | args | 2092566388040949760 |
| PARAM_VALUE | 2 | args->action | 0-2 |
| PARAM_VALUE | 2 | args->mm | 4096-ptr_max |
| PARAM_VALUE | 2 | args->ops | 6231453082019635200 |
| PARAM_VALUE | 2 | args->ops->install_pte | 0,1044397068690849792 |
| PARAM_VALUE | 2 | args->ops->p4d_entry | 0,2588602558124785664,5328599830014066688 |
| PARAM_VALUE | 2 | args->ops->pgd_entry | 0,2040133486307762176 |
| PARAM_VALUE | 2 | args->ops->pmd_entry | 0,4096-ptr_max |
| PARAM_VALUE | 2 | args->ops->pre_vma | 0,4646808277758689280 |
| PARAM_VALUE | 2 | args->ops->pte_entry | 0,4096-ptr_max |
| PARAM_VALUE | 2 | args->ops->pte_hole | 0,4096-ptr_max |
| PARAM_VALUE | 2 | args->ops->pud_entry | 0,2135835840930992128,2911698571973591040,4830051540000333824,6221809454653681664,8307952805542096896 |
| PARAM_VALUE | 2 | args->private | 4096-ptr_max |
| PARAM_VALUE | 2 | args->private->lruvec | 4096-ptr_max |
| PARAM_VALUE | 2 | args->vma | 0,4096-ptr_max |
| PARAM_VALUE | 2 | args->vma->flags.__vma_flags | 4096-ptr_max |
| PARAM_VALUE | 2 | args->vma->vm_file->f_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 2 | args->vma->vm_file->f_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| BUF_SIZE | 2 | args->mm | s32min-(-1),1-s32max |
| BUF_SIZE | 2 | args->private | (-1),4,8,16,24,56,64,128,152,216,8248 |
| DATA_SOURCE | 2 | args | $3 |
| NOSPEC | 3 | *vm_start | |
| NOSPEC | 4 | *vm_end | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | args->private | 4096-ptr_max[u] |
| USER_DATA | 3 | *vm_start | 0-u64max[c] |
| USER_DATA | 4 | *vm_end | 0[c] |
| NO_OVERFLOW_SIMPLE | 2 | args->vma->vm_pgoff | |
| NO_OVERFLOW_SIMPLE | 2 | args->vma->vm_start | |
| USER_PTR | 3 | vm_start | |
| USER_PTR | 4 | vm_end | |
| HALF_LOCKED2 | &mm->mmap_lock |
mm/vmscan.c walk_pte_range() -> get_next_vma()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 18446744073707454464 |
| PARAM_VALUE | 1 | last_pos | 4096 |
| PARAM_VALUE | 2 | args | 7619212659531767808 |
| PARAM_VALUE | 2 | args->action | 0-2 |
| PARAM_VALUE | 2 | args->mm | 4096-ptr_max |
| PARAM_VALUE | 2 | args->ops | 6231453082019635200 |
| PARAM_VALUE | 2 | args->ops->install_pte | 0,1044397068690849792 |
| PARAM_VALUE | 2 | args->ops->p4d_entry | 0,2588602558124785664,5328599830014066688 |
| PARAM_VALUE | 2 | args->ops->pgd_entry | 0,2040133486307762176 |
| PARAM_VALUE | 2 | args->ops->pmd_entry | 0,4096-ptr_max |
| PARAM_VALUE | 2 | args->ops->pre_vma | 0,4646808277758689280 |
| PARAM_VALUE | 2 | args->ops->pte_entry | 0,4096-ptr_max |
| PARAM_VALUE | 2 | args->ops->pte_hole | 0,4096-ptr_max |
| PARAM_VALUE | 2 | args->ops->pud_entry | 0,2135835840930992128,2911698571973591040,4830051540000333824,6221809454653681664,8307952805542096896 |
| PARAM_VALUE | 2 | args->private | 4096-ptr_max |
| PARAM_VALUE | 2 | args->vma | 0,4096-ptr_max |
| PARAM_VALUE | 2 | args->vma->flags.__vma_flags | 4096-ptr_max |
| PARAM_VALUE | 2 | args->vma->vm_file->f_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 2 | args->vma->vm_file->f_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| BUF_SIZE | 2 | args->mm | s32min-(-1),1-s32max |
| BUF_SIZE | 2 | args->private | (-1),4,8,16,24,56,64,128,152,216,8248 |
| DATA_SOURCE | 2 | args | $3 |
| NOSPEC | 3 | *vm_start | |
| NOSPEC | 4 | *vm_end | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | args->private | 4096-ptr_max[u] |
| USER_DATA | 3 | *vm_start | 0-u64max[c] |
| USER_DATA | 4 | *vm_end | 0[c] |
| NO_OVERFLOW_SIMPLE | 2 | args->vma->vm_end | |
| NO_OVERFLOW_SIMPLE | 2 | args->vma->vm_start | |
| UNITS | 1 | last_pos | unit_byte |
| USER_PTR | 3 | vm_start | |
| USER_PTR | 4 | vm_end | |
| LOCK2 | ptl | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &mm->mmap_lock |
mm/vmscan.c walk_pud_range() -> get_next_vma()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 18446743523953737728 |
| PARAM_VALUE | 1 | last_pos | 1073741824 |
| PARAM_VALUE | 2 | args | 8688705999929729024 |
| PARAM_VALUE | 2 | args->action | 0-2 |
| PARAM_VALUE | 2 | args->mm | 4096-ptr_max |
| PARAM_VALUE | 2 | args->ops | 6231453082019635200 |
| PARAM_VALUE | 2 | args->ops->install_pte | 0,1044397068690849792 |
| PARAM_VALUE | 2 | args->ops->p4d_entry | 0,2588602558124785664,5328599830014066688 |
| PARAM_VALUE | 2 | args->ops->pgd_entry | 0,2040133486307762176 |
| PARAM_VALUE | 2 | args->ops->pmd_entry | 0,4096-ptr_max |
| PARAM_VALUE | 2 | args->ops->pre_vma | 0,4646808277758689280 |
| PARAM_VALUE | 2 | args->ops->pte_entry | 0,4096-ptr_max |
| PARAM_VALUE | 2 | args->ops->pte_hole | 0,4096-ptr_max |
| PARAM_VALUE | 2 | args->ops->pud_entry | 0,2135835840930992128,2911698571973591040,4830051540000333824,6221809454653681664,8307952805542096896 |
| PARAM_VALUE | 2 | args->vma | 0,4096-ptr_max |
| PARAM_VALUE | 2 | args->vma->flags.__vma_flags | 4096-ptr_max |
| PARAM_VALUE | 2 | args->vma->vm_file->f_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 2 | args->vma->vm_file->f_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| BUF_SIZE | 2 | args->mm | s32min-(-1),1-s32max |
| BUF_SIZE | 2 | args->private | (-1),4,8,16,24,56,64,128,152,216,8248 |
| DATA_SOURCE | 2 | args | $3 |
| NOSPEC | 3 | *vm_start | |
| NOSPEC | 4 | *vm_end | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | args->private | 4096-ptr_max[u] |
| USER_DATA | 3 | *vm_start | 0-u64max[c] |
| USER_DATA | 4 | *vm_end | 0[c] |
| NO_OVERFLOW_SIMPLE | 2 | args->vma->vm_pgoff | |
| NO_OVERFLOW_SIMPLE | 2 | args->vma->vm_start | |
| USER_PTR | 3 | vm_start | |
| USER_PTR | 4 | vm_end | |
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | global &init_mm.mmap_lock |