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: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.

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

Type:int

Parameter:

TypeParameterName
struct kimage *image
void *buf
unsigned longbuf_len
42  ret = -ENOEXEC
44  When fops && probe cycle
45  ret = probe(buf, buf_len)
46  If Not ret Then
48  Return ret
52  Return ret
Caller
NameDescribe
arch_kexec_kernel_image_probeArchitectures can provide this probe function