函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:kill_css

函数原型:static void kill_css(struct cgroup_subsys_state *css)

返回类型:void

参数:

类型参数名称
struct cgroup_subsys_state *css
5392  lockdep_assert_held( & cgroup_mutex is the master lock)
5394  如果flags按位与CSS_DYING则返回
5397  flags或等于CSS_DYING
5403  ss_clear_dir - remove subsys files in a cgroup directory*@css: taget css
5409  获取指定CSS参考
5421  percpu_ref_kill_and_confirm - drop the initial ref and schedule confirmation*@ref: percpu_ref to kill*@confirm_kill: optional confirmation callback* Equivalent to percpu_ref_kill() but also schedules kill confirmation if*@confirm_kill is not NULL
调用者
名称描述
cgroup_apply_control_disablegroup_apply_control_disable - kill or hide csses according to control*@cgrp: root of the target subtree* Walk @cgrp's subtree and kill and hide csses so that they match* cgroup_ss_mask() and cgroup_visible_mask()
cgroup_destroy_lockedgroup_destroy_locked - the first stage of cgroup destruction*@cgrp: cgroup to be destroyed* css's make use of percpu refcnts whose killing latency shouldn't be* exposed to userland and are RCU protected