Function report |
Source Code:kernel\kexec_core.c |
Create Date:2022-07-28 11:02:54 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:kimage_alloc_page
Proto:static struct page *kimage_alloc_page(struct kimage *image, gfp_t gfp_mask, unsigned long destination)
Type:struct page
Parameter:
Type | Parameter | Name |
---|---|---|
struct kimage * | image | |
gfp_t | gfp_mask | |
unsigned long | destination |
709 | If addr == destination Then |
711 | Return page |
714 | page = NULL |
715 | When 1 cycle |
719 | page = kimage_alloc_pages(gfp_mask, 0) |
720 | If Not page Then Return NULL |
731 | If addr == destination Then Break |
735 | If Not kimage_is_destination_range(image, addr, addr + PAGE_SIZE) Then Break |
744 | old = kimage_dst_used(image, addr) |
745 | If old Then |
752 | copy_highpage(page, old_page) |
759 | If Not (gfp_mask & __GFP_HIGHMEM) && PageHighMem(old_page) Then |
762 | Continue |
766 | Break |
772 | Return page |
Name | Describe |
---|---|
kimage_add_entry | |
kimage_load_normal_segment |
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 |