函数逻辑报告 |
Source Code:kernel\cgroup\cgroup.c |
Create Date:2022-07-27 12:09:23 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:group_update_populated - update the populated count of a cgroup*@cgrp: the target cgroup*@populated: inc or dec populated count* One of the css_sets associated with @cgrp is either getting its first* task or losing the last
函数原型:static void cgroup_update_populated(struct cgroup *cgrp, bool populated)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct cgroup * | cgrp | |
bool | populated |
803 | lockdep_assert_held( & css_set_lock) |
805 | 循环 |
808 | 如果非child则 |
810 | 否则 |
813 | 否则nr_populated_domain_children加等于adj |
821 | cgroup_path() takes a spin lock(notify_populated, cgrp, synchronization, the result can only be used as a hint ) |
826 | cgrp等于cgroup_parent(cgrp) |
名称 | 描述 |
---|---|
css_set_update_populated | ss_set_update_populated - update populated state of a css_set*@cset: target css_set*@populated: whether @cset is populated or depopulated*@cset is either getting the first task or losing the last. Update the |
cgroup_setup_root |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |