/illumos-gate/usr/src/boot/i386/loader/ |
H A D | main.c | 223 new_currdev.dd.d_dev = &bioshd; in extract_currdev() 229 new_currdev.dd.d_dev = &bioscd; in extract_currdev() 233 new_currdev.dd.d_dev = &pxedisk; in extract_currdev() 258 new_currdev.dd.d_dev = &zfs_dev; in extract_currdev() 301 if ((new_currdev.dd.d_dev->dv_type == bioshd.dv_type) && in extract_currdev() 375 dev.dd.d_dev = &bioshd; in i386_zfs_probe()
|
/illumos-gate/usr/src/boot/i386/libi386/ |
H A D | biosdisk.c | 214 bdi = bd_get_bdinfo_list(dev->d_dev); in bd_get_bdinfo() 259 bdi = bd_get_bdinfo_list(dev->dd.d_dev); in bd_unit2bios() 751 devd.dd.d_dev = dev; in bd_print_common() 805 disk.dd.d_dev = dev->dd.d_dev; in bd_disk_get_sectors() 859 if (dev->dd.d_dev->dv_type == DEVT_DISK) { in bd_open() 890 if (dev->dd.d_dev->dv_type == DEVT_DISK) in bd_close() 907 if (dev->dd.d_dev->dv_type == DEVT_DISK) { in bd_ioctl() 945 if (dev->dd.d_dev->dv_type == DEVT_DISK) { in bd_strategy() 1014 if (dev->dd.d_dev->dv_type == DEVT_DISK) { in bd_realstrategy() 1249 "to %lld: 0x%x\n", dev->dd.d_dev->dv_name, in bd_io() [all …]
|
H A D | devicename.c | 160 idev->dd.d_dev = dv; in i386_parsedev() 180 switch (dev->dd.d_dev->dv_type) { in i386_fmtdev() 192 snprintf(buf, sizeof (buf), "%s%d:", dev->dd.d_dev->dv_name, in i386_fmtdev()
|
H A D | bootinfo32.c | 171 switch(rootdev->dd.d_dev->dv_type) { in bi_load32() 185 rootdev->dd.d_dev->dv_type); in bi_load32()
|
/illumos-gate/usr/src/boot/common/ |
H A D | devopen.c | 45 f->f_dev = dev->d_dev; in devopen() 47 result = dev->d_dev->dv_open(f, dev); in devopen()
|
H A D | vdisk.c | 264 if (dev->dd.d_dev->dv_type == DEVT_DISK) { in vdisk_strategy() 309 if (dev->dd.d_dev->dv_type == DEVT_DISK) { in vdisk_open() 331 if (dev->dd.d_dev->dv_type == DEVT_DISK) in vdisk_close() 350 if (dev->dd.d_dev->dv_type == DEVT_DISK) { in vdisk_ioctl() 399 vd_dev.dd.d_dev = &vdisk_dev; in vdisk_print()
|
H A D | disk.c | 100 return (dev->dd.d_dev->dv_strategy(dev, F_READ | F_NORA, offset, in ptblread() 140 dev.dd.d_dev = pa->dev->dd.d_dev; in ptable_print() 183 ret = dev->dd.d_dev->dv_strategy(dev, F_READ, dev->d_offset + offset, in disk_read() 196 ret = dev->dd.d_dev->dv_strategy(dev, F_WRITE, dev->d_offset + offset, in disk_write() 400 cp = buf + sprintf(buf, "%s%d", dev->dd.d_dev->dv_name, dev->dd.d_unit); in disk_fmtdev()
|
H A D | dev_net.c | 134 devname = dev->d_dev->dv_name; in net_open()
|
H A D | multiboot2.c | 614 if (rootdev->d_dev->dv_type == DEVT_ZFS) in mb_kernel_cmdline()
|
/illumos-gate/usr/src/boot/efi/libefi/ |
H A D | devicename.c | 160 idev->d_dev = dv; in efi_parsedev() 179 switch (dev->d_dev->dv_type) { in efi_fmtdev() 191 snprintf(buf, sizeof (buf), "%s%d:", dev->d_dev->dv_name, in efi_fmtdev()
|
H A D | efipart.c | 142 pdi = efiblk_get_pdinfo_list(dev->d_dev); in efiblk_get_pdinfo() 817 pd_dev.dd.d_dev = dev; in efipart_print_common() 894 if (dev->dd.d_dev->dv_type == DEVT_DISK) { in efipart_open() 930 if (dev->dd.d_dev->dv_type != DEVT_DISK) { in efipart_close() 935 if (dev->dd.d_dev->dv_type == DEVT_DISK) in efipart_close() 955 if (dev->dd.d_dev->dv_type == DEVT_DISK) { in efipart_ioctl() 1051 if (dev->dd.d_dev->dv_type == DEVT_DISK) { in efipart_strategy() 1097 if (dev->dd.d_dev->dv_type == DEVT_DISK) { in efipart_realstrategy()
|
/illumos-gate/usr/src/boot/libsa/zfs/ |
H A D | zfs.c | 692 if (dev->dd.d_dev->dv_type != DEVT_ZFS) in zfs_get_bootenv() 728 if (dev->dd.d_dev->dv_type != DEVT_ZFS) in zfs_set_bootenv() 831 if (dev->dd.d_dev->dv_type != DEVT_ZFS) in zfs_nvstore_getter() 865 if (dev->dd.d_dev->dv_type != DEVT_ZFS) in zfs_nvstore_setter() 1037 if (dev->dd.d_dev->dv_type != DEVT_ZFS) in zfs_nvstore_setter_str() 1180 if (dev->dd.d_dev->dv_type != DEVT_ZFS) in zfs_nvstore_unset_impl() 1341 if (dev->dd.d_dev->dv_type != DEVT_ZFS) in zfs_nvstore_iterate() 1381 if (dev->dd.d_dev->dv_type != DEVT_ZFS) in zfs_attach_nvstore() 1596 dev->dd.d_dev = &zfs_dev; in zfs_parsedev() 1611 if (dev->dd.d_dev->dv_type != DEVT_ZFS) in zfs_bootfs() [all …]
|
H A D | zfsimpl.c | 1379 if (dev->dd.d_dev->dv_type != DEVT_ZFS) in spa_find_by_dev()
|
/illumos-gate/usr/src/boot/i386/gptzfsboot/ |
H A D | zfsboot.c | 251 if (bdev != NULL && bdev->dd.d_dev->dv_type == DEVT_ZFS) { in main() 481 if (bdev->dd.d_dev->dv_type == DEVT_ZFS) { in load() 516 if (bdev->dd.d_dev->dv_type == DEVT_DISK) { in mount_root() 521 bootdev = MAKEBOOTDEV(dev_maj[bdev->dd.d_dev->dv_type], in mount_root() 772 bdev->dd.d_dev = &zfs_dev; in probe_partition() 837 dev.dd.d_dev = &bioshd; in i386_zfs_probe()
|
/illumos-gate/usr/src/boot/efi/loader/ |
H A D | main.c | 264 currdev.d_dev = dev; in set_currdev_devsw() 282 currdev.dd.d_dev = dp->pd_devsw; in set_currdev_pdinfo() 313 currdev.dd.d_dev = &zfs_dev; in probe_zfs_currdev() 1382 struct disk_devdesc *d_dev; in command_chain() local 1385 switch (dev->d_dev->dv_type) { in command_chain() 1393 efi_find_handle(dev->d_dev, dev->d_unit); in command_chain() 1401 d_dev = (struct disk_devdesc *)dev; in command_chain() 1406 if (pd->pd_unit == d_dev->d_slice) { in command_chain()
|
/illumos-gate/usr/src/cmd/rmvolmgr/ |
H A D | rmm_common.c | 888 const char *dev, *d_dev; in rmm_action() local 909 d_dev = libhal_drive_get_device_file(d); in rmm_action() 910 if ((d_udi == NULL) || (d_dev == NULL)) { in rmm_action() 924 ret = rmm_action_one(hal_ctx, name, action, d_dev, d_udi, NULL, in rmm_action()
|
/illumos-gate/usr/src/boot/libsa/ |
H A D | stand.h | 169 struct devsw *d_dev; member
|
/illumos-gate/usr/src/uts/common/io/audio/impl/ |
H A D | audio_sun.c | 121 audio_dev_t *d_dev; member 1043 dev->d_dev = adev; in devaudio_init()
|
H A D | audio_oss.c | 78 audio_dev_t *d_dev; member 394 audio_dev_t *d = odev->d_dev; in oss_alloc_controls() 2369 odev->d_dev = dev; in oss_dev_init()
|