函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:zer_css_online - commit creation of a freezer css*@css: css being created* We're committing to creation of @css. Mark it online and inherit* parent's freezing state while holding both parent's and our* freezer->lock.

函数原型:static int freezer_css_online(struct cgroup_subsys_state *css)

返回类型:int

参数:

类型参数名称
struct cgroup_subsys_state *css
107  freezer等于css_freezer(css)
108  parent等于parent_freezer(freezer)
110  mutex_lock( & freezer_mutex)
112  state或等于zer is fully online
114  如果parentstate按位与CGROUP_FREEZING
115  state或等于he parent freezer is freezing 按位或his and its descendants frozen
116  atomic_inc( & al number of freezing conditions in effect )
119  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.
120  返回:0