| Function report | 
| Source Code: include\linux\mm.h | Create Date:2022-07-28 05:43:37 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Return the pagecache index of the passed page. Regular pagecache pages* use ->index whereas swapcache pages use swp_offset(->private)
Proto:static inline unsigned long page_index(struct page *page)
Type:unsigned long
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct page * | page | 
| 1355 | If Value for the false possibility is greater at compile time(PageSwapCache(page)) Then Return __page_file_index(page) | 
| 1357 | Return Our offset within mapping. | 
| Name | Describe | 
|---|---|
| __set_page_dirty_nobuffers | For address_spaces which do not use buffers. Just tag the page as dirty in* the xarray.* This is also used when a single buffer is being dirtied: we want to set the* page dirty in that case, but not all the buffers. This is a "bottom-up" | 
| test_clear_page_writeback | |
| __test_set_page_writeback | |
| __basepage_index | |
| migrate_page_move_mapping | Replace the page in the mapping.* The number of remaining references must be:* 1 for anonymous pages without a mapping* 2 for pages with a mapping* 3 for pages with a mapping and PagePrivate/PagePrivate2 set. | 
| migrate_huge_page_move_mapping | The expected number of remaining references is the same as that* of migrate_page_move_mapping(). | 
| split_huge_page_to_list | This function splits huge page into normal pages. @page can point to any* subpage of huge page to split. Split doesn't change the position of @page.* Only caller must hold pin on the @page, otherwise split fails with -EBUSY.* The huge page must be locked. | 
| __set_page_dirty | Mark the page dirty, and set it dirty in the page cache, and mark the inode* dirty.* If warn is true, then emit a warning if the page is not uptodate and has* not been truncated.* The caller must hold lock_page_memcg(). | 
| 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 |