Function report |
Source Code:fs\mpage.c |
Create Date:2022-07-28 20:15:32 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:We have our BIO, so we can now mark the buffers clean. Make* sure to only clean buffers which we know we'll be writing.
Proto:static void clean_buffers(struct page *page, unsigned first_unmapped)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct page * | page | |
unsigned | first_unmapped |
463 | buffer_counter = 0 |
465 | If Not page_has_buffers(page) Then Return |
470 | Do |
471 | If buffer_counter++ == first_unmapped Then Break |
473 | clear_buffer_dirty(bh) |
482 | If buffer_heads_over_limit && PageUptodate(page) Then try_to_free_buffers(page) |
Name | Describe |
---|---|
clean_page_buffers | For situations where we want to clean all buffers attached to a page.* We don't need to calculate how many buffers are attached to the page,* we just need to specify a number larger than the maximum number of buffers. |
__mpage_writepage |
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 |