Function report |
Source Code:mm\memory.c |
Create Date:2022-07-28 14:42:23 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:map_mapping_range - unmap the portion of all mmaps in the specified* address_space corresponding to the specified byte range in the underlying* file
Proto:void unmap_mapping_range(struct address_space *mapping, loff_t const holebegin, loff_t const holelen, int even_cows)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct address_space * | mapping | |
| loff_t const | holebegin | |
| loff_t const | holelen | |
| int | even_cows |
| 2879 | hba = holebegin >> PAGE_SHIFT determines the page size |
| 2880 | hlen = holelen + PAGE_SIZE - 1 >> PAGE_SHIFT determines the page size |
| 2884 | holeend = holebegin + holelen + PAGE_SIZE - 1 >> PAGE_SHIFT determines the page size |
| Name | Describe |
|---|---|
| truncate_pagecache | runcate_pagecache - unmap and remove pagecache that has been truncated*@inode: inode*@newsize: new file size* inode's new i_size must already be written before truncate_pagecache* is called.* This function should typically be called before the filesystem |
| truncate_pagecache_range | runcate_pagecache_range - unmap and remove pagecache that is hole-punched*@inode: inode*@lstart: offset of beginning of hole*@lend: offset of last byte of hole* This function should typically be called before the filesystem |
| memory_failure_dev_pagemap |
| 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 |