Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

kernel/fork.c copy_process() -> ns_of_pid()

Type Parameter Key Value
PARAM_VALUE 0 pid 4096-ptr_max
DATA_SOURCE 0 pid $0 [m]
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &tasklist_lock
LOCK2 irq

kernel/fork.c copy_process() -> ns_of_pid()

Type Parameter Key Value
PARAM_VALUE 0 pid 4096-ptr_max
DATA_SOURCE 0 pid $0 [m]
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &tasklist_lock
LOCK2 irq

fs/autofs/dev-ioctl.c autofs_dev_ioctl_setpipefd() -> ns_of_pid()

Type Parameter Key Value
DATA_SOURCE 0 pid r get_task_pid
LOCK2 &sbi->wq_mutex
TYPE_LOCK (struct autofs_sb_info)->wq_mutex

fs/autofs/dev-ioctl.c autofs_dev_ioctl_setpipefd() -> ns_of_pid()

Type Parameter Key Value
LOCK2 &sbi->wq_mutex
TYPE_LOCK (struct autofs_sb_info)->wq_mutex

kernel/pid.c task_active_pid_ns() -> ns_of_pid()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &_T->lock->alloc_lock
HALF_LOCKED2 &cgrp->pidlist_mutex
HALF_LOCKED2 &m->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &p->mutex
HALF_LOCKED2 &s->lock
HALF_LOCKED2 &seq->lock
HALF_LOCKED2 global &acct_on_mutex
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &sysctl_lock
HALF_LOCKED2 global &tasklist_lock
HALF_LOCKED2 irq
HALF_LOCKED2 rcu_read

kernel/signal.c access_pidfd_pidns() -> ns_of_pid()

Type Parameter Key Value
PARAM_VALUE 0 pid 0-ptr_max
BUF_SIZE 0 pid s32min-(-1),1-s32max
BUF_SIZE 0 pid s32min-(-1),1-s32max
DATA_SOURCE 0 pid $0

fs/autofs/waitq.c autofs_wait() -> ns_of_pid()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/autofs/waitq.c autofs_wait() -> ns_of_pid()

Type Parameter Key Value
PARAM_VALUE 0 pid 0,4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

ipc/mqueue.c __do_notify() -> ns_of_pid()

Type Parameter Key Value
PARAM_VALUE 0 pid 1-u64max
PREEMPT_ADD
LOCK2 &info->lock
LOCK2 rcu_read
TYPE_LOCK (struct mqueue_inode_info)->lock