Searched refs:err (Results 1 – 4 of 4) sorted by relevance
/init/ |
D | noinitramfs.c | 35 int err; in default_rootfs() local 37 err = sys_mkdir((const char __user __force *) "/dev", 0755); in default_rootfs() 38 if (err < 0) in default_rootfs() 41 err = sys_mknod((const char __user __force *) "/dev/console", in default_rootfs() 44 if (err < 0) in default_rootfs() 47 err = sys_mkdir((const char __user __force *) "/root", 0700); in default_rootfs() 48 if (err < 0) in default_rootfs() 55 return err; in default_rootfs()
|
D | do_mounts.c | 358 int err = sys_mount(name, "/root", fs, flags, data); in do_mount_root() local 359 if (err) in do_mount_root() 360 return err; in do_mount_root() 388 int err = do_mount_root(name, p, flags, root_mount_data); in mount_block_root() local 389 switch (err) { in mount_block_root() 407 root_device_name, b, err); in mount_block_root() 442 int try, err; in mount_nfs_root() local 444 err = nfs_root_data(&root_dev, &root_data); in mount_nfs_root() 445 if (err != 0) in mount_nfs_root() 455 err = do_mount_root(root_dev, "nfs", in mount_nfs_root() [all …]
|
D | do_mounts_md.c | 134 int err = 0; in md_setup_drive() local 212 err = sys_ioctl(fd, SET_ARRAY_INFO, (long)&ainfo); in md_setup_drive() 213 for (i = 0; !err && i <= MD_SB_DISKS; i++) { in md_setup_drive() 222 err = sys_ioctl(fd, ADD_NEW_DISK, (long)&dinfo); in md_setup_drive() 235 if (!err) in md_setup_drive() 236 err = sys_ioctl(fd, RUN_ARRAY, 0); in md_setup_drive() 237 if (err) in md_setup_drive()
|
D | initramfs.c | 596 char *err; in populate_rootfs() local 601 err = unpack_to_rootfs(__initramfs_start, __initramfs_size); in populate_rootfs() 602 if (err) in populate_rootfs() 603 panic(err); /* Failed to decompress INTERNAL initramfs */ in populate_rootfs() 608 err = unpack_to_rootfs((char *)initrd_start, in populate_rootfs() 610 if (!err) { in populate_rootfs() 618 "; looks like an initrd\n", err); in populate_rootfs() 630 err = unpack_to_rootfs((char *)initrd_start, in populate_rootfs() 632 if (err) in populate_rootfs() 633 printk(KERN_EMERG "Initramfs unpacking failed: %s\n", err); in populate_rootfs()
|