函数逻辑报告 |
Source Code:arch\x86\kernel\cpu\resctrl\rdtgroup.c |
Create Date:2022-07-27 09:11:23 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:dtgroup_cbm_to_size - Translate CBM to size in bytes*@r: RDT resource to which @d belongs.*@d: RDT domain instance.*@cbm: bitmask for which the size should be computed.* The bitmask provided associated with the RDT domain instance @d will be
函数原型:unsigned int rdtgroup_cbm_to_size(struct rdt_resource *r, struct rdt_domain *d, unsigned long cbm)
返回类型:unsigned int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct rdt_resource * | r | |
struct rdt_domain * | d | |
unsigned long | cbm |
1262 | size等于0 |
1265 | num_b等于bitmap_weight( & cbm, cbm_len) |
1266 | ci等于get_cpu_cacheinfo(cpumask_any - pick a "random" cpu from *srcp*@srcp: the input cpumask* Returns >= nr_cpu_ids if no cpus set.( & cpu_mask)) |
1267 | 以i小于num_leaves循环 |
1274 | 返回:size |
名称 | 描述 |
---|---|
rdtgroup_size_show | dtgroup_size_show - Display size in bytes of allocated regions* The "size" file mirrors the layout of the "schemata" file, printing the* size in bytes of each region instead of the capacity bitmask. |
pseudo_lock_region_init | pseudo_lock_region_init - Initialize pseudo-lock region information*@plr: pseudo-lock region* Called after user provided a schemata to be pseudo-locked. From the* schemata the &struct pseudo_lock_region is on entry already initialized |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |