函数逻辑报告 |
Source Code:kernel\kexec_core.c |
Create Date:2022-07-27 12:04:26 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:kimage_load_crash_segment
函数原型:static int kimage_load_crash_segment(struct kimage *image, struct kexec_segment *segment)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct kimage * | image | |
struct kexec_segment * | segment |
855 | unsigned char * kbuf = NULL |
857 | result等于0 |
871 | 如果非page则 |
875 | arch_kexec_post_alloc_pages(page_address(page), 1, 0) |
878 | mchunk等于min_t - return minimum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(size_t, mbytes, PAGE_SIZE - (maddr & ~PAGE_MASK)) |
889 | 否则result等于copy_from_user(ptr, buf, uchunk) |
893 | arch_kexec_pre_free_pages(page_address(page), 1) |
894 | 如果result则 |
906 | cond_resched() |
908 | out : |
909 | 返回:result |
名称 | 描述 |
---|---|
kimage_load_segment |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |