Home
last modified time | relevance | path

Searched refs:currdev (Results 1 – 13 of 13) sorted by relevance

/freebsd-14-stable/stand/uboot/
HDmain.c46 struct uboot_devdesc currdev; variable
347 if (currdev.d_disk.d_slice == D_SLICENONE) in print_disk_probe_info()
349 else if (currdev.d_disk.d_slice == D_SLICEWILD) in print_disk_probe_info()
352 snprintf(slice, sizeof(slice), "%d", currdev.d_disk.d_slice); in print_disk_probe_info()
354 if (currdev.d_disk.d_partition == D_PARTNONE) in print_disk_probe_info()
356 else if (currdev.d_disk.d_partition == D_PARTWILD) in print_disk_probe_info()
360 currdev.d_disk.d_partition); in print_disk_probe_info()
363 currdev.dd.d_unit, slice, partition); in print_disk_probe_info()
374 currdev.d_disk.d_slice = load_slice; in probe_disks()
375 currdev.d_disk.d_partition = load_partition; in probe_disks()
[all …]
/freebsd-14-stable/stand/efi/loader/
HDmain.c196 set_currdev_devdesc(struct devdesc *currdev) in set_currdev_devdesc() argument
200 devname = devformat(currdev); in set_currdev_devdesc()
208 struct devdesc currdev; in set_currdev_devsw() local
210 currdev.d_dev = dev; in set_currdev_devsw()
211 currdev.d_unit = unit; in set_currdev_devsw()
213 set_currdev_devdesc(&currdev); in set_currdev_devsw()
226 struct disk_devdesc currdev; in set_currdev_pdinfo() local
228 currdev.dd.d_dev = dp->pd_devsw; in set_currdev_pdinfo()
230 currdev.dd.d_unit = dp->pd_unit; in set_currdev_pdinfo()
231 currdev.d_slice = D_SLICENONE; in set_currdev_pdinfo()
[all …]
/freebsd-14-stable/stand/common/
HDboot.c401 const char *currdev; in getrootmount() local
403 currdev = getenv("currdev"); in getrootmount()
404 if (currdev != NULL && strncmp("zfs:", currdev, 4) == 0) { in getrootmount()
405 cp = strdup(currdev); in getrootmount()
HDinstall.c193 char *e, *s, *currdev; in install() local
217 currdev = getenv("currdev"); in install()
222 devname = currdev; in install()
HDhelp.common59 echo Current device is $currdev
255 set currdev=<device>
294 By default the value of $currdev is used to set the root filesystem
/freebsd-14-stable/stand/kboot/kboot/
HDhostdisk.c574 struct zfs_devdesc currdev; in probe_zfs_currdev() local
577 currdev.dd.d_dev = &zfs_dev; in probe_zfs_currdev()
578 currdev.dd.d_unit = 0; in probe_zfs_currdev()
579 currdev.pool_guid = pool_guid; in probe_zfs_currdev()
580 currdev.root_guid = 0; in probe_zfs_currdev()
581 devname = devformat(&currdev.dd); in probe_zfs_currdev()
586 if (zfs_get_bootonce(&currdev, OS_BOOTONCE, buf, sizeof(buf)) == 0) { in probe_zfs_currdev()
591 (void)zfs_attach_nvstore(&currdev); in probe_zfs_currdev()
/freebsd-14-stable/sys/i386/i386/
HDbios.c574 int error, currdev; in pnpbios_identify() local
614 for (currdev = 0, left = ndevs; (currdev != 0xff) && (left > 0); left--) { in pnpbios_identify()
616 pda->next = currdev; in pnpbios_identify()
624 printf("pnpbios: %s 0x%x fetching node %d\n", error & 0x80 ? "error" : "warning", error, currdev); in pnpbios_identify()
628 currdev = pda->next; in pnpbios_identify()
/freebsd-14-stable/stand/efi/libefi/
HDeficom.c49 EFI_HANDLE currdev; /* current serial device */ member
310 comc_port->currdev = handle; in comc_probe()
429 if (comc_port->currdev == comc_port->condev) { in comc_getchar()
455 if (comc_port->currdev == comc_port->condev) { in comc_ischar()
517 comc_port->currdev = handle; in comc_port_set()
/freebsd-14-stable/stand/libsa/zfs/
HDlibzfs.h57 void init_zfs_boot_options(const char *currdev);
HDzfs.c1761 char *beroot, *currdev; in init_zfs_boot_options() local
1766 currdev = NULL; in init_zfs_boot_options()
1772 currdev = strdup(currdev_in); in init_zfs_boot_options()
1773 if (currdev == NULL) in init_zfs_boot_options()
1776 currdev[currdev_len - 1] = '\0'; in init_zfs_boot_options()
1778 setenv("zfs_be_active", currdev, 1); in init_zfs_boot_options()
1781 beroot = strrchr(currdev, '/'); in init_zfs_boot_options()
1784 beroot = strchr(currdev, ':') + 1; in init_zfs_boot_options()
1797 free(currdev); in init_zfs_boot_options()
/freebsd-14-stable/stand/i386/libi386/
HDlibi386.h82 extern struct devdesc currdev; /* our current device */
/freebsd-14-stable/stand/forth/
HDmenu.rc70 s" currdev" getenv dup 0> [if] drop 4 s" zfs:" compare 0= [if]
HDmenu-commands.4th380 s" set currdev=${vfs.root.mountfrom}:" evaluate