| /titanic_53/usr/src/boot/sys/boot/userboot/userboot/ |
| H A D | userboot_disk.c | 131 dev.d_unit = i; in userdisk_print() 156 if (dev->d_unit < 0 || dev->d_unit >= userdisk_maxunit) in userdisk_open() 159 return (disk_open(dev, ud_info[dev->d_unit].mediasize, in userdisk_open() 160 ud_info[dev->d_unit].sectorsize)); in userdisk_open() 188 off = (dblk + dev->d_offset) * ud_info[dev->d_unit].sectorsize; in userdisk_strategy() 189 rc = CALLBACK(diskread, dev->d_unit, off, buf, size, &resid); in userdisk_strategy() 203 return (CALLBACK(diskioctl, dev->d_unit, cmd, data)); in userdisk_ioctl()
|
| H A D | devicename.c | 142 idev->d_unit = unit; in userboot_parsedev() 188 sprintf(buf, "%s%d:", dev->d_dev->dv_name, dev->d_unit); in userboot_fmtdev() 195 sprintf(buf, "%s%d:", dev->d_dev->dv_name, dev->d_unit); in userboot_fmtdev() 202 sprintf(buf, "%s%d:", dev->d_dev->dv_name, dev->d_unit); in userboot_fmtdev()
|
| H A D | main.c | 173 dev.d_unit = 0; in extract_currdev() 187 dev.d_unit = 0; in extract_currdev()
|
| /titanic_53/usr/src/boot/sys/boot/uboot/common/ |
| H A D | main.c | 320 currdev.d_unit, slice, partition); in print_disk_probe_info() 340 for (currdev.d_unit = 0; currdev.d_unit < UB_MAX_DEV; in probe_disks() 341 currdev.d_unit++) { in probe_disks() 357 currdev.d_unit = uboot_diskgetunit(load_type, unit); in probe_disks() 358 if (currdev.d_unit == -1) in probe_disks() 371 if ((currdev.d_unit = uboot_diskgetunit(load_type, load_unit)) != -1) { in probe_disks() 458 currdev.d_unit = 0; in main()
|
| /titanic_53/usr/src/boot/sys/boot/uboot/lib/ |
| 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]) 194 if (dev->d_unit < 0 || dev->d_unit >= stor_info_no) in stor_opendev() 256 dev.d_unit = i; in stor_print()
|
| H A D | devicename.c | 139 idev->d_unit = unit; in uboot_parsedev() 181 sprintf(buf, "%s%d:", dev->d_dev->dv_name, dev->d_unit); in uboot_fmtdev()
|
| H A D | libuboot.h | 34 int d_unit; member
|
| /titanic_53/usr/src/boot/sys/boot/common/ |
| H A D | md.c | 93 if (dev->d_unit != 0) in md_strategy() 131 if (dev->d_unit != 0) in md_open() 143 return ((dev->d_unit != 0) ? ENXIO : 0); in md_close()
|
| H A D | disk.c | 129 dev.d_unit = pa->dev->d_unit; in ptable_print() 243 disk_fmtdev(dev), dev->d_unit, dev->d_slice, dev->d_partition, od); in disk_open() 362 cp = buf + sprintf(buf, "%s%d", dev->d_dev->dv_name, dev->d_unit); in disk_fmtdev() 424 dev->d_unit = unit; in disk_parsedev()
|
| H A D | disk.h | 91 int d_unit; member
|
| /titanic_53/usr/src/boot/sys/boot/i386/libi386/ |
| H A D | biosdisk.c | 94 #define BD(dev) (bdinfo[(dev)->d_unit]) 311 dev.d_unit = i; in bd_print() 350 if (dev->d_unit < 0 || dev->d_unit >= nbdinfo) in bd_open() 365 disk.d_unit = dev->d_unit; in bd_open() 696 "to %lld: 0x%x", dev->d_dev->dv_name, dev->d_unit, in bd_io() 700 "(0x%x): 0x%x", dev->d_dev->dv_name, dev->d_unit, in bd_io() 757 biosdev = bd_unit2bios(dev->d_unit); in bd_getdev() 758 DEBUG("unit %d BIOS device %d", dev->d_unit, biosdev); in bd_getdev() 769 if (bdinfo[dev->d_unit].bd_type == DT_ATAPI) { in bd_getdev()
|
| H A D | bioscd.c | 92 #define BC(dev) (bcinfo[(dev)->d_unit]) 214 if (dev->d_unit >= nbcinfo) { in bc_open() 274 unit = dev->d_unit; in bc_realstrategy() 432 unit = dev->d_unit; in bc_getdev()
|
| H A D | devicename.c | 154 idev->d_unit = unit; in i386_parsedev() 194 dev->d_unit); in i386_fmtdev()
|
| H A D | bootinfo32.c | 175 bi.bi_bios_dev = bc_unit2bios(rootdev->d_unit); in bi_load32() 181 bi.bi_bios_dev = bd_unit2bios(rootdev->d_unit); in bi_load32()
|
| H A D | libi386.h | 41 int d_unit; member
|
| /titanic_53/usr/src/boot/sys/boot/i386/loader/ |
| H A D | main.c | 235 new_currdev.d_unit = bc_bios2unit(initial_bootdev); in extract_currdev() 239 new_currdev.d_unit = 0; in extract_currdev() 297 ((new_currdev.d_unit = bd_bios2unit(biosdev)) == -1)) { in extract_currdev() 300 new_currdev.d_unit = 0; in extract_currdev()
|
| H A D | chain.c | 103 relocator_edx = bd_unit2bios(rootdev->d_unit); in command_chain()
|
| /titanic_53/usr/src/boot/sys/boot/efi/loader/ |
| H A D | devicename.c | 156 idev->d_unit = unit; in efi_parsedev() 195 dev->d_unit); in efi_fmtdev()
|
| H A D | main.c | 162 currdev.d_unit = unit; in set_devdesc_currdev() 188 currdev.d_unit = 0; in find_currdev() 209 currdev.d_unit = dp->pd_unit; in find_currdev() 889 efi_find_handle(dev->d_dev, dev->d_unit); in command_chain()
|
| /titanic_53/usr/src/boot/sys/boot/usb/storage/ |
| H A D | umass_loader.c | 135 if (dev->d_unit != 0) in umass_disk_open() 186 dev.d_unit = 0; in umass_disk_print()
|
| /titanic_53/usr/src/boot/sys/boot/zfs/ |
| H A D | libzfs.h | 44 int d_unit; member
|
| /titanic_53/usr/src/boot/sys/boot/ofw/libofw/ |
| H A D | libofw.h | 34 int d_unit; member
|
| /titanic_53/usr/src/boot/sys/boot/efi/libefi/ |
| H A D | efipart.c | 738 pd_dev.d_unit = pd->pd_unit; in efipart_print_common() 812 pd = efiblk_get_pdinfo(pdi, dev->d_unit); in efipart_open() 864 pd = efiblk_get_pdinfo(pdi, dev->d_unit); in efipart_close() 894 pd = efiblk_get_pdinfo(pdi, dev->d_unit); in efipart_ioctl() 977 pd = efiblk_get_pdinfo(pdi, dev->d_unit); in efipart_strategy() 1021 pd = efiblk_get_pdinfo(pdi, dev->d_unit); in efipart_realstrategy()
|
| H A D | efinet.c | 102 if (dev->d_unit == nif->nif_unit) in efinet_match()
|
| /titanic_53/usr/src/boot/sys/boot/i386/gptzfsboot/ |
| H A D | zfsboot.c | 180 devdesc.d_unit, devdesc.d_partition >= 0? devdesc.d_partition:0xff); in main() 419 bdev->d_unit, part); in mount_root() 420 bootinfo.bi_bios_dev = bd_unit2bios(bdev->d_unit); in mount_root()
|