函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\memory.c Create Date:2022-07-27 16:09:27
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:unmap_mapping_range_tree

函数原型:static inline void unmap_mapping_range_tree(struct rb_root_cached *root, struct zap_details *details)

返回类型:void

参数:

类型参数名称
struct rb_root_cached *root
struct zap_details *details
2814  vba等于Offset (within vm_file) in PAGE_SIZEunits
2815  vea等于vbavma_pages(vma)减1
2816  zba等于Lowest page->index to unmap
2817  如果zba小于vbazba等于vba
2819  zea等于Highest page->index to unmap
2820  如果zea大于veazea等于vea
2823  unmap_mapping_range_vma(vma, ((zba - vba) << PAGE_SHIFT determines the page size ) + Our start address within vm_mm. , ((zea - vba + 1) << PAGE_SHIFT determines the page size ) + Our start address within vm_mm. , details)
调用者
名称描述
unmap_mapping_pagesmap_mapping_pages() - Unmap pages from processes.*@mapping: The address space containing pages to be unmapped.*@start: Index of first page to be unmapped.*@nr: Number of pages to be unmapped. 0 to unmap to end of file.