函数逻辑报告

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

函数名称:group_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

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

返回类型:int

参数:

类型参数名称
struct cftype *cfts
4003  mutex_lock( & cgroup_mutex is the master lock)
4004  ret等于cgroup_rm_cftypes_locked(cfts)
4005  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.
4006  返回:ret
调用者
名称描述
blkcg_policy_unregisterlkcg_policy_unregister - unregister a blkcg policy*@pol: blkcg policy to unregister* Undo blkcg_policy_register(@pol). Might sleep.