Function report |
Source Code:mm\filemap.c |
Create Date:2022-07-28 14:00:49 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:delete_from_page_cache_batch
Proto:void delete_from_page_cache_batch(struct address_space *mapping, struct pagevec *pvec)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct address_space * | mapping | |
struct pagevec * | pvec |
348 | If Not pagevec_count(pvec) Then Return |
351 | xa_lock_irqsave( & i_pages, flags) |
352 | When i < pagevec_count(pvec) cycle |
355 | unaccount_page_cache_page(mapping, pages[i]) |
358 | xa_unlock_irqrestore( & i_pages, flags) |
360 | When i < pagevec_count(pvec) cycle page_cache_free_page(mapping, pages[i]) |
Name | Describe |
---|---|
truncate_inode_pages_range | runcate_inode_pages_range - truncate range of pages specified by start & end byte offsets*@mapping: mapping to truncate*@lstart: offset from which to truncate*@lend: offset to which to truncate (inclusive)* Truncate the page cache, removing the pages that |
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 |