函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:follow_page

函数原型:struct page *follow_page(struct vm_area_struct *vma, unsigned long address, unsigned int foll_flags)

返回类型:struct page

参数:

类型参数名称
struct vm_area_struct *vma
unsigned longaddress
unsigned intfoll_flags
551  struct follow_page_context ctx = {NULL}
554  page等于llow_page_mask - look up a page descriptor from a user-virtual address*@vma: vm_area_struct mapping @address*@address: virtual address to look up*@flags: flags modifying lookup behaviour*@ctx: contains dev_pagemap for %ZONE_DEVICE memory pinning and a*
555  如果pgmapput_dev_pagemap(pgmap)
557  返回:page