函数逻辑报告 |
Source Code:mm\gup.c |
Create Date:2022-07-27 16:00:27 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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*
函数原型:static struct page *follow_page_mask(struct vm_area_struct *vma, unsigned long address, unsigned int flags, struct follow_page_context *ctx)
返回类型:struct page
参数:
类型 | 参数 | 名称 |
---|---|---|
struct vm_area_struct * | vma | |
unsigned long | address | |
unsigned int | flags | |
struct follow_page_context * | ctx |
516 | page_mask等于0 |
519 | page等于follow_huge_addr(mm, address, flags & check pte is writable ) |
520 | 如果非是错误则 |
521 | BUG_ON(flags & do get_page on page ) |
522 | 返回:page |
534 | 返回:no_page_table(vma, flags) |
537 | page等于follow_huge_pd(vma, address, __hugepd(pgd_val( * pgd)), flags, raditional i386 two-level paging structure:) |
542 | 返回:no_page_table(vma, flags) |
名称 | 描述 |
---|---|
follow_page | |
__get_user_pages | __get_user_pages() - pin user pages in memory*@tsk: task_struct of target task*@mm: mm_struct of target mm*@start: starting user address*@nr_pages: number of pages from start to pin*@gup_flags: flags modifying pin behaviour |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |