Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
ipc/namespace.c create_ipc_ns() -> __ns_tree_add_raw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ns | 4096-ptr_max |
| PARAM_VALUE | 0 | ns->__ns_ref_active.counter | 0-1 |
| PARAM_VALUE | 0 | ns->ns_owner_node.ns_list_entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ns->ns_owner_node.ns_list_entry.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ns->ns_owner_root.ns_list_head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ns->ns_owner_root.ns_list_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ns->ns_tree_node.ns_list_entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ns->ns_tree_node.ns_list_entry.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ns->ns_unified_node.ns_list_entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ns->ns_unified_node.ns_list_entry.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ns->stashed | 0 |
| PARAM_VALUE | 1 | ns_tree | 7080217876805644288 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &tsk->signal->exec_update_lock |
net/core/net_namespace.c setup_net() -> __ns_tree_add_raw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ns | 4096-ptr_max |
| PARAM_VALUE | 0 | ns->__ns_ref.refs.counter | 1 |
| PARAM_VALUE | 0 | ns->__ns_ref_active.counter | 0-1 |
| PARAM_VALUE | 0 | ns->ns_owner_node.ns_list_entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ns->ns_owner_node.ns_list_entry.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ns->ns_owner_root.ns_list_head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ns->ns_owner_root.ns_list_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ns->ns_tree_node.ns_list_entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ns->ns_tree_node.ns_list_entry.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ns->ns_type | 1073741824 |
| PARAM_VALUE | 0 | ns->ns_unified_node.ns_list_entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ns->ns_unified_node.ns_list_entry.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | ns_tree | 4190335101694787584 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &pernet_ops_rwsem |
kernel/cgroup/namespace.c __ns_tree_add() -> __ns_tree_add_raw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ns | 4096-ptr_max |
| PARAM_VALUE | 1 | ns_tree | 8013593300199546880 |
| DATA_SOURCE | 0 | ns | $0 |
| DATA_SOURCE | 1 | ns_tree | $1 |
| NS_CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &tsk->signal->exec_update_lock |
kernel/time/namespace.c __ns_tree_add() -> __ns_tree_add_raw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ns | 4096-ptr_max |
| PARAM_VALUE | 1 | ns_tree | 732401172809281536 |
| DATA_SOURCE | 0 | ns | $0 |
| DATA_SOURCE | 1 | ns_tree | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
kernel/pid_namespace.c __ns_tree_add() -> __ns_tree_add_raw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ns | 4096-ptr_max |
| PARAM_VALUE | 1 | ns_tree | 1386394329188192256 |
| DATA_SOURCE | 0 | ns | $0 |
| DATA_SOURCE | 1 | ns_tree | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/namespace.c __ns_tree_add() -> __ns_tree_add_raw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ns | 43159351630516224 |
| PARAM_VALUE | 1 | ns_tree | 2836868247855108096 |
| DATA_SOURCE | 0 | ns | $0 |
| DATA_SOURCE | 1 | ns_tree | $1 |
| NOCHECK_CALL | |||
| LOCK2 | &root.dentry->d_inode->i_rwsem | ||
| LOCK2 | global &namespace_sem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/namespace.c copy_mnt_ns() -> __ns_tree_add_raw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ns | 4096-ptr_max |
| PARAM_VALUE | 0 | ns->__ns_ref.refs.counter | 1 |
| PARAM_VALUE | 0 | ns->__ns_ref_active.counter | 0-1 |
| PARAM_VALUE | 0 | ns->ns_owner_node.ns_list_entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ns->ns_owner_node.ns_list_entry.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ns->ns_owner_root.ns_list_head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ns->ns_owner_root.ns_list_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ns->ns_tree_node.ns_list_entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ns->ns_tree_node.ns_list_entry.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ns->ns_unified_node.ns_list_entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ns->ns_unified_node.ns_list_entry.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ns->ops | 2920727106138640384 |
| PARAM_VALUE | 0 | ns->stashed | 0 |
| PARAM_VALUE | 1 | ns_tree | 2836868247855108096 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &namespace_sem | ||
| HALF_LOCKED2 | &tsk->signal->exec_update_lock |
fs/namespace.c create_new_namespace() -> __ns_tree_add_raw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ns | 4096-ptr_max |
| PARAM_VALUE | 0 | ns->__ns_ref.refs.counter | 1 |
| PARAM_VALUE | 0 | ns->__ns_ref_active.counter | 0-1 |
| PARAM_VALUE | 0 | ns->ns_owner_node.ns_list_entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ns->ns_owner_node.ns_list_entry.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ns->ns_owner_root.ns_list_head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ns->ns_owner_root.ns_list_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ns->ns_tree_node.ns_list_entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ns->ns_tree_node.ns_list_entry.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ns->ns_unified_node.ns_list_entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ns->ns_unified_node.ns_list_entry.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ns->ops | 2920727106138640384 |
| PARAM_VALUE | 0 | ns->stashed | 0 |
| PARAM_VALUE | 1 | ns_tree | 2836868247855108096 |
| NS_CAPABLE | 0 | 21 | |
| NOCHECK_CALL | |||
| LOCK2 | &to_path.dentry->d_inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
kernel/cgroup/cgroup.c __ns_tree_add() -> __ns_tree_add_raw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ns | 7536951226330361856 |
| PARAM_VALUE | 1 | ns_tree | 8013593300199546880 |
| DATA_SOURCE | 0 | ns | $0 |
| DATA_SOURCE | 1 | ns_tree | $1 |
| NOCHECK_CALL |
kernel/user_namespace.c __ns_tree_add() -> __ns_tree_add_raw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ns | 4096-ptr_max |
| PARAM_VALUE | 1 | ns_tree | 3487737289816088576 |
| DATA_SOURCE | 0 | ns | $0 |
| DATA_SOURCE | 1 | ns_tree | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
ipc/shm.c __ns_tree_add() -> __ns_tree_add_raw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ns | 5749214724423633536 |
| PARAM_VALUE | 1 | ns_tree | 7080217876805644288 |
| DATA_SOURCE | 0 | ns | $0 |
| DATA_SOURCE | 1 | ns_tree | $1 |
| NOCHECK_CALL |
kernel/utsname.c __ns_tree_add() -> __ns_tree_add_raw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ns | 4096-ptr_max |
| PARAM_VALUE | 1 | ns_tree | 1386394329188192256 |
| DATA_SOURCE | 0 | ns | $0 |
| DATA_SOURCE | 1 | ns_tree | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |