Function report |
Source Code:mm\z3fold.c |
Create Date:2022-07-28 16:30:31 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:z3fold_page_isolate
Proto:static bool z3fold_page_isolate(struct page *page, isolate_mode_t mode)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct page * | page | |
isolate_mode_t | mode |
1571 | VM_BUG_ON_PAGE(!PageMovable(page), page) |
1572 | VM_BUG_ON_PAGE(PageIsolated(page), page) |
1578 | zhdr = page_address(page) |
1579 | Lock a z3fold page |
1584 | If mapped_count != 0 || foreign_handles != 0 Then Go to out |
1587 | pool = zhdr_to_pool(zhdr) |
1589 | If Not list_empty - tests whether a list is empty*@head: the list to test. Then list_del_init - deletes entry from list and reinitialize it.*@entry: the element to delete from the list. |
1591 | If Not list_empty - tests whether a list is empty*@head: the list to test. Then list_del_init - deletes entry from list and reinitialize it.*@entry: the element to delete from the list. |
1593 | spin_unlock( & lock) |
1596 | Unlock a z3fold page |
1597 | Return true |
1599 | out : |
1600 | Unlock a z3fold page |
1601 | Return false |
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 |