Function report |
Source Code:fs\libfs.c |
Create Date:2022-07-28 20:10:24 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:simple_write_begin
Proto:int simple_write_begin(struct file *file, struct address_space *mapping, loff_t pos, unsigned len, unsigned flags, struct page **pagep, void **fsdata)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct file * | file | |
| struct address_space * | mapping | |
| loff_t | pos | |
| unsigned | len | |
| unsigned | flags | |
| struct page ** | pagep | |
| void ** | fsdata |
| 457 | index = pos >> PAGE_SHIFT determines the page size |
| 459 | page = Find or create a page at the given pagecache position. Return the locked* page. This function is specifically for buffered writes. |
| 465 | If Not PageUptodate(page) && len != PAGE_SIZE Then |
| 470 | Return 0 |
| 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 |