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:11
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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.

Proto:static int freezer_css_online(struct cgroup_subsys_state *css)

Type:int

Parameter:

TypeParameterName
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  If parent && state & CGROUP_FREEZING Then
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  Return 0