Function report |
Source Code:fs\buffer.c |
Create Date:2022-07-28 20:14:10 |
| Last Modify:2020-03-18 10:38:29 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__block_write_begin
Proto:int __block_write_begin(struct page *page, loff_t pos, unsigned len, get_block_t *get_block)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct page * | page | |
| loff_t | pos | |
| unsigned | len | |
| get_block_t * | get_block |
| 2058 | Return __block_write_begin_int(page, pos, len, get_block, NULL) |
| 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. |
| block_page_mkwrite | lock_page_mkwrite() is not allowed to change the file size as it gets* called from a page fault handler when a page is first dirtied |
| 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. |
| 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 |