Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/nstree.c __ns_tree_add_raw() -> (struct proc_ns_operations)->owner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ns | 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_tree_node.ns_node.rb_left | 0,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->ns_unified_node.ns_node.rb_left | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ns->ops | 4096-ptr_max |
| DATA_SOURCE | 0 | ns | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &ns_tree_lock.lock | ||
| HALF_LOCKED2 | &to_path.dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | global &namespace_sem | ||
| HALF_LOCKED2 | global &pernet_ops_rwsem |
kernel/nstree.c __ns_tree_remove() -> (struct proc_ns_operations)->owner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ns | 4096-ptr_max |
| PARAM_VALUE | 0 | ns->ns_tree_node.ns_list_entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ns->ns_tree_node.ns_list_entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ns->ns_tree_node.ns_node.rb_left | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ns->ns_tree_node.ns_node.rb_right | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ns->ns_unified_node.ns_list_entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ns->ns_unified_node.ns_list_entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ns->ns_unified_node.ns_node.rb_left | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ns->ns_unified_node.ns_node.rb_right | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ns->ops | 4096-ptr_max |
| CAPPED_DATA | 0 | &ns->ns_tree_node.ns_list_entry | 1 |
| DATA_SOURCE | 0 | ns | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &ns_tree_lock.lock | ||
| HALF_LOCKED2 | global &net_rwsem | ||
| HALF_LOCKED2 | global &pernet_ops_rwsem | ||
| TYPE_LOCK | (struct seqlock)->lock |
kernel/nscommon.c ns_owner() -> (struct proc_ns_operations)->owner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ns | 4096-ptr_max |
| PARAM_VALUE | 0 | ns->ops | 4096-ptr_max |
| BUF_SIZE | 0 | ns | s32min-s32max |
| DATA_SOURCE | 0 | ns | $0 |
| CONTAINER | 0 | -40-80+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING |
kernel/user_namespace.c ns_get_owner() -> (struct proc_ns_operations)->owner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ns | 4096-ptr_max |
| PARAM_VALUE | 0 | ns->ops | 4096-ptr_max |
| BUF_SIZE | 0 | ns | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ns | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | ns | $0 |
| CONTAINER | 0 | -40-80+0 | $(-1) |
| HALF_LOCKED2 | global &rtnl_mutex |