函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:zap_vma_ptes - remove ptes mapping the vma*@vma: vm_area_struct holding ptes to be zapped*@address: starting address of pages to zap*@size: number of bytes to zap* This function only unmaps ptes assigned to VM_PFNMAP vmas.

函数原型:void zap_vma_ptes(struct vm_area_struct *vma, unsigned long address, unsigned long size)

返回类型:void

参数:

类型参数名称
struct vm_area_struct *vma
unsigned longaddress
unsigned longsize
1402  如果address小于Our start address within vm_mm. addresssize大于The first byte after our end addresswithin vm_mm. 或非Flags, see mm.h. 按位与Page-ranges managed without "struct page", just pure PFN 的值则返回
1406  zap_page_range_single - remove user pages in a given range*@vma: vm_area_struct holding the applicable pages*@address: starting address of pages to zap*@size: number of bytes to zap*@details: details of shared cache invalidation