函数逻辑报告 |
Source Code:arch\x86\kernel\cpu\resctrl\ctrlmondata.c |
Create Date:2022-07-27 09:12:54 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Read one cache bit mask (hex). Check that it is valid for the current* resource type.
函数原型:int parse_cbm(struct rdt_parse_data *data, struct rdt_resource *r, struct rdt_domain *d)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct rdt_parse_data * | data | |
struct rdt_resource * | r | |
struct rdt_domain * | d |
200 | 如果have_new_ctrl则 |
201 | rdt_last_cmd_printf("Duplicate domain %d\n", id) |
202 | 返回:负EINVAL |
211 | rdt_last_cmd_puts("Pseudo-locked region in hierarchy\n") |
212 | 返回:负EINVAL |
215 | 如果非cbm_validate(buf, & cbm_val, r)则返回:负EINVAL |
221 | rdt_last_cmd_puts("CBM overlaps with pseudo-locked region\n") |
222 | 返回:负EINVAL |
230 | rdt_last_cmd_puts("Overlaps with exclusive group\n") |
231 | 返回:负EINVAL |
235 | 如果mode恒等于RDT_MODE_EXCLUSIVE或mode恒等于RDT_MODE_PSEUDO_LOCKSETUP则 |
237 | rdt_last_cmd_puts("Overlaps with other group\n") |
238 | 返回:负EINVAL |
243 | have_new_ctrl = true |
245 | 返回:0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |