Function report |
Source Code:mm\memory-failure.c |
Create Date:2022-07-28 16:18:17 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:hwpoison_filter_dev
Proto:static int hwpoison_filter_dev(struct page *p)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct page * | p |
| 86 | If hwpoison_filter_dev_major == ~0U && hwpoison_filter_dev_minor == ~0U Then Return 0 |
| 96 | mapping = page_mapping(p) |
| 101 | If hwpoison_filter_dev_major != ~0U && hwpoison_filter_dev_major != MAJOR(dev) Then Return -EINVAL |
| 104 | If hwpoison_filter_dev_minor != ~0U && hwpoison_filter_dev_minor != MINOR(dev) Then Return -EINVAL |
| 108 | Return 0 |
| Name | Describe |
|---|---|
| hwpoison_filter |
| 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 |