Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/proc/task_mmu.c show_smap() -> smap_gather_stats()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | vma | 1-ptr_max |
| PARAM_VALUE | 2 | mss | 6666342478243721216 |
| PARAM_VALUE | 2 | mss->file_thp | 0 |
| PARAM_VALUE | 2 | mss->ksm | 0 |
| PARAM_VALUE | 2 | mss->lazyfree | 0 |
| PARAM_VALUE | 2 | mss->pss | 0 |
| PARAM_VALUE | 2 | mss->pss_anon | 0 |
| PARAM_VALUE | 2 | mss->pss_file | 0 |
| PARAM_VALUE | 2 | mss->resident | 0 |
| PARAM_VALUE | 2 | mss->swap | 0 |
| PARAM_VALUE | 2 | mss->swap_pss | 0 |
| PARAM_VALUE | 3 | start | 0 |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| DATA_SOURCE | 1 | vma | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | priv | unit_array_size |
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
fs/proc/task_mmu.c show_smaps_rollup() -> smap_gather_stats()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->lock_ctx.mm | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->lock_ctx.mm->mm_users.counter | 0-s32max |
| 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 |
| PARAM_VALUE | 0 | priv->lock_ctx.mmap_locked | 1 |
| PARAM_VALUE | 0 | priv->task | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->task->alloc_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->task_mempolicy | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->task_mempolicy->mode | 1-u16max |
| PARAM_VALUE | 1 | vma | 1-u64max |
| PARAM_VALUE | 1 | vma->vm_file->f_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | vma->vm_file->f_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | mss | 3974611792214499328 |
| PARAM_VALUE | 2 | mss->file_thp | 0 |
| PARAM_VALUE | 2 | mss->ksm | 0 |
| PARAM_VALUE | 2 | mss->lazyfree | 0 |
| PARAM_VALUE | 2 | mss->pss | 0 |
| PARAM_VALUE | 2 | mss->pss_anon | 0 |
| PARAM_VALUE | 2 | mss->pss_file | 0 |
| PARAM_VALUE | 2 | mss->resident | 0 |
| PARAM_VALUE | 2 | mss->swap_pss | 0 |
| PARAM_VALUE | 3 | start | 0 |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| DATA_SOURCE | 1 | vma | r vma_next |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | priv | unit_array_size |
| LOCK2 | &m->lock | ||
| LOCK2 | 0 | &priv->lock_ctx.mm->mmap_lock | |
| TYPE_LOCK | (struct mm_struct)->mmap_lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
fs/proc/task_mmu.c show_smaps_rollup() -> smap_gather_stats()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->lock_ctx.mm | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->lock_ctx.mm->mm_users.counter | 0-s32max |
| PARAM_VALUE | 0 | priv->lock_ctx.mm->mmap_lock.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 0 | priv->lock_ctx.mm->mmap_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | priv->lock_ctx.mmap_locked | 1 |
| PARAM_VALUE | 0 | priv->task | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->task->alloc_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->task_mempolicy | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->task_mempolicy->mode | 1-u16max |
| PARAM_VALUE | 1 | vma | 4096-ptr_max |
| PARAM_VALUE | 1 | vma->vm_file->f_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | vma->vm_file->f_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | mss | 3974611792214499328 |
| PARAM_VALUE | 2 | mss->file_thp | 0 |
| PARAM_VALUE | 2 | mss->ksm | 0 |
| PARAM_VALUE | 2 | mss->lazyfree | 0 |
| PARAM_VALUE | 2 | mss->pss | 0 |
| PARAM_VALUE | 2 | mss->pss_anon | 0 |
| PARAM_VALUE | 2 | mss->pss_file | 0 |
| PARAM_VALUE | 2 | mss->resident | 0 |
| PARAM_VALUE | 2 | mss->swap_pss | 0 |
| PARAM_VALUE | 3 | start | 0 |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| DATA_SOURCE | 1 | vma | r vma_next |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | priv | unit_array_size |
| LOCK2 | &m->lock | ||
| LOCK2 | 0 | &priv->lock_ctx.mm->mmap_lock | |
| TYPE_LOCK | (struct mm_struct)->mmap_lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
fs/proc/task_mmu.c show_smaps_rollup() -> smap_gather_stats()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->lock_ctx.mm | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->lock_ctx.mm->mm_users.counter | 0-s32max |
| PARAM_VALUE | 0 | priv->lock_ctx.mm->mmap_lock.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 0 | priv->lock_ctx.mm->mmap_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | priv->lock_ctx.mmap_locked | 1 |
| PARAM_VALUE | 0 | priv->task | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->task->alloc_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->task_mempolicy | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->task_mempolicy->mode | 1-u16max |
| PARAM_VALUE | 1 | vma | 4096-ptr_max |
| PARAM_VALUE | 1 | vma->vm_end | 2-u64max |
| PARAM_VALUE | 1 | vma->vm_file->f_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | vma->vm_file->f_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | vma->vm_start | 0-18446744073709551614 |
| PARAM_VALUE | 2 | mss | 3974611792214499328 |
| PARAM_VALUE | 2 | mss->file_thp | 0 |
| PARAM_VALUE | 2 | mss->ksm | 0 |
| PARAM_VALUE | 2 | mss->lazyfree | 0 |
| PARAM_VALUE | 2 | mss->pss | 0 |
| PARAM_VALUE | 2 | mss->pss_anon | 0 |
| PARAM_VALUE | 2 | mss->pss_file | 0 |
| PARAM_VALUE | 2 | mss->resident | 0 |
| PARAM_VALUE | 2 | mss->swap_pss | 0 |
| PARAM_VALUE | 3 | start | 1-18446744073709551614 |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | vma->vm_start | 1 |
| CAPPED_DATA | 3 | start | 1 |
| CAPPED_DATA | 3 | start | 1 |
| DATA_SOURCE | 1 | vma | r vma_next |
| PARAM_COMPARE | 1 | vma->vm_end | > $1->vm_start |
| PARAM_COMPARE | 3 | start | < $1->vm_end |
| PARAM_COMPARE | 3 | start | < $1->vm_end |
| PARAM_COMPARE | 3 | start | > $1->vm_start |
| PARAM_COMPARE | 3 | start | > $1->vm_start |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | priv | unit_array_size |
| UNITS | 3 | start | unit_byte |
| LOCK2 | &m->lock | ||
| LOCK2 | 0 | &priv->lock_ctx.mm->mmap_lock | |
| TYPE_LOCK | (struct mm_struct)->mmap_lock | ||
| TYPE_LOCK | (struct seq_file)->lock |