Function report |
Source Code:fs\buffer.c |
Create Date:2022-07-28 20:14:09 |
| Last Modify:2020-03-18 10:38:29 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:lock_invalidatepage - invalidate part or all of a buffer-backed page*@page: the page which is affected*@offset: start of the range to invalidate*@length: length of the range to invalidate* block_invalidatepage() is called when all or part of the page has
Proto:void block_invalidatepage(struct page *page, unsigned int offset, unsigned int length)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct page * | page | |
| unsigned int | offset | |
| unsigned int | length |
| 1502 | curr_off = 0 |
| 1505 | BUG_ON(!PageLocked(page)) |
| 1506 | If Not page_has_buffers(page) Then Go to out |
| 1516 | Do |
| 1517 | next_off = curr_off + size of mapping |
| 1529 | If offset <= curr_off Then discard_buffer(bh) |
| 1542 | out : |
| 1543 | Return |
| 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 |