函数逻辑报告 | 
Source Code:kernel\kexec_file.c | 
Create Date:2022-07-27 12:05:49 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称: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.
函数原型:int kexec_add_buffer(struct kexec_buf *kbuf)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct kexec_buf * | kbuf | 
| 668 | 如果非 If set, we are using file mode kexec syscall 则返回:负EINVAL | 
| 681 | 如果非链表为空则 | 
| 687 | memsz等于@a is a power of 2 value (memsz, PAGE_SIZE) | 
| 696 | ksegment等于segment[nr_segments] | 
| 701 | nr_segments自加 | 
| 702 | 返回:0 | 
| 名称 | 描述 | 
|---|---|
| bzImage64_load | |
| kexec_elf_load | kexec_elf_load - load ELF executable image*@lowest_load_addr: On return, will be the address where the first PT_LOAD* section will be loaded in memory.* Return:* 0 on success, negative value on failure. | 
| crash_load_segments | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |