Function report |
Source Code:mm\memory-failure.c |
Create Date:2022-07-28 16:19:43 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Safely get reference count of an arbitrary page.* Returns 0 for a free page, -EIO for a zero refcount page* that is not free, and 1 for any other page type.* For 1 the page is returned with increased page count, otherwise not.
Proto:static int __get_any_page(struct page *p, unsigned long pfn, int flags)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct page * | p | |
unsigned long | pfn | |
int | flags |
1616 | If flags & MF_COUNT_INCREASED Then Return 1 |
1627 | Else if is_free_buddy_page(p) Then |
1630 | Else |
1635 | Else |
1637 | ret = 1 |
1639 | Return ret |
Name | Describe |
---|---|
get_any_page |
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 |