Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Architectures can provide this probe function

Proto:int __weak arch_kexec_kernel_image_probe(struct kimage *image, void *buf, unsigned long buf_len)

Type:int

Parameter:

TypeParameterName
struct kimage *image
void *buf
unsigned longbuf_len
59  Return Currently this is the only default function that is exported as some* architectures need it to do additional handlings.* In the future, other default functions may be exported too if required.
Caller
NameDescribe
kimage_file_prepare_segmentsIn file mode list of segments is prepared by kernel. Copy relevant* data from user space, do error checking, prepare segment list