Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:rdt_init_fs_context

Proto:static int rdt_init_fs_context(struct fs_context *fc)

Type:int

Parameter:

TypeParameterName
struct fs_context *fc
2097  ctx = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc).
2098  If Not ctx Then Return -ENOMEM
2101  Root of the hierarchy being mounted = rdt_root
2102  File system specific magic number = RDTGROUP_SUPER_MAGIC
2103  The filesystem's context = kfc
2104  ops = rdt_fs_context_ops
2105  put_user_ns(The user namespace for this mount )
2106  The user namespace for this mount = get_user_ns( & init_user_ns)
2107  Goes into &init_user_ns = true
2108  Return 0