Searched defs:volsize (Results 1 - 9 of 9) sorted by relevance

/illumos-gate/usr/src/cmd/fs.d/hsfs/labelit/
H A Dlabelit.c84 int volsize; variable
371 volsize = HSV_VOL_SIZE(hs_buf);
387 volsize = ISO_VOL_SIZE(iso_buf);
403 volsize = ISO_VOL_SIZE(unix_buf);
433 printf("Volume size is %d\n", volsize);
/illumos-gate/usr/src/cmd/avs/dsstat/
H A Dii_stats.c445 uint32_t *volsize; local
454 volsize =
457 *volsize /= DSW_SIZE;
461 pct = ((float)*chkbits / *volsize) * 100.0;
H A Dsndr_stats.c741 uint32_t *volsize, *bitsset; local
745 volsize = kstat_value(ksp, RDC_IKSTAT_VOLSIZE);
748 segs = FBA_TO_LOG_LEN(*volsize);
/illumos-gate/usr/src/cmd/fs.d/hsfs/fstyp/
H A Dfstyp.c402 int volsize; local
421 volsize = HSV_VOL_SIZE(h->hs_buf);
438 volsize = ISO_VOL_SIZE(h->iso_buf);
455 volsize = ISO_VOL_SIZE(h->unix_buf);
483 ADD_UINT64(h, "volume_size", volsize);
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzvol.c166 zvol_size_changed(zvol_state_t *zv, uint64_t volsize) argument
170 zv->zv_volsize = volsize;
172 "Size", volsize) == DDI_SUCCESS);
174 "Nblocks", lbtodb(volsize)) == DDI_SUCCESS);
182 zvol_check_volsize(uint64_t volsize, uint64_t blocksize) argument
184 if (volsize == 0)
187 if (volsize % blocksize != 0)
191 if (volsize - 1 > SPEC_MAXOFFSET_T)
341 uint64_t volblocksize, volsize; local
344 zfs_prop_to_name(ZFS_PROP_VOLSIZE), &volsize)
625 uint64_t volsize; local
723 zvol_update_volsize(objset_t *os, uint64_t volsize) argument
774 zvol_update_live_volsize(zvol_state_t *zv, uint64_t volsize) argument
827 zvol_set_volsize(const char *name, uint64_t volsize) argument
1223 uint64_t off, volsize; local
1385 uint64_t volsize; local
1431 uint64_t volsize; local
[all...]
H A Dzfs_ioctl.c3209 uint64_t volsize, volblocksize; local
3214 zfs_prop_to_name(ZFS_PROP_VOLSIZE), &volsize) != 0)
3228 (error = zvol_check_volsize(volsize,
/illumos-gate/usr/src/cmd/fs.d/pcfs/mkfs/
H A Dmkfs.c1289 ulong_t volsize; local
1301 volsize = wbpb->bpb.sectors_in_volume ? wbpb->bpb.sectors_in_volume :
1303 volsize -= wbpb->bpb.resv_sectors;
1312 /* volsize is in sectors */
1313 if (volsize < FAT12_MAX_CLUSTERS) {
1321 if (volsize < spc * FAT16_MAX_CLUSTERS)
1324 if (volsize > (spc * FAT16_MAX_CLUSTERS)) {
1331 /* volsize is in sectors */
1332 if (volsize < FAT16_MAX_CLUSTERS) {
1340 if (volsize < (sp
[all...]
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_dataset.c1382 uint64_t volsize = zfs_prop_get_int(zhp, local
1391 if (intval > volsize) {
1468 * If this is an existing volume, and someone is setting the volsize,
1742 /* clean up the volsize property we tried to set */
3327 * volsize must be a multiple of the block size, and cannot be
3935 * For volumes, if the pre-rollback volsize matched the pre-
3936 * rollback reservation and the volsize has changed then set
3937 * the reservation property to the post-rollback volsize.
4834 zvol_volsize_to_reservation(uint64_t volsize, nvlist_t *props) argument
4850 nblocks = volsize/volblocksiz
[all...]
/illumos-gate/usr/src/cmd/zfs/
H A Dzfs_main.c737 uint64_t volsize = 0; local
764 volsize = intval;
853 volsize = zvol_volsize_to_reservation(volsize, real_props);
859 zfs_prop_to_name(resv_prop), volsize) != 0) {

Completed in 216 milliseconds