Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\memory.c Create Date:2022-07-28 14:42:19
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:unmap_mapping_range_tree

Proto:static inline void unmap_mapping_range_tree(struct rb_root_cached *root, struct zap_details *details)

Type:void

Parameter:

TypeParameterName
struct rb_root_cached *root
struct zap_details *details
2814  vba = Offset (within vm_file) in PAGE_SIZEunits
2815  vea = vba + vma_pages(vma) - 1
2816  zba = Lowest page->index to unmap
2817  If zba < vba Then zba = vba
2819  zea = Highest page->index to unmap
2820  If zea > vea Then zea = 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)
Caller
NameDescribe
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.