Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:cgroup2_parse_param

Proto:static int cgroup2_parse_param(struct fs_context *fc, struct fs_parameter *param)

Type:int

Parameter:

TypeParameterName
struct fs_context *fc
struct fs_parameter *param
1832  ctx = cgroup_fc2context(fc)
1836  opt = fs_parse(fc, & cgroup2_fs_parameters, param, & result)
1837  If opt < 0 Then Return opt
1841  Case opt == Opt_nsdelegate
1842  CGRP_ROOT_* flags |= CGRP_ROOT_NS_DELEGATE
1843  Return 0
1844  Case opt == Opt_memory_localevents
1845  CGRP_ROOT_* flags |= CGRP_ROOT_MEMORY_LOCAL_EVENTS
1846  Return 0
1848  Return -EINVAL