Home
last modified time | relevance | path

Searched refs:ROOT_DEV (Results 1 – 23 of 23) sorted by relevance

/OK3568_Linux_fs/kernel/init/
H A Ddo_mounts.c36 dev_t ROOT_DEV; variable
413 ROOT_DEV = s->s_dev; in do_mount_root()
418 MAJOR(ROOT_DEV), MINOR(ROOT_DEV)); in do_mount_root()
434 MAJOR(ROOT_DEV), MINOR(ROOT_DEV)); in mount_block_root()
557 if (ROOT_DEV == Root_NFS) { in mount_root()
564 if (ROOT_DEV == Root_CIFS) { in mount_root()
572 int err = create_dev("/dev/root", ROOT_DEV); in mount_root()
610 ROOT_DEV = name_to_dev_t(root_device_name); in prepare_namespace()
619 if ((ROOT_DEV == 0) && root_wait) { in prepare_namespace()
623 (ROOT_DEV = name_to_dev_t(saved_root_name)) == 0) in prepare_namespace()
H A Ddo_mounts_initrd.c75 real_root_dev = new_encode_dev(ROOT_DEV); in handle_initrd()
107 ROOT_DEV = new_decode_dev(real_root_dev); in handle_initrd()
134 if (rd_load_image("/initrd.image") && ROOT_DEV != Root_RAM0) { in initrd_load()
H A Ddo_mounts_rd.c281 create_dev("/dev/root", ROOT_DEV); in rd_load_disk()
/OK3568_Linux_fs/debian/scripts/patches/
H A D0002-modify-export-image-to-meet-rockchip-image-requireme.patch100 - ROOT_DEV="$(mount | grep "${ROOTFS_DIR} " | cut -f1 -d' ')"
103 - zerofree "${ROOT_DEV}"
167 - echo "Mounting ROOT_DEV..."
169 - until ROOT_DEV=$(losetup --show -f -o "${ROOT_OFFSET}" --sizelimit "${ROOT_LENGTH}" "${IMG_FILE}"…
172 - echo "Error in losetup for ROOT_DEV. Retrying..."
175 - echo "ERROR: losetup for ROOT_DEV failed; exiting"
191 - mkfs.ext4 -L rootfs -O "$ROOT_FEATURES" "$ROOT_DEV" > /dev/null
193 - mount -v "$ROOT_DEV" "${ROOTFS_DIR}" -t ext4
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/powermac/
H A Dsetup.c319 ROOT_DEV = Root_RAM0; in pmac_setup_arch()
322 ROOT_DEV = DEFAULT_ROOT_DEVICE; in pmac_setup_arch()
363 ROOT_DEV != DEFAULT_ROOT_DEVICE) in note_bootable_part()
369 ROOT_DEV = dev + part; in note_bootable_part()
/OK3568_Linux_fs/yocto/meta-rockchip/recipes-kernel/linux/linux-rockchip_5.10/
H A D0001-init-do_mounts.c-Retry-all-fs-after-failed-to-mount-.patch33 MAJOR(ROOT_DEV), MINOR(ROOT_DEV));
/OK3568_Linux_fs/kernel/arch/sh/kernel/
H A Dsetup.c161 ROOT_DEV = Root_RAM0; in check_for_initrd()
278 ROOT_DEV = old_decode_dev(ORIG_ROOT_DEV); in setup_arch()
/OK3568_Linux_fs/kernel/include/linux/
H A Droot_dev.h23 extern dev_t ROOT_DEV;
/OK3568_Linux_fs/kernel/arch/m68k/kernel/
H A Duboot.c84 ROOT_DEV = Root_RAM0; in parse_uboot_commandline()
/OK3568_Linux_fs/kernel/fs/cifs/
H A Dcifsroot.c47 ROOT_DEV = Root_CIFS; in cifs_root_setup()
/OK3568_Linux_fs/yocto/meta-rockchip/recipes-kernel/linux/linux-rockchip_4.4/
H A D0001-init-do_mounts.c-Retry-all-fs-after-failed-to-mount-.patch33 __bdevname(ROOT_DEV, b);
/OK3568_Linux_fs/yocto/meta-rockchip/recipes-kernel/linux/linux-rockchip_4.19/
H A D0001-init-do_mounts.c-Retry-all-fs-after-failed-to-mount-.patch33 __bdevname(ROOT_DEV, b);
/OK3568_Linux_fs/kernel/fs/nfs/
H A Dnfsroot.c139 ROOT_DEV = Root_NFS; in nfs_root_setup()
/OK3568_Linux_fs/kernel/net/ipv4/
H A Dipconfig.c1495 (ROOT_DEV == Root_NFS || ROOT_DEV == Root_CIFS)) || in ip_auto_config()
1517 if (ROOT_DEV == Root_NFS) { in ip_auto_config()
1523 if (ROOT_DEV == Root_CIFS) { in ip_auto_config()
/OK3568_Linux_fs/kernel/arch/sparc/kernel/
H A Dsetup_32.c353 ROOT_DEV = old_decode_dev(root_dev); in setup_arch()
H A Dsetup_64.c659 ROOT_DEV = old_decode_dev(root_dev); in setup_arch()
/OK3568_Linux_fs/kernel/arch/arm/kernel/
H A Datags_parse.c58 ROOT_DEV = old_decode_dev(tag->u.core.rootdev); in parse_tag_core()
/OK3568_Linux_fs/kernel/arch/mips/kernel/
H A Dsetup.c173 ROOT_DEV = Root_RAM0; in init_initrd()
/OK3568_Linux_fs/kernel/arch/powerpc/kernel/
H A Dsetup-common.c380 ROOT_DEV = Root_RAM0; in check_for_initrd()
/OK3568_Linux_fs/kernel/arch/x86/kernel/
H A Dsetup.c858 ROOT_DEV = old_decode_dev(boot_params.hdr.root_dev); in setup_arch()
/OK3568_Linux_fs/kernel/arch/ia64/kernel/
H A Dsetup.c634 ROOT_DEV = Root_SDA2; /* default to second partition on first drive */ in setup_arch()
/OK3568_Linux_fs/kernel/arch/s390/kernel/
H A Dsetup.c1111 ROOT_DEV = Root_RAM0; in setup_arch()
/OK3568_Linux_fs/kernel/arch/alpha/kernel/
H A Dsetup.c676 ROOT_DEV = Root_SDA2; in setup_arch()