/openbsd/sys/arch/armv7/armv7/ |
H A D | autoconf.c | 57 struct device *bootdv = NULL; variable 116 if (bootdv == NULL) { in diskconf() 123 bootdv = parsedisk(boot_file, len, 0, &tmpdev); in diskconf() 137 bootdv = parsedisk(ifp->if_xname, strlen(ifp->if_xname), in diskconf() 142 if (bootdv != NULL) in diskconf() 143 printf("boot device: %s\n", bootdv->dv_xname); in diskconf() 146 setroot(bootdv, 0, RB_USERREQ); in diskconf()
|
/openbsd/sys/arch/macppc/macppc/ |
H A D | autoconf.c | 86 struct device *bootdv = NULL; variable 239 if (bootdv != NULL || dev->dv_class != bootdev_class) in device_register() 249 bootdv = dev; in device_register() 257 bootdv = dev; in device_register() 262 bootdv = dev; in device_register() 275 if (bootdv != NULL) in diskconf() 276 bootdv = mpath_bootdv(bootdv); in diskconf() 279 setroot(bootdv, 0, RB_USERREQ); in diskconf()
|
/openbsd/sys/arch/octeon/octeon/ |
H A D | autoconf.c | 32 struct device *bootdv = NULL; variable 145 if (bootdv != NULL) in diskconf() 146 printf("boot device: %s\n", bootdv->dv_xname); in diskconf() 148 setroot(bootdv, 0, RB_USERREQ); in diskconf() 155 if (bootdv != NULL || dev->dv_class != bootdev_class) in device_register() 162 bootdv = dev; in device_register()
|
/openbsd/sys/arch/loongson/loongson/ |
H A D | autoconf.c | 34 struct device *bootdv = NULL; variable 132 if (bootdv != NULL) in diskconf() 133 printf("boot device: %s\n", bootdv->dv_xname); in diskconf() 135 setroot(bootdv, 0, RB_USERREQ); in diskconf() 146 if (bootdv != NULL) in device_register()
|
H A D | yeeloong_machdep.c | 551 bootdv = dev; in lemote_device_register() 558 bootdv = dev; in lemote_device_register() 566 bootdv = dev; in lemote_device_register()
|
H A D | generic3a_machdep.c | 238 bootdv = dev; in generic3a_device_register() 245 bootdv = dev; in generic3a_device_register() 253 bootdv = dev; in generic3a_device_register()
|
H A D | generic2e_machdep.c | 376 bootdv = dev; in generic2e_device_register() 383 bootdv = dev; in generic2e_device_register() 391 bootdv = dev; in generic2e_device_register()
|
H A D | gdium_machdep.c | 253 bootdv = dev; in gdium_device_register()
|
/openbsd/sys/arch/luna88k/luna88k/ |
H A D | autoconf.c | 66 struct device *bootdv; /* set by device drivers (if found) */ variable 98 (bootdv) ? bootdv->dv_xname : "<unknown>"); in diskconf() 99 setroot(bootdv, 0, RB_USERREQ); in diskconf() 200 bootdv = dev; in device_register()
|
/openbsd/sys/arch/amd64/amd64/ |
H A D | autoconf.c | 176 struct device *bootdv = NULL; in diskconf() local 189 bootdv = parsedisk(buf, strlen(buf), part, &tmpdev); in diskconf() 206 bootdv = parsedisk(ifp->if_xname, strlen(ifp->if_xname), in diskconf() 215 setroot(bootdv, part, RB_USERREQ); in diskconf()
|
/openbsd/sys/arch/powerpc64/powerpc64/ |
H A D | autoconf.c | 50 struct device *bootdv = NULL; in diskconf() local 64 bootdv = parsedisk(ifp->if_xname, strlen(ifp->if_xname), in diskconf() 69 setroot(bootdv, part, RB_USERREQ); in diskconf()
|
/openbsd/sys/arch/i386/i386/ |
H A D | autoconf.c | 203 struct device *bootdv = NULL; in diskconf() local 216 bootdv = parsedisk(buf, strlen(buf), part, &tmpdev); in diskconf() 233 bootdv = parsedisk(ifp->if_xname, strlen(ifp->if_xname), in diskconf() 242 setroot(bootdv, part, RB_USERREQ); in diskconf()
|
/openbsd/sys/arch/riscv64/riscv64/ |
H A D | autoconf.c | 68 struct device *bootdv = NULL; in diskconf() local 82 bootdv = parsedisk(ifp->if_xname, strlen(ifp->if_xname), in diskconf() 87 setroot(bootdv, part, RB_USERREQ); in diskconf()
|
/openbsd/sys/arch/arm64/arm64/ |
H A D | autoconf.c | 82 struct device *bootdv = NULL; in diskconf() local 96 bootdv = parsedisk(ifp->if_xname, strlen(ifp->if_xname), in diskconf() 101 setroot(bootdv, part, RB_USERREQ); in diskconf()
|
/openbsd/sys/arch/hppa/hppa/ |
H A D | autoconf.c | 70 struct device *bootdv; variable 375 if (bootdv != NULL) in device_register() 425 bootdv = dev; in device_register() 470 bootdv = dev; in device_register() 506 if (bootdv != NULL) in diskconf() 507 bootdv = mpath_bootdv(bootdv); in diskconf() 510 setroot(bootdv, 0, RB_USERREQ); in diskconf()
|
/openbsd/sys/arch/alpha/alpha/ |
H A D | autoconf.c | 111 struct device *bootdv; in diskconf() local 117 bootdv = booted_device; in diskconf() 120 setroot(bootdv, bootpartition, RB_USERREQ); in diskconf()
|
/openbsd/sys/kern/ |
H A D | subr_disk.c | 1460 if (dk->dk_device == bootdv) in setroot() 1464 } else if (bootdv == NULL) { in setroot() 1470 bootdv = dk->dk_device; in setroot() 1488 if (bootdv != NULL) { in setroot() 1490 if (bootdv->dv_class == DV_DISK) in setroot() 1502 if (len == 0 && bootdv != NULL) { in setroot() 1571 rootdv = bootdv; in setroot() 1578 rootdv = bootdv; in setroot() 1580 if (bootdv->dv_class == DV_DISK) { in setroot() 1624 if (bootdv != NULL && bootdv->dv_class == DV_IFNET) in setroot() [all …]
|
/openbsd/sys/arch/octeon/include/ |
H A D | autoconf.h | 42 extern struct device *bootdv;
|
/openbsd/sys/arch/sparc64/sparc64/ |
H A D | autoconf.c | 792 struct device *bootdv; in diskconf() local 797 bootdv = (bp == NULL) ? NULL : bp->dev; in diskconf() 800 if (bootdv != NULL) in diskconf() 801 bootdv = mpath_bootdv(bootdv); in diskconf() 804 setroot(bootdv, bp->val[2], RB_USERREQ | RB_HALT); in diskconf()
|
/openbsd/sys/arch/loongson/include/ |
H A D | autoconf.h | 109 extern struct device *bootdv;
|