Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

fs/pidfs.c pidfd_info() -> pidfd_pid()

Type Parameter Key Value
DATA_SOURCE 0 file $0

fs/pidfs.c pidfd_ioctl() -> pidfd_pid()

Type Parameter Key Value
PARAM_VALUE 0 file 0,4-u64max
DATA_SOURCE 0 file $0

fs/pidfs.c pidfd_poll() -> pidfd_pid()

Type Parameter Key Value
PARAM_VALUE 0 file 4096-ptr_max
DATA_SOURCE 0 file $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &kvm->irq_srcu
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &vm->irqfds_lock
HALF_LOCKED2 global &irqfds_srcu

fs/pidfs.c pidfd_show_fdinfo() -> pidfd_pid()

Type Parameter Key Value
PARAM_VALUE 0 file 4096-ptr_max
PARAM_VALUE 0 file->f_inode 4096-ptr_max
PARAM_VALUE 0 file->f_op 4096-ptr_max
CAPPED_DATA 0 file 1
DATA_SOURCE 0 file $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &m->lock
TYPE_LOCK (struct seq_file)->lock

kernel/nsproxy.c __do_sys_setns() -> pidfd_pid()

Type Parameter Key Value
PARAM_VALUE 0 file 0,4-u64max

kernel/nsproxy.c __do_sys_setns() -> pidfd_pid()

Type Parameter Key Value
PARAM_VALUE 0 file 0,4-u64max

kernel/nsproxy.c __do_sys_setns() -> pidfd_pid()

Type Parameter Key Value
PARAM_VALUE 0 file 0,4-u64max

kernel/nsproxy.c __do_sys_setns() -> pidfd_pid()

Type Parameter Key Value
PARAM_VALUE 0 file 0,4-u64max

kernel/pid.c __do_sys_pidfd_getfd() -> pidfd_pid()

Type Parameter Key Value
PARAM_VALUE 0 file 0,4-u64max

kernel/pid.c __do_sys_pidfd_getfd() -> pidfd_pid()

Type Parameter Key Value
PARAM_VALUE 0 file 0,4-u64max

kernel/pid.c pidfd_get_pid() -> pidfd_pid()

Type Parameter Key Value
PARAM_VALUE 0 file 0,4-u64max
RX_PATH
TASK_NOT_RUNNING

kernel/signal.c pidfd_to_pid() -> pidfd_pid()

Type Parameter Key Value
PARAM_VALUE 0 file 0,4-u64max
DATA_SOURCE 0 file $0