函数逻辑报告 |
Source Code:mm\hwpoison-inject.c |
Create Date:2022-07-27 17:55:04 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:pfn_inject_init
函数原型:static int pfn_inject_init(void)
返回类型:int
参数:无
80 | hwpoison_dir等于debugfs_create_dir("hwpoison", NULL) |
87 | debugfs_create_file("corrupt-pfn", 0200, hwpoison_dir, NULL, & hwpoison_fops) |
90 | debugfs_create_file("unpoison-pfn", 0200, hwpoison_dir, NULL, & unpoison_fops) |
93 | debugfs_create_u32("corrupt-filter-enable", 0600, hwpoison_dir, & hwpoison_filter_enable) |
96 | debugfs_create_u32("corrupt-filter-dev-major", 0600, hwpoison_dir, & hwpoison_filter_dev_major) |
99 | debugfs_create_u32("corrupt-filter-dev-minor", 0600, hwpoison_dir, & hwpoison_filter_dev_minor) |
102 | debugfs_create_u64("corrupt-filter-flags-mask", 0600, hwpoison_dir, & hwpoison_filter_flags_mask) |
105 | debugfs_create_u64("corrupt-filter-flags-value", 0600, hwpoison_dir, & hwpoison_filter_flags_value) |
113 | 返回:0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |