函数逻辑报告 |
Source Code:arch\x86\kernel\cpu\resctrl\rdtgroup.c |
Create Date:2022-07-27 09:12:00 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:bm_ensure_valid - Enforce validity on provided CBM*@_val: Candidate CBM*@r: RDT resource to which the CBM belongs* The provided CBM represents all cache portions available for use
函数原型:static unsigned int cbm_ensure_valid(unsigned int _val, struct rdt_resource *r)
返回类型:unsigned int
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned int | _val | |
struct rdt_resource * | r |
2502 | 如果非val则返回:0 |
2505 | first_bit等于find_first_bit( & val, cbm_len) |
2506 | zero_bit等于在内存区域中查找下一个零位 |
2509 | bitmap_clear( & val, zero_bit, cbm_len - zero_bit) |
2510 | 返回:val |
名称 | 描述 |
---|---|
__init_one_rdt_domain | Initialize cache resources per RDT domain* Set the RDT domain up to start off with all usable allocations. That is,* all shareable and unused bits. All-zero CBM is invalid. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |