Home
last modified time | relevance | path

Searched refs:d_dev (Results 1 – 25 of 28) sorted by relevance

12

/titanic_54/usr/src/boot/sys/boot/userboot/userboot/
H A Dmain.c162 zdev.d_dev = &zfs_dev; in extract_currdev()
163 zdev.d_type = zdev.d_dev->dv_type; in extract_currdev()
171 dev.d_dev = &userboot_disk; in extract_currdev()
172 dev.d_type = dev.d_dev->dv_type; in extract_currdev()
180 if (dev.d_dev->dv_open(NULL, &dev)) { in extract_currdev()
185 dev.d_dev = &host_dev; in extract_currdev()
186 dev.d_type = dev.d_dev->dv_type; in extract_currdev()
H A Ddevicename.c161 idev->d_dev = dv; 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 Duserboot_disk.c130 dev.d_dev = &userboot_disk; in userdisk_print()
/titanic_54/usr/src/boot/sys/boot/common/
H A Ddevopen.c47 result = dev->d_dev->dv_open(f, dev); in devopen()
55 f->f_dev = dev->d_dev; in devopen()
H A Ddisk.c99 return (dev->d_dev->dv_strategy(dev, F_READ | F_NORA , offset, in ptblread()
128 dev.d_dev = pa->dev->d_dev; in ptable_print()
172 ret = dev->d_dev->dv_strategy(dev, F_READ, dev->d_offset + offset, in disk_read()
185 ret = dev->d_dev->dv_strategy(dev, F_WRITE, dev->d_offset + offset, in disk_write()
362 cp = buf + sprintf(buf, "%s%d", dev->d_dev->dv_name, dev->d_unit); in disk_fmtdev()
H A Ddisk.h89 struct devsw *d_dev; member
/titanic_54/usr/src/boot/sys/boot/i386/loader/
H A Dmain.c228 new_currdev.d_dev = &biosdisk; in extract_currdev()
234 new_currdev.d_dev = &bioscd; in extract_currdev()
238 new_currdev.d_dev = &pxedisk; in extract_currdev()
269 new_currdev.d_dev = &zfs_dev; in extract_currdev()
290 new_currdev.d_type = new_currdev.d_dev->dv_type; in extract_currdev()
/titanic_54/usr/src/boot/sys/boot/efi/libefi/
H A Defipart.c737 pd_dev.d_dev = dev; in efipart_print_common()
808 pdi = efiblk_get_pdinfo_list(dev->d_dev); in efipart_open()
831 if (dev->d_dev->dv_type == DEVT_DISK) { in efipart_open()
860 pdi = efiblk_get_pdinfo_list(dev->d_dev); in efipart_close()
874 if (dev->d_dev->dv_type == DEVT_DISK) in efipart_close()
890 pdi = efiblk_get_pdinfo_list(dev->d_dev); in efipart_ioctl()
898 if (dev->d_dev->dv_type == DEVT_DISK) { in efipart_ioctl()
973 pdi = efiblk_get_pdinfo_list(dev->d_dev); in efipart_strategy()
989 if (dev->d_dev->dv_type == DEVT_DISK) { in efipart_strategy()
1017 pdi = efiblk_get_pdinfo_list(dev->d_dev); in efipart_realstrategy()
[all …]
/titanic_54/usr/src/boot/sys/boot/uboot/lib/
H A Ddevicename.c149 idev->d_dev = dv; in uboot_parsedev()
181 sprintf(buf, "%s%d:", dev->d_dev->dv_name, dev->d_unit); in uboot_fmtdev()
H A Dlibuboot.h32 struct devsw *d_dev; member
H A Ddisk.c49 printf("%s%d: ", dev->d_dev->dv_name, dev->d_unit); \
255 dev.d_dev = &uboot_storage; in stor_print()
/titanic_54/usr/src/boot/sys/boot/i386/libi386/
H A Ddevicename.c160 idev->d_dev = dv; in i386_parsedev()
193 snprintf(buf, sizeof (buf), "%s%d:", dev->d_dev->dv_name, in i386_fmtdev()
H A Dbiosdisk.c310 dev.d_dev = &biosdisk; in bd_print()
363 disk.d_dev = dev->d_dev; 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()
H A Dlibi386.h39 struct devsw *d_dev; member
/titanic_54/usr/src/boot/sys/boot/efi/loader/
H A Ddevicename.c162 idev->d_dev = dv; in efi_parsedev()
194 snprintf(buf, sizeof (buf), "%s%d:", dev->d_dev->dv_name, in efi_fmtdev()
H A Dmain.c160 currdev.d_dev = dev; in set_devdesc_currdev()
161 currdev.d_type = currdev.d_dev->dv_type; in set_devdesc_currdev()
187 currdev.d_dev = &zfs_dev; in find_currdev()
189 currdev.d_type = currdev.d_dev->dv_type; in find_currdev()
207 currdev.d_dev = &efipart_hddev; in find_currdev()
208 currdev.d_type = currdev.d_dev->dv_type; in find_currdev()
889 efi_find_handle(dev->d_dev, dev->d_unit); in command_chain()
/titanic_54/usr/src/boot/sys/boot/zfs/
H A Dlibzfs.h42 struct devsw *d_dev; member
H A Dzfs.c702 dev->d_dev = &zfs_dev; in zfs_parsedev()
820 sprintf(buf, "%s:%s:", dev->d_dev->dv_name, spa->spa_name); in zfs_fmtdev()
822 sprintf(buf, "%s:%s/%s:", dev->d_dev->dv_name, spa->spa_name, in zfs_fmtdev()
/titanic_54/usr/src/boot/sys/boot/ofw/libofw/
H A Dlibofw.h32 struct devsw *d_dev; member
H A Ddevicename.c116 idev->d_dev = dv; in ofw_parsedev()
/titanic_54/usr/src/boot/sys/boot/usb/storage/
H A Dumass_loader.c185 dev.d_dev = &umass_disk; in umass_disk_print()
/titanic_54/usr/src/boot/sys/boot/uboot/common/
H A Dmain.c456 currdev.d_dev = devsw[i]; in main()
457 currdev.d_type = currdev.d_dev->dv_type; in main()
/titanic_54/usr/src/cmd/rmvolmgr/
H A Drmm_common.c888 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()
/titanic_54/usr/src/boot/sys/boot/sparc64/loader/
H A Dmain.c811 zfs_currdev.d_dev = &zfs_dev; in sparc64_zfs_probe()
812 zfs_currdev.d_type = zfs_currdev.d_dev->dv_type; in sparc64_zfs_probe()
/titanic_54/usr/src/boot/lib/libstand/
H A Dstand.h164 struct devsw *d_dev; member

12