Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

ipc/namespace.c put_ipc_ns() -> __ns_tree_remove()

Type Parameter Key Value
PARAM_VALUE 0 ns 4096-ptr_max
PARAM_VALUE 0 ns->ns_id 9-u64max
PARAM_VALUE 1 ns_tree 7080217876805644288
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

net/core/net_namespace.c cleanup_net() -> __ns_tree_remove()

Type Parameter Key Value
PARAM_VALUE 0 ns 4096-ptr_max
PARAM_VALUE 1 ns_tree 4190335101694787584
NOCHECK_CALL
LOCK2 global &net_rwsem
LOCK2 global &pernet_ops_rwsem
HALF_LOCKED2 &pool->lock

kernel/cgroup/namespace.c free_cgroup_ns() -> __ns_tree_remove()

Type Parameter Key Value
PARAM_VALUE 0 ns 1-u64max
PARAM_VALUE 0 ns->ns_id 9-u64max
PARAM_VALUE 1 ns_tree 8013593300199546880
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

kernel/time/namespace.c free_time_ns() -> __ns_tree_remove()

Type Parameter Key Value
PARAM_VALUE 0 ns 4096-ptr_max
PARAM_VALUE 0 ns->ns_id 9-u64max
PARAM_VALUE 1 ns_tree 732401172809281536
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

kernel/pid_namespace.c destroy_pid_namespace() -> __ns_tree_remove()

Type Parameter Key Value
PARAM_VALUE 0 ns 4096-ptr_max
PARAM_VALUE 1 ns_tree 1386394329188192256
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

fs/namespace.c mnt_ns_tree_remove() -> __ns_tree_remove()

Type Parameter Key Value
PARAM_VALUE 0 ns 4096-ptr_max
PARAM_VALUE 1 ns_tree 2836868247855108096
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

kernel/user_namespace.c free_user_ns() -> __ns_tree_remove()

Type Parameter Key Value
PARAM_VALUE 0 ns 4096-ptr_max
PARAM_VALUE 1 ns_tree 3487737289816088576
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

kernel/utsname.c free_uts_ns() -> __ns_tree_remove()

Type Parameter Key Value
PARAM_VALUE 0 ns 4096-ptr_max
PARAM_VALUE 0 ns->ns_id 9-u64max
PARAM_VALUE 1 ns_tree 1386394329188192256
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL