Function report |
Source Code:kernel\cgroup\cgroup.c |
Create Date:2022-07-28 11:07:47 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:d_existing_css_set - init css array and find the matching css_set*@old_cset: the css_set that we're using before the cgroup transition*@cgrp: the cgroup that we're moving into*@template: out param for the new set of csses, should be clear on entry
Proto:static struct css_set *find_existing_css_set(struct css_set *old_cset, struct cgroup *cgrp, struct cgroup_subsys_state *template[])
Type:struct css_set
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct css_set * | old_cset | |
| struct cgroup * | cgrp | |
| struct cgroup_subsys_state * | template |
| 1075 | If The bitmask of subsystems attached to this hierarchy & 1UL << i Then |
| 1081 | Else |
| 1090 | key = css_set_hash(template) |
| 1092 | If Not mpare_css_sets - helper function for find_existing_css_set() Then Continue |
| 1096 | Return cset |
| 1100 | Return NULL |
| Name | Describe |
|---|---|
| find_css_set | d_css_set - return a new css_set with one cgroup updated*@old_cset: the baseline css_set*@cgrp: the cgroup to be updated* Return a new css_set that's equivalent to @old_cset, but with @cgrp* substituted into the appropriate hierarchy. |
| 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 |