函数逻辑报告 |
Source Code:kernel\cgroup\cgroup.c |
Create Date:2022-07-27 12:09:55 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:group_calc_subtree_ss_mask - calculate subtree_ss_mask*@subtree_control: the new subtree_control mask to consider*@this_ss_mask: available subsystems* On the default hierarchy, a subsystem may request other subsystems to be
函数原型:static u16 cgroup_calc_subtree_ss_mask(u16 subtree_control, u16 this_ss_mask)
返回类型:u16
参数:
类型 | 参数 | 名称 |
---|---|---|
u16 | subtree_control | |
u16 | this_ss_mask |
1520 | cur_ss_mask等于subtree_control |
1528 | 当(true)循环 |
1529 | new_ss_mask等于cur_ss_mask |
1531 | 循环 |
1531 | __ss_mask等于cur_ss_mask |
1531 | 如果非CGROUP_SUBSYS_COUNT则 |
1531 | 以ssid小于CGROUP_SUBSYS_COUNT循环 |
1531 | ss等于cgroup_subsys[ssid] |
1533 | 当(false)循环 |
1540 | new_ss_mask与等于this_ss_mask |
1542 | 如果new_ss_mask恒等于cur_ss_mask则退出 |
1544 | cur_ss_mask等于new_ss_mask |
1547 | 返回:cur_ss_mask |
名称 | 描述 |
---|---|
cgroup_propagate_control | group_propagate_control - refresh control masks of a subtree*@cgrp: root of the target subtree* For @cgrp and its subtree, ensure ->subtree_ss_mask matches* ->subtree_control and propagate controller availability through the |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |