/freebsd-10-stable/sys/boot/ia64/ski/ |
H A D | main.c | 44 struct devdesc currdev; /* our current device */ variable in typeref:struct:devdesc 83 currdev.d_dev = devsw[0]; 84 currdev.d_type = currdev.d_dev->dv_type; 85 currdev.d_unit = 0; 94 env_setenv("currdev", EV_VOLATILE, ia64_fmtdev(&currdev), 96 env_setenv("loaddev", EV_VOLATILE, ia64_fmtdev(&currdev), env_noset,
|
/freebsd-10-stable/sys/boot/powerpc/ps3/ |
H A D | main.c | 64 struct ps3_devdesc currdev; local 95 currdev.d_dev = devsw[i]; 96 currdev.d_type = currdev.d_dev->dv_type; 99 f.f_devdata = &currdev; 100 currdev.d_unit = 0; 102 if (devsw[i]->dv_open(&f, &currdev) == 0) 107 f.f_devdata = &currdev; 108 currdev.d_unit = 3; 109 currdev [all...] |
/freebsd-10-stable/sys/boot/uboot/common/ |
H A D | main.c | 44 struct uboot_devdesc currdev; variable in typeref:struct:uboot_devdesc 313 if (currdev.d_disk.slice > 0) 314 sprintf(slice, "%d", currdev.d_disk.slice); 318 if (currdev.d_disk.partition >= 0) 319 sprintf(partition, "%d", currdev.d_disk.partition); 324 currdev.d_unit, slice, partition); 335 currdev.d_disk.slice = load_slice; 336 currdev.d_disk.partition = load_partition; 338 f.f_devdata = &currdev; 344 for (currdev [all...] |
/freebsd-10-stable/sys/boot/zfs/ |
H A D | libzfs.h | 65 void init_zfs_bootenv(char *currdev);
|
H A D | zfs.c | 713 init_zfs_bootenv(char *currdev) argument 717 if (strlen(currdev) == 0) 719 if(strncmp(currdev, "zfs:", 4) != 0) 722 currdev[strlen(currdev) - 1] = '\0'; 723 setenv("zfs_be_active", currdev, 1); 726 currdev = strchr(currdev, ':'); 727 currdev++; 729 beroot = strrchr(currdev, '/'); [all...] |
/freebsd-10-stable/sys/boot/efi/loader/ |
H A D | main.c | 360 struct zfs_devdesc currdev; local 362 currdev.d_dev = dev; 363 currdev.d_unit = unit; 364 currdev.d_type = currdev.d_dev->dv_type; 365 currdev.d_opendata = NULL; 366 currdev.pool_guid = pool_guid; 367 currdev.root_guid = 0; 368 env_setenv("currdev", EV_VOLATILE, efi_fmtdev(&currdev), 377 struct devdesc currdev; local [all...] |
/freebsd-10-stable/sys/boot/common/ |
H A D | boot.c | 383 const char *currdev; local 385 currdev = getenv("currdev"); 386 if (currdev != NULL && strncmp("zfs:", currdev, 4) == 0) { 387 cp = strdup(currdev);
|
H A D | help.common | 59 echo Current device is $currdev 248 set currdev=<device> 287 By default the value of $currdev is used to set the root filesystem
|
/freebsd-10-stable/sys/boot/ia64/efi/ |
H A D | main.c | 143 struct devdesc currdev; local 181 bzero(&currdev, sizeof(currdev)); 182 efi_handle_lookup(img->DeviceHandle, &currdev.d_dev, 183 &currdev.d_unit, NULL); 184 currdev.d_type = currdev.d_dev->dv_type; 186 env_setenv("loaddev", EV_VOLATILE, ia64_fmtdev(&currdev), env_noset, 191 dev = ia64_fmtdev(&currdev); 193 env_setenv("currdev", EV_VOLATIL [all...] |
/freebsd-10-stable/sys/boot/i386/libi386/ |
H A D | libi386.h | 67 extern struct devdesc currdev; /* our current device */
|
/freebsd-10-stable/sys/i386/i386/ |
H A D | bios.c | 615 int error, currdev; local 655 for (currdev = 0, left = ndevs; (currdev != 0xff) && (left > 0); left--) { 658 pda->next = currdev; 666 printf("pnpbios: %s 0x%x fetching node %d\n", error & 0x80 ? "error" : "warning", error, currdev); 670 currdev = pda->next;
|