Function report |
Source Code:mm\page-writeback.c |
Create Date:2022-07-28 14:11:05 |
| Last Modify:2022-05-23 13:25:58 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:do_writepages
Proto:int do_writepages(struct address_space *mapping, struct writeback_control *wbc)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct address_space * | mapping | |
| struct writeback_control * | wbc |
| 2340 | If Write this many pages, and decrementthis for each page written <= 0 Then Return 0 |
| 2342 | When 1 cycle |
| 2343 | If writepages Then ret = writepages(mapping, wbc) |
| 2345 | Else ret = generic_writepages - walk the list of dirty pages of the given address space and writepage() all of them |
| 2347 | If ret != -ENOMEM || sync_mode != WB_SYNC_ALL Then Break |
| 2349 | cond_resched() |
| 2352 | 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 |