Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:create_uts_ns

Proto:static struct uts_namespace *create_uts_ns(void)

Type:struct uts_namespace

Parameter:Nothing

34  uts_ns = kmem_cache_alloc(uts_ns_cache, GFP_KERNEL)
35  If uts_ns Then kref_init - initialize object.*@kref: object in question.
37  Return uts_ns
Caller
NameDescribe
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