Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\cgroup\legacy_freezer.c Create Date:2022-07-28 11:14:08
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:parent_freezer

Proto:static struct freezer *parent_freezer(struct freezer *freezer)

Type:struct freezer

Parameter:

TypeParameterName
struct freezer *freezer
62  Return css_freezer(PI: the parent css. Placed here for cache proximity to following* fields of the containing structure.)
Caller
NameDescribe
freezer_css_onlinezer_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.
freezer_attachTasks can be migrated into a different freezer anytime regardless of its* current state. freezer_attach() is responsible for making new tasks* conform to the current state.* Freezer state changes and task migration are synchronized via*@freezer->lock
freezer_change_statezer_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.