Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\nsproxy.c Create Date:2022-07-28 09:31:24
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:create_nsproxy

Proto:static inline struct nsproxy *create_nsproxy(void)

Type:struct nsproxy

Parameter:Nothing

49  nsproxy = kmem_cache_alloc(nsproxy_cachep, GFP_KERNEL)
50  If nsproxy Then atomic_set( & count, 1)
52  Return nsproxy
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.