Function report |
Source Code:kernel\cgroup\cgroup.c |
Create Date:2022-07-28 11:07:45 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:mpare_css_sets - helper function for find_existing_css_set()
Proto:static bool compare_css_sets(struct css_set *cset, struct css_set *old_cset, struct cgroup *new_cgrp, struct cgroup_subsys_state *template[])
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct css_set * | cset | |
struct css_set * | old_cset | |
struct cgroup * | new_cgrp | |
struct cgroup_subsys_state * | template |
1012 | l1 = List of cgrp_cset_links pointing at cgroups referenced from this* css_set. Protected by css_set_lock. |
1013 | l2 = List of cgrp_cset_links pointing at cgroups referenced from this* css_set. Protected by css_set_lock. |
1014 | When 1 cycle |
1022 | BUG_ON(l2 != & List of cgrp_cset_links pointing at cgroups referenced from this* css_set. Protected by css_set_lock.) |
1023 | Break |
1024 | Else |
1045 | Else |
1050 | Return true |
Name | Describe |
---|---|
find_existing_css_set | 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 |
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 |