Defined in 2 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/proc/task_mmu.c m_start() -> hold_task_mempolicy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->iter.mas.alloc | 0 |
| PARAM_VALUE | 0 | priv->iter.mas.depth | 0 |
| PARAM_VALUE | 0 | priv->iter.mas.end | 0 |
| PARAM_VALUE | 0 | priv->iter.mas.ld_seq | 0 |
| PARAM_VALUE | 0 | priv->iter.mas.mas_flags | 0 |
| PARAM_VALUE | 0 | priv->iter.mas.max | u64max |
| PARAM_VALUE | 0 | priv->iter.mas.min | 0 |
| PARAM_VALUE | 0 | priv->iter.mas.node | 0 |
| PARAM_VALUE | 0 | priv->iter.mas.node_request | 0 |
| PARAM_VALUE | 0 | priv->iter.mas.offset | 0 |
| PARAM_VALUE | 0 | priv->iter.mas.sheaf | 0 |
| PARAM_VALUE | 0 | priv->iter.mas.status | 1 |
| PARAM_VALUE | 0 | priv->iter.mas.store_type | 0 |
| PARAM_VALUE | 0 | priv->lock_ctx.locked_vma | 0 |
| PARAM_VALUE | 0 | priv->lock_ctx.mm->mm_users.counter | 0-s32max |
| PARAM_VALUE | 0 | priv->lock_ctx.mmap_locked | 0 |
| PARAM_VALUE | 0 | priv->task | 4096-ptr_max |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | priv | unit_array_size |
| LOCK2 | &m->lock | ||
| LOCK2 | rcu_read | ||
| TYPE_LOCK | (struct seq_file)->lock |
fs/proc/task_mmu.c show_smaps_rollup() -> hold_task_mempolicy()
| 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->type | 0-1 |
| PARAM_VALUE | 0 | priv->lock_ctx.mmap_locked | 1 |
| PARAM_VALUE | 0 | priv->task | 4096-ptr_max |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| 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 |