Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:cgroup_rm_cftypes_locked

Proto:static int cgroup_rm_cftypes_locked(struct cftype *cfts)

Type:int

Parameter:

TypeParameterName
struct cftype *cfts
3977  lockdep_assert_held( & cgroup_mutex is the master lock)
3979  If Not cfts || Not NULL for cgroup core files Then Return -ENOENT
3982  deletes entry from list
3983  cgroup_apply_cftypes(cfts, false)
3984  cgroup_exit_cftypes(cfts)
3985  Return 0
Caller
NameDescribe
cgroup_rm_cftypesgroup_rm_cftypes - remove an array of cftypes from a subsystem*@cfts: zero-length name terminated array of cftypes* Unregister @cfts. Files described by @cfts are removed from all* existing cgroups and all future cgroups won't have them either. This
cgroup_add_cftypesgroup_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