函数逻辑报告 |
Source Code:kernel\cgroup\cgroup.c |
Create Date:2022-07-27 12:09:32 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:mpare_css_sets - helper function for find_existing_css_set()
函数原型:static bool compare_css_sets(struct css_set *cset, struct css_set *old_cset, struct cgroup *new_cgrp, struct cgroup_subsys_state *template[])
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct css_set * | cset | |
struct css_set * | old_cset | |
struct cgroup * | new_cgrp | |
struct cgroup_subsys_state * | template |
993 | 如果内存比较则返回:false |
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 | 当1循环 |
1022 | BUG_ON(l2 != & List of cgrp_cset_links pointing at cgroups referenced from this* css_set. Protected by css_set_lock.) |
1023 | 退出 |
1024 | 否则 |
1045 | 否则 |
1050 | 返回:true |
名称 | 描述 |
---|---|
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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |