Searched refs:currdev (Results 1 - 11 of 11) sorted by relevance

/freebsd-10-stable/sys/boot/ia64/ski/
H A Dmain.c44 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 Dmain.c64 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 Dmain.c44 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 Dlibzfs.h65 void init_zfs_bootenv(char *currdev);
H A Dzfs.c713 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 Dmain.c360 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 Dboot.c383 const char *currdev; local
385 currdev = getenv("currdev");
386 if (currdev != NULL && strncmp("zfs:", currdev, 4) == 0) {
387 cp = strdup(currdev);
H A Dhelp.common59 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 Dmain.c143 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 Dlibi386.h67 extern struct devdesc currdev; /* our current device */
/freebsd-10-stable/sys/i386/i386/
H A Dbios.c615 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;

Completed in 225 milliseconds