/kernel/linux/linux-5.10/arch/um/drivers/ |
H A D | ubd_user.c | 38 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 D | ubd.h | 12 extern int kernel_fd;
|
H A D | ubd_kern.c | 1610 int kernel_fd = -1; variable 1623 kernel_fd, in io_thread() 1649 res = os_write_file(kernel_fd, in io_thread()
|
/kernel/linux/linux-6.6/arch/um/drivers/ |
H A D | ubd_user.c | 38 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 D | ubd.h | 12 extern int kernel_fd;
|
H A D | ubd_kern.c | 1547 int kernel_fd = -1; variable 1560 kernel_fd, in io_thread() 1586 res = os_write_file(kernel_fd, in io_thread()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | ima.h | 33 extern void ima_kexec_cmdline(int kernel_fd, const void *buf, int size); 120 static inline void ima_kexec_cmdline(int kernel_fd, const void *buf, int size) {} in ima_kexec_cmdline() argument
|
H A D | syscalls.h | 1178 asmlinkage long sys_kexec_file_load(int kernel_fd, int initrd_fd,
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | ima.h | 38 extern void ima_kexec_cmdline(int kernel_fd, const void *buf, int size); 132 static inline void ima_kexec_cmdline(int kernel_fd, const void *buf, int size) {} in ima_kexec_cmdline() argument
|
H A D | syscalls.h | 1085 asmlinkage long sys_kexec_file_load(int kernel_fd, int initrd_fd,
|
/kernel/linux/linux-6.6/kernel/ |
H A D | kexec_file.c | 192 kimage_file_prepare_segments(struct kimage *image, int kernel_fd, int initrd_fd, in kimage_file_prepare_segments() argument 199 ret = kernel_read_file_from_fd(kernel_fd, 0, &image->kernel_buf, in kimage_file_prepare_segments() 245 ima_kexec_cmdline(kernel_fd, image->cmdline_buf, in kimage_file_prepare_segments() 269 kimage_file_alloc_init(struct kimage **rimage, int kernel_fd, in kimage_file_alloc_init() argument 289 ret = kimage_file_prepare_segments(image, kernel_fd, initrd_fd, in kimage_file_alloc_init() 325 SYSCALL_DEFINE5(kexec_file_load, int, kernel_fd, int, initrd_fd, in SYSCALL_DEFINE5() 366 ret = kimage_file_alloc_init(&image, kernel_fd, initrd_fd, cmdline_ptr, in SYSCALL_DEFINE5()
|
/kernel/linux/linux-5.10/kernel/ |
H A D | kexec_file.c | 197 kimage_file_prepare_segments(struct kimage *image, int kernel_fd, int initrd_fd, in kimage_file_prepare_segments() argument 204 ret = kernel_read_file_from_fd(kernel_fd, 0, &image->kernel_buf, in kimage_file_prepare_segments() 249 ima_kexec_cmdline(kernel_fd, image->cmdline_buf, in kimage_file_prepare_segments() 273 kimage_file_alloc_init(struct kimage **rimage, int kernel_fd, in kimage_file_alloc_init() argument 293 ret = kimage_file_prepare_segments(image, kernel_fd, initrd_fd, in kimage_file_alloc_init() 329 SYSCALL_DEFINE5(kexec_file_load, int, kernel_fd, int, initrd_fd, in SYSCALL_DEFINE5() 367 ret = kimage_file_alloc_init(&image, kernel_fd, initrd_fd, cmdline_ptr, in SYSCALL_DEFINE5()
|
/kernel/linux/linux-5.10/security/integrity/ima/ |
H A D | ima_main.c | 899 * @kernel_fd: file descriptor of the kexec kernel being loaded 905 void ima_kexec_cmdline(int kernel_fd, const void *buf, int size) in ima_kexec_cmdline() argument 912 f = fdget(kernel_fd); in ima_kexec_cmdline()
|
/kernel/linux/linux-6.6/security/integrity/ima/ |
H A D | ima_main.c | 1035 * @kernel_fd: file descriptor of the kexec kernel being loaded 1041 void ima_kexec_cmdline(int kernel_fd, const void *buf, int size) in ima_kexec_cmdline() argument 1048 f = fdget(kernel_fd); in ima_kexec_cmdline()
|