Function report | 
Source Code:mm\filemap.c | 
Create Date:2022-07-28 14:03:21 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Find or create a page at the given pagecache position. Return the locked* page. This function is specifically for buffered writes.
Proto:struct page *grab_cache_page_write_begin(struct address_space *mapping, unsigned long index, unsigned flags)
Type:struct page
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct address_space * | mapping | |
| unsigned long | index | |
| unsigned | flags | 
| 3256 | If flags & used by filesystem to direct* helper code (eg buffer layer)* to clear GFP_FS from alloc Then fgp_flags |= FGP_NOFS | 
| 3261 | If page Then wait_for_stable_page(page) | 
| 3264 | Return page | 
| Name | Describe | 
|---|---|
| block_write_begin | lock_write_begin takes care of the basic task of block allocation and* bringing partial write blocks uptodate first.* The filesystem needs to handle block truncation upon failure. | 
| nobh_write_begin | On entry, the page is fully not uptodate.* On exit the page is fully uptodate in the areas outside (from,to)* The filesystem needs to handle block truncation upon failure. | 
| iomap_write_begin | 
| 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  |