Function report |
Source Code:kernel\kexec_file.c |
Create Date:2022-07-28 11:04:03 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Free up memory used by kernel, initrd, and command line. This is temporary* memory allocation which is not needed any more after these buffers have* been loaded into separate segments and have been copied elsewhere.
Proto:void kimage_file_post_load_cleanup(struct kimage *image)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct kimage * | image |
156 | vfree(initrd_buf) |
157 | initrd_buf = NULL |
159 | kfree(cmdline_buf) |
160 | cmdline_buf = NULL |
162 | vfree(* Temporary, modifiable buffer for stripped purgatory used for * relocation. This memory can be freed post image load.) |
165 | vfree(* Temporary, modifiable buffer for sechdrs used for relocation. * This memory can be freed post image load.) |
Name | Describe |
---|---|
kimage_file_prepare_segments | In file mode list of segments is prepared by kernel. Copy relevant* data from user space, do error checking, prepare segment list |
kimage_file_alloc_init | |
SYSCALL_DEFINE5 |
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 |