Function report | 
Source Code:include\linux\pagemap.h | 
Create Date:2022-07-28 05:45:09 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Like add_to_page_cache_locked, but used to add newly allocated pages:* the page is new, so we can just run __SetPageLocked() against it.
Proto:static inline int add_to_page_cache(struct page *page, struct address_space *mapping, unsigned long offset, gfp_t gfp_mask)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct page * | page | |
| struct address_space * | mapping | |
| unsigned long | offset | |
| gfp_t | gfp_mask | 
| 626 | __SetPageLocked(page) | 
| 628 | If Value for the false possibility is greater at compile time(error) Then __ClearPageLocked(page) | 
| 630 | Return error | 
| Name | Describe | 
|---|---|
| huge_add_to_page_cache | 
| 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  |