函数逻辑报告 |
Source Code:arch\x86\kernel\cpu\resctrl\rdtgroup.c |
Create Date:2022-07-27 09:12:17 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:dtgroup_init - rdtgroup initialization* Setup resctrl file system including set up root, create mount point,* register rdtgroup filesystem, and initialize files under root directory.* Return: 0 on success or -errno
函数原型:int __init rdtgroup_init(void)
返回类型:int
参数:无
| 3081 | ret等于0 |
| 3083 | seq_buf_init( & last_cmd_status, last_cmd_status_buf, last_cmd_status_buf的长度) |
| 3086 | ret等于rdtgroup_setup_root() |
| 3090 | ret等于sysfs_create_mount_point(/sys/fs , "resctrl") |
| 3091 | 如果ret则转到:cleanup_root |
| 3094 | ret等于gister_filesystem - register a new filesystem*@fs: the file system structure* Adds the file system passed to the list of file systems the kernel* is aware of for mount and other syscalls |
| 3095 | 如果ret则转到:cleanup_mountpoint |
| 3119 | debugfs_resctrl等于debugfs_create_dir("resctrl", NULL) |
| 3121 | 返回:0 |
| 3123 | cleanup_mountpoint : |
| 3124 | sysfs_remove_mount_point(/sys/fs , "resctrl") |
| 3125 | cleanup_root : |
| 3126 | kernfs_destroy_root(rdt_root) |
| 3128 | 返回:ret |
| 名称 | 描述 |
|---|---|
| resctrl_late_init |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |