Function report |
Source Code:kernel\cgroup\legacy_freezer.c |
Create Date:2022-07-28 11:14:19 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:static void freezer_apply_state(struct freezer *freezer, bool freeze, unsigned int state)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct freezer * | freezer | |
bool | freeze | |
unsigned int | state |
353 | lockdep_assert_held( & freezer_mutex) |
355 | If Not (state & zer is fully online ) Then Return |
358 | If freeze Then |
359 | If Not (state & CGROUP_FREEZING) Then atomic_inc( & al number of freezing conditions in effect ) |
362 | freeze_cgroup(freezer) |
363 | Else |
364 | was_freezing = state & CGROUP_FREEZING |
368 | If Not (state & CGROUP_FREEZING) Then |
369 | If was_freezing Then atomic_dec( & al number of freezing conditions in effect ) |
371 | state &= ~his and its descendants frozen |
372 | unfreeze_cgroup(freezer) |
Name | Describe |
---|---|
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. |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |