Function report |
Source Code:mm\hwpoison-inject.c |
Create Date:2022-07-28 16:20:20 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:pfn_inject_init
Proto:static int pfn_inject_init(void)
Type:int
Parameter:Nothing
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 | Return 0 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |