Defined in 2 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/proc/task_mmu.c m_stop() -> release_task_mempolicy()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->task 1-u64max
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
TYPE_LOCK (struct seq_file)->lock

fs/proc/task_mmu.c show_smaps_rollup() -> release_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->handoff_set 1
PARAM_VALUE 0 priv->lock_ctx.mm->mmap_lock.first_waiter->list.next 2212933610777083904
PARAM_VALUE 0 priv->lock_ctx.mm->mmap_lock.first_waiter->list.prev 2212933610777083904
PARAM_VALUE 0 priv->lock_ctx.mm->mmap_lock.first_waiter->type 0-1
PARAM_VALUE 0 priv->lock_ctx.mmap_locked 0
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
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
TYPE_LOCK (struct seq_file)->lock

fs/proc/task_mmu.c show_smaps_rollup() -> release_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->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
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