Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

kernel/pid_namespace.c pidns_get_parent() -> to_pid_ns()

Type Parameter Key Value
BUF_SIZE 0 ns s32min-(-1),1-s32max
BUF_SIZE 0 ns s32min-(-1),1-s32max
DATA_SOURCE 0 ns $0
UNITS 0 ns unit_array_size
HALF_LOCKED2 global &rtnl_mutex

kernel/pid_namespace.c pidns_install() -> to_pid_ns()

Type Parameter Key Value
PARAM_VALUE 0 ns 4096-ptr_max
DATA_SOURCE 0 ns $1

kernel/pid_namespace.c pidns_owner() -> to_pid_ns()

Type Parameter Key Value
PARAM_VALUE 0 ns 4096-ptr_max
BUF_SIZE 0 ns s32min-(-1),1-s32max
BUF_SIZE 0 ns s32min-(-1),1-s32max
DATA_SOURCE 0 ns $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &ns_tree_lock.lock

kernel/pid_namespace.c pidns_put() -> to_pid_ns()

Type Parameter Key Value
PARAM_VALUE 0 ns 4096-ptr_max
BUF_SIZE 0 ns s32min-s32max
DATA_SOURCE 0 ns $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &task->signal->exec_update_lock

fs/nsfs.c is_current_namespace() -> to_pid_ns()

Type Parameter Key Value
PARAM_VALUE 0 ns 4096-ptr_max
DATA_SOURCE 0 ns $0
LOCK2 rcu_read

fs/nsfs.c nsfs_fh_to_dentry() -> to_pid_ns()

Type Parameter Key Value
PARAM_VALUE 0 ns 4096-ptr_max
DATA_SOURCE 0 ns r ns_tree_lookup_rcu
RX_PATH
TASK_NOT_RUNNING

fs/nsfs.c nsfs_fh_to_dentry() -> to_pid_ns()

Type Parameter Key Value
PARAM_VALUE 0 ns 4096-ptr_max
DATA_SOURCE 0 ns r ns_tree_lookup_rcu
RX_PATH
TASK_NOT_RUNNING

fs/nsfs.c nsfs_fh_to_dentry() -> to_pid_ns()

Type Parameter Key Value
PARAM_VALUE 0 ns 4096-ptr_max
DATA_SOURCE 0 ns r ns_tree_lookup_rcu
RX_PATH
TASK_NOT_RUNNING