Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

kernel/exit.c kernel_waitid_prepare() -> pidfd_get_pid()

Type Parameter Key Value
PARAM_VALUE 0 fd 0-s32max
PARAM_VALUE 1 flags 7749084684734709760
PARAM_VALUE 1 *flags 0
DATA_SOURCE 0 fd $2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 fd 0-s32max

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

Type Parameter Key Value
PARAM_VALUE 0 fd 0-4294957294,4294957297-u32max
PARAM_VALUE 1 flags 6586372068425945088
PARAM_VALUE 1 *flags 0
DATA_SOURCE 0 fd $0
USER_DATA 0 fd 0-4294957294,4294957297-u32max

kernel/bpf/task_iter.c bpf_iter_attach_task() -> pidfd_get_pid()

Type Parameter Key Value
PARAM_VALUE 0 fd 1-u32max
PARAM_VALUE 1 flags 3080649981345038336
USER_DATA 0 fd 1-u32max

kernel/bpf/bpf_task_storage.c bpf_pid_task_storage_delete_elem() -> pidfd_get_pid()

Type Parameter Key Value
PARAM_VALUE 1 flags 2610428134336491520
USER_DATA 0 fd 0-u32max
HALF_LOCKED2 rcu_read

kernel/bpf/bpf_task_storage.c bpf_pid_task_storage_lookup_elem() -> pidfd_get_pid()

Type Parameter Key Value
PARAM_VALUE 1 flags 1483775265296814080
USER_DATA 0 fd 0-u32max
HALF_LOCKED2 rcu_read

kernel/bpf/bpf_task_storage.c bpf_pid_task_storage_update_elem() -> pidfd_get_pid()

Type Parameter Key Value
PARAM_VALUE 1 flags 4393878593099993088
USER_DATA 0 fd 0-u32max
HALF_LOCKED2 rcu_read