/illumos-gate/usr/src/boot/sys/boot/userboot/userboot/ |
H A D | userboot_disk.c | 124 dev.d_unit = i; 149 if (dev->d_unit < 0 || dev->d_unit >= userdisk_maxunit) 152 return (disk_open(dev, ud_info[dev->d_unit].mediasize, 153 ud_info[dev->d_unit].sectorsize, 0)); 180 off = (dblk + dev->d_offset) * ud_info[dev->d_unit].sectorsize; 181 rc = CALLBACK(diskread, dev->d_unit, off, buf, size, &resid); 195 return (CALLBACK(diskioctl, dev->d_unit, cmd, data));
|
H A D | devicename.c | 142 idev->d_unit = unit; 188 sprintf(buf, "%s%d:", dev->d_dev->dv_name, dev->d_unit); 195 sprintf(buf, "%s%d:", dev->d_dev->dv_name, dev->d_unit); 202 sprintf(buf, "%s%d:", dev->d_dev->dv_name, dev->d_unit);
|
H A D | main.c | 178 dev.d_unit = 0; 192 dev.d_unit = 0;
|
/illumos-gate/usr/src/boot/sys/boot/common/ |
H A D | md.c | 93 if (dev->d_unit != 0) 131 if (dev->d_unit != 0) 143 return ((dev->d_unit != 0) ? ENXIO : 0);
|
H A D | disk.c | 62 int d_unit; member in struct:dentry 86 entry->d_unit != dev->d_unit) 115 entry->d_unit = dev->d_unit; 140 dev.d_unit = entry->d_unit; 306 disk_fmtdev(dev), dev->d_unit, dev->d_slice, 322 disk_fmtdev(dev), dev->d_unit, dev->d_slice, dev->d_partition, od); 444 dev.d_unit [all...] |
H A D | disk.h | 90 int d_unit; member in struct:disk_devdesc
|
/illumos-gate/usr/src/boot/sys/boot/efi/loader/ |
H A D | devicename.c | 134 idev->d_unit = -1; 136 idev->d_unit = strtol(np, &cp, 0); 138 idev->d_unit = -1; 175 sprintf(buf, "%s%d:", dev->d_dev->dv_name, dev->d_unit);
|
/illumos-gate/usr/src/boot/sys/boot/zfs/ |
H A D | libzfs.h | 44 int d_unit; member in struct:zfs_devdesc
|
/illumos-gate/usr/src/boot/sys/boot/ofw/libofw/ |
H A D | libofw.h | 34 int d_unit; member in struct:ofw_devdesc
|
/illumos-gate/usr/src/boot/sys/boot/uboot/lib/ |
H A D | libuboot.h | 34 int d_unit; member in struct:uboot_devdesc
|
H A D | disk.c | 49 printf("%s%d: ", dev->d_dev->dv_name, dev->d_unit); \ 68 #define SI(dev) (stor_info[(dev)->d_unit]) 193 if (dev->d_unit < 0 || dev->d_unit >= stor_info_no) 249 dev.d_unit = i;
|
H A D | devicename.c | 139 idev->d_unit = unit; 181 sprintf(buf, "%s%d:", dev->d_dev->dv_name, dev->d_unit);
|
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/ |
H A D | devicename.c | 138 idev->d_unit = unit; 179 sprintf(buf, "%s%d:", dev->d_dev->dv_name, dev->d_unit);
|
H A D | bioscd.c | 93 #define BC(dev) (bcinfo[(dev)->d_unit]) 208 if (dev->d_unit >= nbcinfo) { 268 unit = dev->d_unit; 426 unit = dev->d_unit;
|
H A D | biosdisk.c | 94 #define BD(dev) (bdinfo[(dev)->d_unit]) 302 dev.d_unit = i; 340 if (dev->d_unit < 0 || dev->d_unit >= nbdinfo) 699 biosdev = bd_unit2bios(dev->d_unit); 700 DEBUG("unit %d BIOS device %d", dev->d_unit, biosdev); 712 if (bdinfo[dev->d_unit].bd_type == DT_ATAPI) {
|
H A D | libi386.h | 39 int d_unit; member in struct:i386_devdesc
|
H A D | bootinfo32.c | 175 bi.bi_bios_dev = bc_unit2bios(rootdev->d_unit); 181 bi.bi_bios_dev = bd_unit2bios(rootdev->d_unit);
|
/illumos-gate/usr/src/boot/sys/boot/uboot/common/ |
H A D | main.c | 324 currdev.d_unit, slice, partition); 344 for (currdev.d_unit = 0; currdev.d_unit < UB_MAX_DEV; 345 currdev.d_unit++) { 361 currdev.d_unit = uboot_diskgetunit(load_type, unit); 362 if (currdev.d_unit == -1) 375 if ((currdev.d_unit = uboot_diskgetunit(load_type, load_unit)) != -1) { 464 currdev.d_unit = 0;
|
/illumos-gate/usr/src/boot/sys/boot/usb/storage/ |
H A D | umass_loader.c | 134 if (dev->d_unit != 0) 181 dev.d_unit = 0;
|
/illumos-gate/usr/src/boot/sys/boot/i386/loader/ |
H A D | chain.c | 104 relocator_edx = bd_unit2bios(rootdev->d_unit);
|
H A D | main.c | 235 new_currdev.d_unit = bc_bios2unit(initial_bootdev); 239 new_currdev.d_unit = 0; 299 ((new_currdev.d_unit = bd_bios2unit(biosdev)) == -1)) { 302 new_currdev.d_unit = 0;
|
/illumos-gate/usr/src/boot/sys/boot/efi/libefi/ |
H A D | efipart.c | 77 #define PD(dev) (pdinfo[(dev)->d_unit]) 218 h = efi_find_handle(&efipart_dev, dev->d_unit);
|
H A D | efinet.c | 104 if (dev->d_unit - 1 == nif->nif_unit)
|
/illumos-gate/usr/src/boot/sys/boot/i386/gptzfsboot/ |
H A D | zfsboot.c | 296 devdesc.d_unit, devdesc.d_partition >= 0? devdesc.d_partition:0xff); 543 bdev->d_unit, part); 544 bootinfo.bi_bios_dev = bd_unit2bios(bdev->d_unit);
|
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | dosfs.c | 177 fat.unit = dd->d_unit; 211 if (fat.buf == NULL || fat.unit != dd->d_unit) 776 if (fat.unit != dd->d_unit) {
|