Searched refs:file (Results 1 – 5 of 5) sorted by relevance
/init/ |
A D | do_mounts_rd.c | 17 static struct file *in_file, *out_file; 58 identify_ramdisk_image(struct file *file, loff_t pos, in identify_ramdisk_image() argument 86 kernel_read(file, buf, size, &pos); in identify_ramdisk_image() 132 kernel_read(file, buf, size, &pos); in identify_ramdisk_image() 146 kernel_read(file, buf, size, &pos); in identify_ramdisk_image() 177 static unsigned long nr_blocks(struct file *file) in nr_blocks() argument 179 struct inode *inode = file->f_mapping->host; in nr_blocks()
|
A D | initramfs.c | 29 static ssize_t __init xwrite(struct file *file, const unsigned char *p, in xwrite() argument 36 ssize_t rv = kernel_write(file, p, count, pos); in xwrite() 357 static __initdata struct file *wfile; 699 struct file *file; in populate_initrd_image() local 704 file = filp_open("/initrd.image", O_WRONLY|O_CREAT|O_LARGEFILE, 0700); in populate_initrd_image() 705 if (IS_ERR(file)) in populate_initrd_image() 708 written = xwrite(file, (char *)initrd_start, initrd_end - initrd_start, in populate_initrd_image() 713 fput(file); in populate_initrd_image()
|
A D | initramfs_test.c | 195 struct file *file; in initramfs_test_data() local 224 file = filp_open(c[0].fname, O_RDONLY, 0); in initramfs_test_data() 225 if (IS_ERR(file)) { in initramfs_test_data() 231 len = kernel_read(file, cpio_srcbuf, c[0].filesize, NULL); in initramfs_test_data() 235 fput(file); in initramfs_test_data()
|
A D | main.c | 1538 struct file *file = filp_open("/dev/console", O_RDWR, 0); in console_on_rootfs() local 1540 if (IS_ERR(file)) { in console_on_rootfs() 1544 init_dup(file); in console_on_rootfs() 1545 init_dup(file); in console_on_rootfs() 1546 init_dup(file); in console_on_rootfs() 1547 fput(file); in console_on_rootfs()
|
A D | Kconfig | 17 will touch it and then every file will be rebuilt. 617 bool "BSD Process Accounting version 3 file format" 622 in a new file format that also logs the process IDs of each 1256 bool "Include legacy /proc/<pid>/cpuset file" 1426 certain file systems (such as debugfs). 1439 load modules needed to mount the "real" root file system, 1480 bool "Embed bootconfig file in the kernel" 1491 string "Embedded bootconfig file path" 1660 file names to handle and then later use the handle for 1766 on a file descriptor. [all …]
|
Completed in 15 milliseconds