函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: the CSS is online, invoke ->css_offline() on it and mark it offline

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

返回类型:void

参数:

类型参数名称
struct cgroup_subsys_state *css
5063  ss等于PI: the cgroup subsystem that this css is attached to
5065  lockdep_assert_held( & cgroup_mutex is the master lock)
5067  如果非flags按位与CSS_ONLINE的值则返回
5070  如果css_offlinecss_offline(css)
5073  flags与等于CSS_ONLINE的反
5074  RCU_INIT_POINTER() - initialize an RCU protected pointer*@p: The pointer to be initialized.*@v: The value to initialized the pointer to.* Initialize an RCU-protected pointer in special cases where readers( Private pointers for each registered subsystem [ the following two fields are initialized automtically during boot ], NULL)
5076  wake_up_all( & used to wait for offlining of csses )
调用者
名称描述
css_killed_work_fnThis is called when the refcnt of a css is confirmed to be killed.* css_tryget_online() is now guaranteed to fail. Tell the subsystem to* initate destruction and put the css ref from kill_css().