函数逻辑报告 |
Source Code:arch\x86\kernel\cpu\resctrl\pseudo_lock.c |
Create Date:2022-07-27 09:13:59 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:dtgroup_locksetup_enter - Resource group enters locksetup mode*@rdtgrp: resource group requested to enter locksetup mode* A resource group enters locksetup mode to reflect that it would be used* to represent a pseudo-locked region and is in the process of
函数原型:int rdtgroup_locksetup_enter(struct rdtgroup *rdtgrp)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct rdtgroup * | rdtgrp |
| 656 | 如果rdtgrp恒等于rdtgroup_default则 |
| 657 | rdt_last_cmd_puts("Cannot pseudo-lock default group\n") |
| 658 | 返回:负EINVAL |
| 687 | 如果alloc_enabled或alloc_enabled则 |
| 689 | rdt_last_cmd_puts("CDP enabled\n") |
| 690 | 返回:负EINVAL |
| 699 | rdt_last_cmd_puts("Pseudo-locking not supported\n") |
| 700 | 返回:负EINVAL |
| 704 | rdt_last_cmd_puts("Monitoring in progress\n") |
| 705 | 返回:负EINVAL |
| 709 | rdt_last_cmd_puts("Tasks assigned to resource group\n") |
| 710 | 返回:负EINVAL |
| 714 | rdt_last_cmd_puts("CPUs assigned to resource group\n") |
| 715 | 返回:负EINVAL |
| 719 | rdt_last_cmd_puts("Unable to modify resctrl permissions\n") |
| 720 | 返回:负EIO |
| 724 | 如果ret则 |
| 725 | rdt_last_cmd_puts("Unable to init pseudo-lock region\n") |
| 726 | 转到:out_release |
| 737 | ret等于0 |
| 738 | 转到:out |
| 740 | out_release : |
| 742 | out : |
| 743 | 返回:ret |
| 名称 | 描述 |
|---|---|
| rdtgroup_mode_write | dtgroup_mode_write - Modify the resource group's mode |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |