Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:group_add_dfl_cftypes - add an array of cftypes for default hierarchy*@ss: target cgroup subsystem*@cfts: zero-length name terminated array of cftypes* Similar to cgroup_add_cftypes() but the added files are only used for* the default hierarchy.

Proto:int cgroup_add_dfl_cftypes(struct cgroup_subsys *ss, struct cftype *cfts)

Type:int

Parameter:

TypeParameterName
struct cgroup_subsys *ss
struct cftype *cfts
4060  When cft && By convention, the name should begin with the name of the* subsystem, followed by a period. Zero length string indicates* end of cftype array.[0] != '\0' cycle CFTYPE_* flags |= __CFTYPE_ONLY_ON_DFL
4062  Return group_add_cftypes - add an array of cftypes to a subsystem*@ss: target cgroup subsystem*@cfts: zero-length name terminated array of cftypes* Register @cfts to @ss
Caller
NameDescribe
cgroup_initgroup_init - cgroup initialization* Register cgroup filesystem and /proc file, and initialize* any subsystems that didn't request early init.