函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:vm_map_pages_zero - map range of kernel pages starts with zero offset*@vma: user vma to map to*@pages: pointer to array of source kernel pages*@num: number of pages in page array* Similar to vm_map_pages(), except that it explicitly sets the offset* to 0

函数原型:int vm_map_pages_zero(struct vm_area_struct *vma, struct page **pages, unsigned long num)

返回类型:int

参数:

类型参数名称
struct vm_area_struct *vma
struct page **pages
unsigned longnum
1595  返回:__vm_map_pages - maps range of kernel pages into user vma*@vma: user vma to map to*@pages: pointer to array of source kernel pages*@num: number of pages in page array*@offset: user's requested vm_pgoff