Function report |
Source Code:mm\truncate.c |
Create Date:2022-07-28 14:14:14 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Unconditionally remove exceptional entries. Usually called from truncate* path. Note that the pagevec may be altered by this function by removing* exceptional entries similar to what pagevec_remove_exceptionals does.
Proto:static void truncate_exceptional_pvec_entries(struct address_space *mapping, struct pagevec *pvec, unsigned long *indices, unsigned long end)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct address_space * | mapping | |
| struct pagevec * | pvec | |
| unsigned long * | indices | |
| unsigned long | end |
| 67 | If shmem_mapping(mapping) Then Return |
| 72 | Break |
| 74 | If j == pagevec_count(pvec) Then Return |
| 77 | dax = dax_mapping(mapping) |
| 79 | If lock Then xa_lock_irq( & i_pages) |
| 82 | When i < pagevec_count(pvec) cycle |
| 96 | Continue |
| 102 | If lock Then xa_unlock_irq( & i_pages) |
| 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 |