Function report |
Source Code:mm\memory.c |
Create Date:2022-07-28 14:41:43 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__apply_to_page_range
Proto:static int __apply_to_page_range(struct mm_struct *mm, unsigned long addr, unsigned long size, pte_fn_t fn, void *data, bool create)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct mm_struct * | mm | |
unsigned long | addr | |
unsigned long | size | |
pte_fn_t | fn | |
void * | data | |
bool | create |
2151 | err = 0 |
2156 | pgd = a shortcut to get a pgd_t in a given mm(mm, addr) |
2157 | Do |
2159 | If Not create && pgd_none_or_clear_bad(pgd) Then Continue |
2162 | If err Then Break |
2166 | Return err |
Name | Describe |
---|---|
apply_to_page_range | Scan a region of virtual memory, filling in page tables as necessary* and calling a provided function on each leaf page table. |
apply_to_existing_page_range | Scan a region of virtual memory, calling a provided function on* each leaf page table where it exists.* Unlike apply_to_page_range, this does _not_ fill in page tables* where they are absent. |
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 |