Function report |
Source Code:mm\memory.c |
Create Date:2022-07-28 14:43:49 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:llow_pfn - look up PFN at a user virtual address*@vma: memory mapping*@address: user virtual address*@pfn: location to store found PFN* Only IO mappings and raw PFN mappings are allowed.* Return: zero and the pfn at @pfn on success, -ve otherwise.
Proto:int follow_pfn(struct vm_area_struct *vma, unsigned long address, unsigned long *pfn)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct vm_area_struct * | vma | |
unsigned long | address | |
unsigned long * | pfn |
4391 | If Not (Flags, see mm.h. & (Memory mapped I/O or similar | Page-ranges managed without "struct page", just pure PFN )) Then Return ret |
4394 | ret = follow_pte(The address space we belong to. , address, & ptep, & ptl) |
4398 | pte_unmap_unlock(ptep, ptl) |
4399 | Return 0 |
Name | Describe |
---|---|
get_vaddr_frames | get_vaddr_frames() - map virtual addresses to pfns*@start: starting user address*@nr_frames: number of pages / pfns from start to map*@gup_flags: flags modifying lookup behaviour*@vec: structure which receives pages / pfns of the addresses mapped. |
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 |