Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\cgroup.h Create Date:2022-07-28 05:55:04
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:put_cgroup_ns

Proto:static inline void put_cgroup_ns(struct cgroup_namespace *ns)

Type:void

Parameter:

TypeParameterName
struct cgroup_namespace *ns
889  If ns && _dec_and_test - decrement a refcount and test if it is 0*@r: the refcount* Similar to atomic_dec_and_test(), it will WARN on underflow and fail to* decrement when saturated at REFCOUNT_SATURATED Then free_cgroup_ns(ns)
Caller
NameDescribe
create_new_namespacesCreate new nsproxy and all of its the associated namespaces.* Return the newly created nsproxy. Do not attach this to the task,* leave it to the caller to do proper locking and attach it to task.
free_nsproxy
cgroup_fs_context_freeDestroy a cgroup filesystem context.
cgroupns_install
cgroupns_put