Home
last modified time | relevance | path

Searched refs:kernel_fd (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.15/arch/um/drivers/
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()
Dubd.h12 extern int kernel_fd;
Dubd_kern.c1546 int kernel_fd = -1; variable
1559 kernel_fd, in io_thread()
1585 res = os_write_file(kernel_fd, in io_thread()
/Linux-v5.15/include/linux/
Dima.h37 extern void ima_kexec_cmdline(int kernel_fd, const void *buf, int size);
145 static inline void ima_kexec_cmdline(int kernel_fd, const void *buf, int size) {} in ima_kexec_cmdline() argument
Dsyscalls.h1196 asmlinkage long sys_kexec_file_load(int kernel_fd, int initrd_fd,
/Linux-v5.15/kernel/
Dkexec_file.c222 kimage_file_prepare_segments(struct kimage *image, int kernel_fd, int initrd_fd, in kimage_file_prepare_segments() argument
229 ret = kernel_read_file_from_fd(kernel_fd, 0, &image->kernel_buf, in kimage_file_prepare_segments()
274 ima_kexec_cmdline(kernel_fd, image->cmdline_buf, in kimage_file_prepare_segments()
298 kimage_file_alloc_init(struct kimage **rimage, int kernel_fd, in kimage_file_alloc_init() argument
318 ret = kimage_file_prepare_segments(image, kernel_fd, initrd_fd, in kimage_file_alloc_init()
354 SYSCALL_DEFINE5(kexec_file_load, int, kernel_fd, int, initrd_fd, in SYSCALL_DEFINE5() argument
392 ret = kimage_file_alloc_init(&image, kernel_fd, initrd_fd, cmdline_ptr, in SYSCALL_DEFINE5()
/Linux-v5.15/security/integrity/ima/
Dima_main.c978 void ima_kexec_cmdline(int kernel_fd, const void *buf, int size) in ima_kexec_cmdline() argument
985 f = fdget(kernel_fd); in ima_kexec_cmdline()