Searched defs:currdev (Results 1 - 8 of 8) sorted by relevance
/illumos-gate/usr/src/boot/sys/boot/common/ |
H A D | boot.c | 373 const char *currdev; local 375 currdev = getenv("currdev"); 376 if (currdev != NULL && strncmp("zfs:", currdev, 4) == 0) { 377 cp = strdup(currdev);
|
H A D | install.c | 189 char *s, *currdev; local 203 currdev = getenv("currdev"); 204 if (currdev != NULL && strcmp(currdev, "pxe0:") == 0) {
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | sysfiles.c | 725 currdev() function
|
/illumos-gate/usr/src/boot/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...] |
/illumos-gate/usr/src/lib/libnsl/dial/ |
H A D | sysfiles.c | 709 currdev(void) function
|
/illumos-gate/usr/src/boot/sys/boot/efi/loader/ |
H A D | main.c | 371 struct zfs_devdesc currdev; local 373 currdev.d_dev = dev; 374 currdev.d_unit = unit; 375 currdev.d_type = currdev.d_dev->dv_type; 376 currdev.d_opendata = NULL; 377 currdev.pool_guid = pool_guid; 378 currdev.root_guid = 0; 379 env_setenv("currdev", EV_VOLATILE, efi_fmtdev(&currdev), 390 struct devdesc currdev; local [all...] |
/illumos-gate/usr/src/boot/sys/boot/zfs/ |
H A D | zfs.c | 787 init_zfs_bootenv(char *currdev) argument 791 if (strlen(currdev) == 0) 793 if(strncmp(currdev, "zfs:", 4) != 0) 796 currdev[strlen(currdev) - 1] = '\0'; 797 setenv("zfs_be_active", currdev, 1); 800 currdev = strchr(currdev, ':'); 801 currdev++; 803 beroot = strrchr(currdev, '/'); [all...] |
/illumos-gate/usr/src/common/ficl/emu/ |
H A D | loader_emu.c | 584 char *currdev; local 599 (void) asprintf(&currdev, "zfs:%s:", mp.mnt_special); 603 return (currdev); 773 (void) setenv("currdev", buf, 1); 892 char *currdev; local 925 currdev = getenv("currdev"); 926 buf = strchr(currdev, ':'); /* skip zfs: */
|
Completed in 873 milliseconds