Home
last modified time | relevance | path

Searched refs:vd_efi (Results 1 – 3 of 3) sorted by relevance

/titanic_50/usr/src/uts/sun4v/sys/
H A Dvdsk_common.h274 typedef struct vd_efi { struct
450 #define VD_EFI2DK_EFI(vd_efi, dk_efi) \ argument
452 (dk_efi)->dki_lba = (vd_efi)->lba; \
453 (dk_efi)->dki_length = (vd_efi)->length; \
454 bcopy((vd_efi)->data, (dk_efi)->dki_data, (dk_efi)->dki_length); \
462 #define DK_EFI2VD_EFI(dk_efi, vd_efi) \ argument
464 (vd_efi)->lba = (dk_efi)->dki_lba; \
465 (vd_efi)->length = (dk_efi)->dki_length; \
466 bcopy((dk_efi)->dki_data, (vd_efi)->data, (vd_efi)->length); \
/titanic_50/usr/src/uts/sun4v/io/
H A Dvds.c2671 vd_efi_t *vd_efi = (vd_efi_t *)vd_buf; in vd_get_efi_in() local
2676 if (vd_efi->length > data_len) in vd_get_efi_in()
2679 dk_efi->dki_lba = vd_efi->lba; in vd_get_efi_in()
2680 dk_efi->dki_length = vd_efi->length; in vd_get_efi_in()
2681 dk_efi->dki_data = kmem_zalloc(vd_efi->length, KM_SLEEP); in vd_get_efi_in()
2689 vd_efi_t *vd_efi = (vd_efi_t *)vd_buf; in vd_get_efi_out() local
2692 len = vd_efi->length; in vd_get_efi_out()
2693 DK_EFI2VD_EFI(dk_efi, vd_efi); in vd_get_efi_out()
2700 vd_efi_t *vd_efi = (vd_efi_t *)vd_buf; in vd_set_efi_in() local
2705 if (vd_efi->length > data_len) in vd_set_efi_in()
[all …]
H A Dvdc.c8008 vd_efi_t *vd_efi; in vdc_get_efi_convert()
8018 vd_efi = (vd_efi_t *)to; in vdc_get_efi_convert()
8024 vd_efi->lba = dk_efi.dki_lba; in vdc_get_efi_convert()
8025 vd_efi->length = dk_efi.dki_length; in vdc_get_efi_convert()
8026 bzero(vd_efi->data, vd_efi->length); in vdc_get_efi_convert()