Defined in 2 files as a function:
- include/linux/cgroup_namespace.h, line 37 (as a function)
- include/linux/cgroup_namespace.h, line 54 (as a function)
Referenced in 3 files:
Smatch caller information:
kernel/cgroup/namespace.c cgroupns_install() -> put_cgroup_ns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NS_CAPABLE | 0 | 21 | |
| NOCHECK_CALL |
kernel/cgroup/namespace.c cgroupns_put() -> put_cgroup_ns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ns | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &task->signal->exec_update_lock |
kernel/nsproxy.c create_new_namespaces() -> put_cgroup_ns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ns | 1-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &tsk->signal->exec_update_lock |
kernel/nsproxy.c nsproxy_free() -> put_cgroup_ns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
kernel/cgroup/cgroup.c cgroup_file_open() -> put_cgroup_ns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
kernel/cgroup/cgroup.c cgroup_file_release() -> put_cgroup_ns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &root->kernfs_rwsem |
kernel/cgroup/cgroup.c cgroup_fs_context_free() -> put_cgroup_ns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |