Function report |
Source Code:mm\mlock.c |
Create Date:2022-07-28 14:45:33 |
Last Modify:2022-05-23 14:12:58 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Fill up pagevec for __munlock_pagevec using pte walk* The function expects that the struct page corresponding to @start address is* a non-TPH page already pinned and in the @pvec, and that it belongs to @zone
Proto:static unsigned long __munlock_pagevec_fill(struct pagevec *pvec, struct vm_area_struct *vma, struct zone *zone, unsigned long start, unsigned long end)
Type:unsigned long
Parameter:
Type | Parameter | Name |
---|---|---|
struct pagevec * | pvec | |
struct vm_area_struct * | vma | |
struct zone * | zone | |
unsigned long | start | |
unsigned long | end |
386 | pte = get_locked_pte(The address space we belong to. , start, & ptl) |
389 | end = p4d_addr_end(start, end) |
390 | end = pud_addr_end(start, end) |
391 | end = pmd_addr_end(start, end) |
397 | pte++ |
420 | If Add a page to a pagevec. Returns the number of slots still available. == 0 Then Break |
423 | pte_unmap_unlock(pte, ptl) |
424 | Return start |
Name | Describe |
---|---|
munlock_vma_pages_range | munlock_vma_pages_range() - munlock all pages in the vma range.'*@vma - vma containing range to be munlock()ed.*@start - start address in @vma of the range*@end - end of range in @vma.* For mremap(), munmap() and exit().* Called with @vma VM_LOCKED. |
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 |