函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:create_uts_ns

函数原型:static struct uts_namespace *create_uts_ns(void)

返回类型:struct uts_namespace

参数:

34  uts_ns等于kmem_cache_alloc(uts_ns_cache, GFP_KERNEL)
35  如果uts_ns初始化对象
37  返回:uts_ns
调用者
名称描述
clone_uts_nsClone a new ns copying an original utsname, setting refcount to 1*@old_ns: namespace to clone* Return ERR_PTR(-ENOMEM) on error (failure to allocate), new ns otherwise