函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\kexec.c Create Date:2022-07-27 12:04:51
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:copy_user_segment_list

函数原型:static int copy_user_segment_list(struct kimage *image, unsigned long nr_segments, struct kexec_segment __user *segments)

返回类型:int

参数:

类型参数名称
struct kimage *image
unsigned longnr_segments
struct kexec_segment __user *segments
30  nr_segments等于nr_segments
31  segment_bytes等于nr_segmentssegments的长度
32  ret等于copy_from_user(segment, segments, segment_bytes)
33  如果retret等于负EFAULT
36  返回:ret
调用者
名称描述
kimage_alloc_init