Home
last modified time | relevance | path

Searched full:kernel_fd (Results 1 – 6 of 6) sorted by relevance

/linux/arch/um/drivers/
H A Dubd_user.c38 kernel_fd = fds[0]; in start_io_thread()
39 kernel_pollfd.fd = kernel_fd; in start_io_thread()
44 err |= os_set_fd_block(kernel_fd, 0); in start_io_thread()
62 kernel_fd = -1; in start_io_thread()
H A Dubd_kern.c1492 int kernel_fd = -1; variable
1505 kernel_fd, in io_thread()
1531 res = os_write_file(kernel_fd, in io_thread()
/linux/tools/testing/selftests/kho/
H A Dinit.c41 static long kexec_file_load(int kernel_fd, int initrd_fd, in kexec_file_load() argument
45 return syscall(__NR_kexec_file_load, kernel_fd, initrd_fd, cmdline_len, in kexec_file_load()
/linux/kernel/
H A Dkexec_file.c218 kimage_file_prepare_segments(struct kimage *image, int kernel_fd, int initrd_fd, in kimage_file_prepare_segments() argument
225 ret = kernel_read_file_from_fd(kernel_fd, 0, &image->kernel_buf, in kimage_file_prepare_segments()
276 ima_kexec_cmdline(kernel_fd, image->cmdline_buf, in kimage_file_prepare_segments()
305 kimage_file_alloc_init(struct kimage **rimage, int kernel_fd, in kimage_file_alloc_init() argument
328 ret = kimage_file_prepare_segments(image, kernel_fd, initrd_fd, in kimage_file_alloc_init()
364 SYSCALL_DEFINE5(kexec_file_load, int, kernel_fd, int, initrd_fd, in SYSCALL_DEFINE5() argument
406 ret = kimage_file_alloc_init(&image, kernel_fd, initrd_fd, cmdline_ptr, in SYSCALL_DEFINE5()
/linux/security/integrity/ima/
H A Dima_main.c1118 * @kernel_fd: file descriptor of the kexec kernel being loaded
1124 void ima_kexec_cmdline(int kernel_fd, const void *buf, int size)
1129 CLASS(fd, f)(kernel_fd);
1104 ima_kexec_cmdline(int kernel_fd,const void * buf,int size) ima_kexec_cmdline() argument
/linux/include/linux/
H A Dsyscalls.h1143 asmlinkage long sys_kexec_file_load(int kernel_fd, int initrd_fd,