函数逻辑报告 |
Source Code:kernel\cgroup\legacy_freezer.c |
Create Date:2022-07-27 12:16:32 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:zer_apply_state - apply state change to a single cgroup_freezer*@freezer: freezer to apply state change to*@freeze: whether to freeze or unfreeze*@state: CGROUP_FREEZING_* flag to set or clear* Set or clear @state on @cgroup according to @freeze, and
函数原型:static void freezer_apply_state(struct freezer *freezer, bool freeze, unsigned int state)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct freezer * | freezer | |
bool | freeze | |
unsigned int | state |
353 | lockdep_assert_held( & freezer_mutex) |
355 | 如果非state按位与zer is fully online 的值则返回 |
358 | 如果freeze则 |
359 | 如果非state按位与CGROUP_FREEZING的值则atomic_inc( & al number of freezing conditions in effect ) |
362 | freeze_cgroup(freezer) |
363 | 否则 |
364 | was_freezing等于state按位与CGROUP_FREEZING |
368 | 如果非state按位与CGROUP_FREEZING的值则 |
371 | state与等于his and its descendants frozen 的反 |
372 | unfreeze_cgroup(freezer) |
名称 | 描述 |
---|---|
freezer_change_state | zer_change_state - change the freezing state of a cgroup_freezer*@freezer: freezer of interest*@freeze: whether to freeze or thaw* Freeze or thaw @freezer according to @freeze. The operations are* recursive - all descendants of @freezer will be affected. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |