Function report |
Source Code:mm\page-writeback.c |
Create Date:2022-07-28 14:11:07 |
Last Modify:2022-05-23 13:25:58 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:write_one_page - write out a single page and wait on I/O*@page: the page to write* The page must be locked by the caller and will be unlocked upon return
Proto:int write_one_page(struct page *page)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct page * | page |
2369 | ret = 0 |
2370 | struct writeback_control wbc = {sync_mode = WB_SYNC_ALL, Write this many pages, and decrementthis for each page written = 1, } |
2375 | BUG_ON(!PageLocked(page)) |
2382 | If ret == 0 Then Wait for a page to complete writeback |
2385 | Else |
2389 | If Not ret Then ret = filemap_check_errors(mapping) |
2391 | Return ret |
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 |