Home
last modified time | relevance | path

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

/linux/arch/s390/kernel/
H A Dkexec_image.c23 buf.buffer = image->kernel_buf; in kexec_file_add_kernel_image()
33 data->kernel_buf = image->kernel_buf; in kexec_file_add_kernel_image()
35 data->parm = image->kernel_buf + PARMAREA; in kexec_file_add_kernel_image()
H A Dkexec_elf.c26 kernel = image->kernel_buf; in kexec_file_add_kernel_elf()
51 data->kernel_buf = buf.buffer; in kexec_file_add_kernel_elf()
H A Dmachine_kexec_file.c229 data->kernel_buf + offsetof(struct lowcore, ipl_parmblock_ptr); in kexec_file_add_ipl_report()
299 memcpy(data.kernel_buf, &restart_psw, sizeof(restart_psw)); in kexec_file_add_components()
/linux/arch/parisc/kernel/
H A 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/arch/arm64/kernel/
H A 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/arch/powerpc/kexec/
H A Delf_64.c28 static void *elf64_load(struct kimage *image, char *kernel_buf, in elf64_load() argument
48 ret = kexec_build_elf_info(kernel_buf, kernel_len, &ehdr, &elf_info); in elf64_load()
/linux/kernel/
H A 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()
164 ret = kexec_image_verify_sig(image, image->kernel_buf, in kimage_validate_signature()
201 ret = kernel_read_file_from_fd(kernel_fd, 0, &image->kernel_buf, in kimage_file_prepare_segments()
208 image->kernel_buf, image->kernel_buf_len); in kimage_file_prepare_segments()
211 ret = arch_kexec_kernel_image_probe(image, image->kernel_buf, in kimage_file_prepare_segments()
/linux/arch/s390/include/asm/
H A Dkexec.h58 void *kernel_buf; member
/linux/arch/riscv/kernel/
H A Delf_kexec.c196 static void *elf_kexec_load(struct kimage *image, char *kernel_buf, in elf_kexec_load() argument
212 ret = kexec_build_elf_info(kernel_buf, kernel_len, &ehdr, &elf_info); in elf_kexec_load()
/linux/drivers/tty/
H A Dtty_io.c851 u8 kernel_buf[64]; in iterate_tty_read() local
854 ssize_t size = min(count, sizeof(kernel_buf)); in iterate_tty_read()
856 size = ld->ops->read(tty, file, kernel_buf, size, &cookie, offset); in iterate_tty_read()
876 copied = copy_to_iter(kernel_buf, size, to); in iterate_tty_read()
893 memzero_explicit(kernel_buf, sizeof(kernel_buf)); in iterate_tty_read()