函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\nsproxy.c Create Date:2022-07-27 10:32:02
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:create_nsproxy

函数原型:static inline struct nsproxy *create_nsproxy(void)

返回类型:struct nsproxy

参数:

49  nsproxy等于kmem_cache_alloc(nsproxy_cachep, GFP_KERNEL)
50  如果nsproxyatomic_set( & 代理记录数, 1)
52  返回:nsproxy
调用者
名称描述
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.