函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\cgroup\cgroup.c Create Date:2022-07-27 12:11:57
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:cgroup_rm_cftypes_locked

函数原型:static int cgroup_rm_cftypes_locked(struct cftype *cfts)

返回类型:int

参数:

类型参数名称
struct cftype *cfts
3977  lockdep_assert_held( & cgroup_mutex is the master lock)
3979  如果非cfts或非NULL for cgroup core files 则返回:负ENOENT
3982  删除链表项
3983  cgroup_apply_cftypes(cfts, false)
3984  cgroup_exit_cftypes(cfts)
3985  返回:0
调用者
名称描述
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