Home
last modified time | relevance | path

Searched refs:kernel_buf (Results 1 – 12 of 12) sorted by relevance

/Linux-v6.1/arch/s390/kernel/
Dkexec_image.c23 buf.buffer = image->kernel_buf; in kexec_file_add_kernel_image()
31 data->kernel_buf = image->kernel_buf; in kexec_file_add_kernel_image()
33 data->parm = image->kernel_buf + PARMAREA; in kexec_file_add_kernel_image()
Dkexec_elf.c26 kernel = image->kernel_buf; in kexec_file_add_kernel_elf()
49 data->kernel_buf = buf.buffer; in kexec_file_add_kernel_elf()
Dmachine_kexec_file.c225 data->kernel_buf + offsetof(struct lowcore, ipl_parmblock_ptr); in kexec_file_add_ipl_report()
288 memcpy(data.kernel_buf, &restart_psw, sizeof(restart_psw)); in kexec_file_add_components()
/Linux-v6.1/include/linux/
Dkexec.h128 typedef int (kexec_probe_t)(const char *kernel_buf, unsigned long kernel_size);
129 typedef void *(kexec_load_t)(struct kimage *image, char *kernel_buf,
136 typedef int (kexec_verify_sig_t)(const char *kernel_buf,
355 void *kernel_buf; member
/Linux-v6.1/arch/parisc/kernel/
Dkexec_file.c16 static void *elf_load(struct kimage *image, char *kernel_buf, in elf_load() argument
28 ret = kexec_build_elf_info(kernel_buf, kernel_len, &ehdr, &elf_info); in elf_load()
/Linux-v6.1/arch/arm64/kernel/
Dkexec_image.c22 static int image_probe(const char *kernel_buf, unsigned long kernel_len) in image_probe() argument
25 (const struct arm64_image_header *)(kernel_buf); in image_probe()
/Linux-v6.1/arch/powerpc/kexec/
Delf_64.c27 static void *elf64_load(struct kimage *image, char *kernel_buf, in elf64_load() argument
46 ret = kexec_build_elf_info(kernel_buf, kernel_len, &ehdr, &elf_info); in elf64_load()
/Linux-v6.1/arch/s390/include/asm/
Dkexec.h58 void *kernel_buf; member
/Linux-v6.1/kernel/
Dkexec_file.c73 return image->fops->load(image, image->kernel_buf, in kexec_image_load_default()
96 vfree(image->kernel_buf); in kimage_file_post_load_cleanup()
97 image->kernel_buf = NULL; in kimage_file_post_load_cleanup()
162 ret = kexec_image_verify_sig(image, image->kernel_buf, in kimage_validate_signature()
199 ret = kernel_read_file_from_fd(kernel_fd, 0, &image->kernel_buf, in kimage_file_prepare_segments()
207 ret = arch_kexec_kernel_image_probe(image, image->kernel_buf, in kimage_file_prepare_segments()
/Linux-v6.1/arch/riscv/kernel/
Delf_kexec.c175 static void *elf_kexec_load(struct kimage *image, char *kernel_buf, in elf_kexec_load() argument
192 ret = kexec_build_elf_info(kernel_buf, kernel_len, &ehdr, &elf_info); in elf_kexec_load()
/Linux-v6.1/drivers/tty/
Dtty_io.c845 char kernel_buf[64]; in iterate_tty_read() local
851 size = count > sizeof(kernel_buf) ? sizeof(kernel_buf) : count; in iterate_tty_read()
852 size = ld->ops->read(tty, file, kernel_buf, size, &cookie, offset); in iterate_tty_read()
872 copied = copy_to_iter(kernel_buf, size, to); in iterate_tty_read()
889 memzero_explicit(kernel_buf, sizeof(kernel_buf)); in iterate_tty_read()
/Linux-v6.1/arch/x86/kernel/
Dmachine_kexec_64.c382 return image->fops->load(image, image->kernel_buf, in arch_kexec_kernel_image_load()