Home
last modified time | relevance | path

Searched refs:vdisk_size (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/boot/common/
H A Dvdisk.c65 uint64_t vdisk_size; /* size in bytes */ member
145 vd->vdisk_size = sb.st_size; in command_mapvd()
310 rc = disk_open(dev, vd->vdisk_size, vd->vdisk_sectorsz); in vdisk_open()
361 *(uint64_t *)data = vd->vdisk_size; in vdisk_ioctl()
394 vd->vdisk_size / vd->vdisk_sectorsz, in vdisk_print()
404 ret = disk_open(&vd_dev, vd->vdisk_size, vd->vdisk_sectorsz); in vdisk_print()
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dvdsk_mailbox.h90 uint64_t vdisk_size; /* size for Nblocks property. */ member
H A Dvdc.h124 (vdsk)->vdisk_bsize, (vdsk)->vdisk_size)
338 uint64_t vdisk_size; /* device size in blocks */ member
H A Dvdsk_common.h300 uint64_t vdisk_size; /* disk size in blocks */ member
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvds.c124 (vdsk)->vdisk_bsize, (vdsk)->vdisk_size)
457 size_t vdisk_size; /* number of blocks in vdisk */ member
1808 ablk = vd->vdisk_size - asize; in vd_slice_fake_rdwr()
3203 ASSERT(vd->vdisk_size != 0); in vd_dskimg_validate_efi()
3205 vd->slices[VD_EFI_WD_SLICE].nblocks = vd->vdisk_size; in vd_dskimg_validate_efi()
3856 ASSERT(vd->vdisk_size != 0); in vd_get_capacity()
3861 vd_cap.vdisk_size = vd->vdisk_size; in vd_get_capacity()
4536 attr_msg->vdisk_size = vd->vdisk_size; in vd_process_attr_msg()
5550 vd->vdisk_size = VD_SIZE_UNKNOWN; in vd_setup_full_disk()
5686 vd->dk_geom.dkg_ncyl = vd->vdisk_size / csize + 1; in vd_setup_partition_vtoc()
[all …]
H A Dvdc.c999 stp->vd_capacity.value.ui64 = vdc->vdisk_size * vdc->vdisk_bsize; in vdc_set_err_kstats()
1744 pkt.vdisk_size = 0; /* server will set to valid size */ in vdc_init_attr_negotiation()
5213 if (attr_msg->vdisk_size == 0) { in vdc_handle_attr_msg()
5227 if (attr_msg->vdisk_size == VD_SIZE_UNKNOWN) { in vdc_handle_attr_msg()
5230 attr_msg->vdisk_size = 0; in vdc_handle_attr_msg()
5245 vdc_update_size(vdc, attr_msg->vdisk_size, in vdc_handle_attr_msg()
5261 (attr_msg->vdisk_size > INT64_MAX) || in vdc_handle_attr_msg()
5603 if (vdc->vdisk_size > VD_OLDVTOC_LIMIT) { in vdc_dkio_gapart()
6708 if (vdc->vdisk_size > 0) { in vdc_eio_check()
6713 blkno = blkno % vdc->vdisk_size; in vdc_eio_check()
[all …]