/illumos-gate/usr/src/boot/sys/boot/i386/loader/ |
H A D | chain.c | 49 struct i386_devdesc *rootdev; local 80 i386_getdev((void **)(&rootdev), argv[1], NULL); 81 if (rootdev == NULL) { 104 relocator_edx = bd_unit2bios(rootdev->d_unit);
|
/illumos-gate/usr/src/boot/sys/boot/common/ |
H A D | boot.c | 286 * Try to find the /etc/fstab file on the filesystem (rootdev), 296 getrootmount(char *rootdev) argument 305 sprintf(lbuf, "%s/etc/fstab", rootdev);
|
/illumos-gate/usr/src/boot/sys/boot/efi/loader/arch/i386/ |
H A D | bootinfo.c | 214 struct devdesc *rootdev; local 223 * Allow the environment variable 'rootdev' to override the supplied 224 * device. This should perhaps go to MI code and/or have $rootdev 227 rootdevname = getenv("rootdev"); 228 i386_getdev((void**)&rootdev, rootdevname, NULL); 229 if (rootdev != NULL) { 231 getrootmount(i386_fmtdev(rootdev)); 232 free(rootdev);
|
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/ |
H A D | bootinfo32.c | 138 struct i386_devdesc *rootdev; local 153 * Allow the environment variable 'rootdev' to override the supplied device 154 * This should perhaps go to MI code and/or have $rootdev tested/set by 157 rootdevname = getenv("rootdev"); 158 i386_getdev((void **)(&rootdev), rootdevname, NULL); 159 if (rootdev == NULL) { /* bad $rootdev/$currdev */ 165 getrootmount(i386_fmtdev((void *)rootdev)); 167 /* Do legacy rootdev guessing */ 172 switch(rootdev [all...] |
H A D | bootinfo64.c | 183 struct i386_devdesc *rootdev; local 200 * Allow the environment variable 'rootdev' to override the supplied device 201 * This should perhaps go to MI code and/or have $rootdev tested/set by 204 rootdevname = getenv("rootdev"); 205 i386_getdev((void **)(&rootdev), rootdevname, NULL); 206 if (rootdev == NULL) { /* bad $rootdev/$currdev */ 212 getrootmount(i386_fmtdev((void *)rootdev));
|
H A D | linux.c | 288 struct i386_devdesc *rootdev; local 297 i386_getdev((void **)(&rootdev), fp->f_name, NULL); 298 if (rootdev != NULL) 299 relocator_edx = bd_unit2bios(rootdev->d_unit);
|
H A D | multiboot.c | 369 kernel_cmdline(struct preloaded_file *fp, struct i386_devdesc *rootdev) argument 382 if (rootdev->d_type == DEVT_ZFS) 383 len += 3 + strlen(zfs_bootfs(rootdev)) + 1; 389 if (rootdev->d_type == DEVT_ZFS) { 392 fp->f_args, zfs_bootfs(rootdev)); 395 zfs_bootfs(rootdev)); 416 struct i386_devdesc *rootdev; local 442 i386_getdev((void **)(&rootdev), NULL, NULL); 443 if (rootdev == NULL) { 492 cmdline = kernel_cmdline(mfp, rootdev); [all...] |
H A D | bioscd.c | 424 int rootdev; local 445 rootdev = MAKEBOOTDEV(major, 0, unit, 0); 446 DEBUG("dev is 0x%x\n", rootdev); 447 return(rootdev);
|
H A D | biosdisk.c | 694 int rootdev; local 734 rootdev = MAKEBOOTDEV(major, dev->d_slice + 1, unit, dev->d_partition); 735 DEBUG("dev is 0x%x\n", rootdev); 736 return(rootdev);
|
/illumos-gate/usr/src/boot/sys/boot/userboot/userboot/ |
H A D | bootinfo32.c | 138 struct i386_devdesc *rootdev; local 154 * Allow the environment variable 'rootdev' to override the supplied device 155 * This should perhaps go to MI code and/or have $rootdev tested/set by 158 rootdevname = getenv("rootdev"); 159 userboot_getdev((void **)(&rootdev), rootdevname, NULL); 160 if (rootdev == NULL) { /* bad $rootdev/$currdev */ 166 getrootmount(userboot_fmtdev((void *)rootdev)); 171 printf("root device %s invalid\n", i386_fmtdev(rootdev)); 175 free(rootdev); [all...] |
H A D | bootinfo64.c | 185 struct userboot_devdesc *rootdev; local 202 * Allow the environment variable 'rootdev' to override the supplied device 203 * This should perhaps go to MI code and/or have $rootdev tested/set by 206 rootdevname = getenv("rootdev"); 207 userboot_getdev((void **)(&rootdev), rootdevname, NULL); 208 if (rootdev == NULL) { /* bad $rootdev/$currdev */ 214 getrootmount(userboot_fmtdev((void *)rootdev));
|
/illumos-gate/usr/src/cmd/fs.d/udfs/fsck/ |
H A D | setup.c | 86 dev_t rootdev; local 95 rootdev = statb.st_dev; 118 if (rootdev == statb.st_rdev) 199 if (rootdev == statb.st_rdev)
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | space.c | 112 dev_t rootdev; /* dev_t of the root device */ variable
|
/illumos-gate/usr/src/boot/sys/boot/efi/loader/ |
H A D | bootinfo.c | 342 struct devdesc *rootdev; local 373 * Allow the environment variable 'rootdev' to override the supplied 374 * device. This should perhaps go to MI code and/or have $rootdev 377 rootdevname = getenv("rootdev"); 378 archsw.arch_getdev((void**)(&rootdev), rootdevname, NULL); 379 if (rootdev == NULL) { 385 getrootmount(efi_fmtdev((void *)rootdev));
|
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | ufs_vfsops.c | 469 dev_t rootdev; local 479 rootdev = getrootdev(); 480 if (rootdev == (dev_t)NODEV) 482 vfsp->vfs_dev = rootdev; 496 rootdev = vfsp->vfs_dev; 531 devvp = makespecvp(rootdev, VBLK); 2130 old_rootdev = rootdev; 2278 rootdev = new_rootdev;
|
/illumos-gate/usr/src/uts/common/fs/hsfs/ |
H A D | hsfs_vfsops.c | 1462 dev_t rootdev; local 1468 rootdev = getrootdev(); 1469 if (rootdev == (dev_t)NODEV) 1471 vfsp->vfs_dev = rootdev; 1485 error = hs_mountfs(vfsp, rootdev, "/", mode, 1, CRED(), 1);
|
/illumos-gate/usr/src/uts/common/fs/udfs/ |
H A D | udf_vfsops.c | 549 dev_t rootdev; local 559 rootdev = getrootdev(); 560 if (rootdev == (dev_t)NODEV) { 563 vfsp->vfs_dev = rootdev; 576 rootdev = vfsp->vfs_dev; 589 error = ud_mountfs(vfsp, why, rootdev, "/", CRED(), 1);
|