Searched refs:vdisk_size (Results 1 – 6 of 6) sorted by relevance
65 uint64_t vdisk_size; /* size in bytes */ member145 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()
90 uint64_t vdisk_size; /* size for Nblocks property. */ member
124 (vdsk)->vdisk_bsize, (vdsk)->vdisk_size)338 uint64_t vdisk_size; /* device size in blocks */ member
300 uint64_t vdisk_size; /* disk size in blocks */ member
124 (vdsk)->vdisk_bsize, (vdsk)->vdisk_size)457 size_t vdisk_size; /* number of blocks in vdisk */ member1808 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 …]
999 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 …]