Function report | 
Source Code:kernel\kexec_file.c | 
Create Date:2022-07-28 11:04:19 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:kexec_locate_mem_hole - find free memory for the purgatory or the next kernel*@kbuf: Parameters for the memory search.* On success, kbuf->mem will have the start address of the memory region found.* Return: 0 on success, negative errno on error.
Proto:int kexec_locate_mem_hole(struct kexec_buf *kbuf)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct kexec_buf * | kbuf | 
| 640 | If mem != If kexec_buf.mem is set to this value, kexec_locate_mem_hole()* will try to allocate free memory. Arch may overwrite it. Then Return 0 | 
| 645 | Else ret = kexec_walk_memblock(kbuf, locate_mem_hole_callback) | 
| 648 | Return If ret == 1 Then 0 Else -EADDRNOTAVAIL | 
| Name | Describe | 
|---|---|
| kexec_add_buffer | kexec_add_buffer - place a buffer in a kexec segment*@kbuf: Buffer contents and memory parameters.* This function assumes that kexec_mutex is held.* On successful return, @kbuf->mem will have the physical address of* the buffer in memory. | 
| 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  |