Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\kexec.c Create Date:2022-07-28 11:03:26
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:copy_user_segment_list

Proto:static int copy_user_segment_list(struct kimage *image, unsigned long nr_segments, struct kexec_segment __user *segments)

Type:int

Parameter:

TypeParameterName
struct kimage *image
unsigned longnr_segments
struct kexec_segment __user *segments
30  nr_segments = nr_segments
31  segment_bytes = nr_segments * size of segments
32  ret = copy_from_user(segment, segments, segment_bytes)
33  If ret Then ret = -EFAULT
36  Return ret
Caller
NameDescribe
kimage_alloc_init