Function report |
Source Code:kernel\cgroup\cgroup.c |
Create Date:2022-07-28 11:08:06 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:static u16 cgroup_calc_subtree_ss_mask(u16 subtree_control, u16 this_ss_mask)
Type:u16
Parameter:
Type | Parameter | Name |
---|---|---|
u16 | subtree_control | |
u16 | this_ss_mask |
1520 | cur_ss_mask = subtree_control |
1528 | When (true) cycle |
1529 | new_ss_mask = cur_ss_mask |
1531 | Do |
1531 | __ss_mask = cur_ss_mask |
1531 | If Not CGROUP_SUBSYS_COUNT Then |
1531 | ssid = 0 |
1531 | Break |
1531 | When ssid < CGROUP_SUBSYS_COUNT cycle |
1531 | ss = cgroup_subsys[ssid] |
1533 | When (false) cycle |
1540 | new_ss_mask &= this_ss_mask |
1542 | If new_ss_mask == cur_ss_mask Then Break |
1544 | cur_ss_mask = new_ss_mask |
1547 | Return cur_ss_mask |
Name | Describe |
---|---|
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 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |