函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Propagate the cgroup frozen state upwards by the cgroup tree.

函数原型:static void cgroup_propagate_frozen(struct cgroup *cgrp, bool frozen)

返回类型:void

参数:

类型参数名称
struct cgroup *cgrp
boolfrozen
16  desc等于1
24 cgrp等于cgroup_parent(cgrp)循环
25  如果frozen
36  否则
调用者
名称描述
cgroup_update_frozenRevisit the cgroup frozen state.* Checks if the cgroup is really frozen and perform all state transitions.