函数逻辑报告 |
Source Code:kernel\kexec.c |
Create Date:2022-07-27 12:04:57 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:do_kexec_load
函数原型:static int do_kexec_load(unsigned long entry, unsigned long nr_segments, struct kexec_segment __user *segments, unsigned long flags)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned long | entry | |
unsigned long | nr_segments | |
struct kexec_segment __user * | segments | |
unsigned long | flags |
117 | 否则 |
118 | dest_image等于kexec_image |
121 | 如果nr_segments恒等于0则 |
123 | kimage_free(xchg(dest_image, NULL)) |
124 | 返回:0 |
132 | kimage_free(xchg( & kexec_crash_image, NULL)) |
135 | ret等于kimage_alloc_init( & image, entry, nr_segments, segments, flags) |
139 | 如果flags按位与KEXEC_PRESERVE_CONTEXT则preserve_context等于1 |
142 | ret等于A architecture hook called to validate the* proposed image and prepare the control pages* as needed |
154 | 以i小于nr_segments循环 |
160 | kimage_terminate(image) |
163 | image等于xchg(dest_image, image) |
165 | out : |
169 | kimage_free(image) |
170 | 返回:ret |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |