函数逻辑报告 |
Source Code:arch\x86\kernel\cpu\resctrl\pseudo_lock.c |
Create Date:2022-07-27 09:13:52 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:static int pseudo_lock_region_init(struct pseudo_lock_region *plr)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct pseudo_lock_region * | plr |
284 | 如果非cpu_online(cpu)则 |
285 | rdt_last_cmd_printf("CPU %u associated with cache not online\n", cpu) |
288 | 转到:out_region |
291 | ci等于get_cpu_cacheinfo(cpu) |
295 | 以i小于num_leaves循环 |
296 | 如果level恒等于cache_level则 |
298 | 返回:0 |
302 | ret等于负1 |
303 | rdt_last_cmd_puts("Unable to determine cache line size\n") |
304 | out_region : |
306 | 返回:ret |
名称 | 描述 |
---|---|
pseudo_lock_region_alloc | pseudo_lock_region_alloc - Allocate kernel memory that will be pseudo-locked*@plr: pseudo-lock region* Initialize the details required to set up the pseudo-locked region and* allocate the contiguous memory that will be pseudo-locked to the cache. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |