Function report |
Source Code:mm\gup.c |
Create Date:2022-07-28 14:34:41 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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*
Proto:static struct page *follow_page_mask(struct vm_area_struct *vma, unsigned long address, unsigned int flags, struct follow_page_context *ctx)
Type:struct page
Parameter:
Type | Parameter | Name |
---|---|---|
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 ) |
521 | BUG_ON(flags & do get_page on page ) |
522 | Return page |
534 | Return no_page_table(vma, flags) |
537 | page = follow_huge_pd(vma, address, __hugepd(pgd_val( * pgd)), flags, raditional i386 two-level paging structure:) |
542 | Return no_page_table(vma, flags) |
Name | Describe |
---|---|
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 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |