Function report |
Source Code:mm\pagewalk.c |
Create Date:2022-07-28 14:54:56 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:walk_page_range - walk page table with caller specific callbacks*@mm: mm_struct representing the target process of page table walk*@start: start address of the virtual address range*@end: end address of the virtual address range*@ops: operation to call
Proto:int walk_page_range(struct mm_struct *mm, unsigned long start, unsigned long end, const struct mm_walk_ops *ops, void *private)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct mm_struct * | mm | |
unsigned long | start | |
unsigned long | end | |
const struct mm_walk_ops * | ops | |
void * | private |
321 | err = 0 |
336 | lockdep_assert_held( & mmap_sem) |
339 | Do |
340 | If Not vma Then |
343 | Else if start < Our start address within vm_mm. Then |
344 | vma = NULL |
346 | Else |
348 | next = min - return minimum of two values of the same or compatible types*@x: first value*@y: second value(end, The first byte after our end addresswithin vm_mm. ) |
352 | If err > 0 Then |
358 | err = 0 |
359 | Continue |
361 | If err < 0 Then Break |
366 | If err Then Break |
369 | Return err |
Name | Describe |
---|---|
mprotect_fixup | |
madvise_cold_page_range | |
madvise_pageout_page_range | |
madvise_free_single_vma | |
queue_pages_range | Walk through page tables and collect pages to be migrated |
mem_cgroup_count_precharge | |
mem_cgroup_move_charge | |
hmm_range_fault | hmm_range_fault - try to fault some address in a virtual address range*@range: range being faulted*@flags: HMM_FAULT_* flags* Return: the number of valid pages in range->pfns[] (from range start* address), which may be zero |
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 |