函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ss_clear_dir - remove subsys files in a cgroup directory*@css: taget css

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

返回类型:void

参数:

类型参数名称
struct cgroup_subsys_state *css
1649  cgrp等于PI: the cgroup that this css is attached to
1652  如果非flags按位与CSS_VISIBLE的值则返回
1655  flags与等于CSS_VISIBLE的反
1657  如果非PI: the cgroup subsystem that this css is attached to
1658  如果group_on_dfl - test whether a cgroup is on the default hierarchy*@cgrp: the cgroup of interest* The default hierarchy is the v2 interface of cgroup and this function* can be used to test whether a cgroup is on the default hierarchy for* cases where a cfts等于cgroup_base_files
1660  否则cfts等于cgroup-v1.c
1663  cgroup_addrm_files(css, cgrp, cfts, false)
1664  否则
1665  list_for_each_entry - iterate over list of given type*@pos: the type * to use as a loop cursor.*@head: the head for your list.*@member: the name of the list_head within the struct.(cfts, & * List of cftypes. Each entry is the first entry of an array * terminated by zero length name., node)
1666  cgroup_addrm_files(css, cgrp, cfts, false)
调用者
名称描述
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()
kill_css
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