Home
last modified time | relevance | path

Searched refs:rootdev (Results 1 – 17 of 17) sorted by relevance

/freebsd/libexec/rc/rc.d/
H A Dgrowfs115 rootdev=${FSDEV#/dev/}
119 rootdev=$(zpool list -v $pool | awk 'END { print $1 }')
125 if [ x"$rootdev" = x"${rootdev%/*}" ]; then
127 rawdev="$rootdev"
129 rawdev=$(glabel status | awk -v rootdev=$rootdev 'index(rootdev, $1) { print $3; }')
131 echo "Can't figure out device for: $rootdev"
137 search=$rootdev
144 diskdev=${rootdev}
286 growfs -y /dev/"$rootdev"
289 zpool online -e $pool $rootdev
/freebsd/stand/i386/libi386/
H A Dbootinfo32.c57 struct i386_devdesc *rootdev; in bi_load32() local
77 i386_getdev((void **)(&rootdev), rootdevname, NULL); in bi_load32()
78 if (rootdev == NULL) { /* bad $rootdev/$currdev */ in bi_load32()
84 getrootmount(devformat(&rootdev->dd)); in bi_load32()
92 switch(rootdev->dd.d_dev->dv_type) { in bi_load32()
96 bi->bi_bios_dev = bd_unit2bios(rootdev); in bi_load32()
97 bootdevnr = bd_getdev(rootdev); in bi_load32()
106 rootdev->dd.d_dev->dv_type); in bi_load32()
109 printf("root device %s invalid\n", devformat(&rootdev->dd)); in bi_load32()
112 free(rootdev); in bi_load32()
H A Dbootinfo64.c100 struct i386_devdesc *rootdev; in bi_load64() local
123 i386_getdev((void **)(&rootdev), rootdevname, NULL); in bi_load64()
124 if (rootdev == NULL) { /* bad $rootdev/$currdev */ in bi_load64()
130 getrootmount(devformat(&rootdev->dd)); in bi_load64()
H A Dbiosdisk.c1300 int rootdev; in bd_getdev() local
1366 rootdev = MAKEBOOTDEV(major, slice, unit, partition); in bd_getdev()
1367 DPRINTF("dev is 0x%x\n", rootdev); in bd_getdev()
1368 return (rootdev); in bd_getdev()
/freebsd/stand/userboot/userboot/
H A Dbootinfo32.c56 struct devdesc *rootdev; in bi_load32() local
77 userboot_getdev((void **)(&rootdev), rootdevname, NULL); in bi_load32()
78 if (rootdev == NULL) { /* bad $rootdev/$currdev */ in bi_load32()
84 getrootmount(devformat(rootdev)); in bi_load32()
89 printf("root device %s invalid\n", devformat(rootdev)); in bi_load32()
93 free(rootdev); in bi_load32()
H A Dbootinfo64.c96 struct devdesc *rootdev; in bi_load64() local
118 userboot_getdev((void **)(&rootdev), rootdevname, NULL); in bi_load64()
119 if (rootdev == NULL) { /* bad $rootdev/$currdev */ in bi_load64()
125 getrootmount(devformat(rootdev)); in bi_load64()
/freebsd/stand/i386/loader/
H A Dchain.c64 struct i386_devdesc *rootdev; in command_chain() local
116 i386_getdev((void **)(&rootdev), argv[1], NULL); in command_chain()
117 if (rootdev == NULL) { in command_chain()
146 relocator_edx = bd_unit2bios(rootdev); in command_chain()
/freebsd/sys/riscv/riscv/
H A Dsbi_ipi.c144 device_t rootdev; in sbi_ipi_attach() local
159 rootdev = intr_irq_root_device(INTR_ROOT_IRQ); in sbi_ipi_attach()
160 iparent = OF_xref_from_node(ofw_bus_get_node(rootdev)); in sbi_ipi_attach()
H A Dtimer.c199 device_t rootdev; in riscv_timer_attach() local
215 rootdev = intr_irq_root_device(INTR_ROOT_IRQ); in riscv_timer_attach()
216 iparent = OF_xref_from_node(ofw_bus_get_node(rootdev)); in riscv_timer_attach()
H A Daplic.c326 device_t rootdev; in aplic_setup_direct_mode() local
413 rootdev = intr_irq_root_device(INTR_ROOT_IRQ); in aplic_setup_direct_mode()
414 iparent = OF_xref_from_node(ofw_bus_get_node(rootdev)); in aplic_setup_direct_mode()
/freebsd/stand/efi/loader/
H A Dbootinfo.c328 struct devdesc *rootdev; in bi_load() local
376 archsw.arch_getdev((void**)(&rootdev), rootdevname, NULL); in bi_load()
377 if (rootdev == NULL) { in bi_load()
383 getrootmount(devformat(rootdev)); in bi_load()
H A Dmain.c509 char *rootdev; in find_currdev() local
515 rootdev = getenv("rootdev"); in find_currdev()
516 if (rootdev != NULL) { in find_currdev()
518 rootdev); in find_currdev()
519 set_currdev(rootdev); in find_currdev()
528 rootdev = getenv("uefi_rootdev"); in find_currdev()
529 if (rootdev == NULL) in find_currdev()
531 devpath = efi_name_to_devpath(rootdev); in find_currdev()
539 rootdev); in find_currdev()
/freebsd/stand/common/
H A Dboot.c320 getrootmount(char *rootdev) in getrootmount() argument
329 snprintf(lbuf, sizeof(lbuf), "%s/etc/fstab", rootdev); in getrootmount()
H A Dbootstrap.h69 int getrootmount(char *rootdev);
H A Dhelp.common292 set rootdev=<path>
296 $rootdev explicitly.
/freebsd/sys/arm/include/
H A Datags.h64 uint32_t rootdev; member
/freebsd/tools/tools/sysdoc/
H A Dtunables.mdoc1127 kern.rootdev