Searched refs:SPA_MINBLOCKSIZE (Results 1 - 24 of 24) sorted by relevance

/freebsd-10.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Dzfs_fuid.h53 #define FUID_SIZE_ESTIMATE(z) ((z)->z_fuid_size + (SPA_MINBLOCKSIZE << 1))
H A Dzio.h59 #define SPA_GANGBLOCKSIZE SPA_MINBLOCKSIZE
H A Dspa.h115 #define SPA_MINBLOCKSIZE (1ULL << SPA_MINBLOCKSHIFT) macro
/freebsd-10.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Ddnode.c395 ASSERT0(P2PHASE(size, SPA_MINBLOCKSIZE));
397 ASSERT3U(size, >=, SPA_MINBLOCKSIZE);
548 blocksize = P2ROUNDUP(blocksize, SPA_MINBLOCKSIZE);
626 ASSERT3U(blocksize, >=, SPA_MINBLOCKSIZE);
629 ASSERT0(blocksize % SPA_MINBLOCKSIZE);
1383 size = SPA_MINBLOCKSIZE;
1385 size = P2ROUNDUP(size, SPA_MINBLOCKSIZE);
H A Dzio.c151 * SPA_MINBLOCKSIZE. For larger buffers, we want a cache
175 if (size <= 4 * SPA_MINBLOCKSIZE) {
176 align = SPA_MINBLOCKSIZE;
565 ASSERT(P2PHASE(size, SPA_MINBLOCKSIZE) == 0);
566 ASSERT(P2PHASE(offset, SPA_MINBLOCKSIZE) == 0);
2047 SPA_MINBLOCKSIZE);
2048 ASSERT(lsize >= SPA_MINBLOCKSIZE && lsize <= resid);
2554 if (error == ENOSPC && zio->io_size > SPA_MINBLOCKSIZE)
2744 ASSERT0(P2PHASE(zio->io_offset, SPA_MINBLOCKSIZE));
2745 ASSERT0(P2PHASE(zio->io_size, SPA_MINBLOCKSIZE));
[all...]
H A Dmetaslab.c339 mc->mc_minblocksize = SPA_MINBLOCKSIZE;
808 ASSERT(weight >= SPA_MINBLOCKSIZE || weight == 0);
1577 * If space < SPA_MINBLOCKSIZE, then we will not allocate from
1580 * SPA_MINBLOCKSIZE, so reset the space to SPA_MINBLOCKSIZE
1583 if (space > 0 && space < SPA_MINBLOCKSIZE)
1584 space = SPA_MINBLOCKSIZE;
1644 * If size < SPA_MINBLOCKSIZE, then we will not allocate from
1648 ASSERT(size >= SPA_MINBLOCKSIZE || range_tree_space(msp->ms_tree) == 0);
H A Dspace_map.c78 bufsize = MAX(sm->sm_blksz, SPA_MINBLOCKSIZE);
H A Dzfs_vfsops.c275 ASSERT3U(newval, >=, SPA_MINBLOCKSIZE);
1147 zfsvfs->z_vfs->vfs_bsize = SPA_MINBLOCKSIZE;
1709 statp->f_bsize = SPA_MINBLOCKSIZE;
H A Dsa.c497 blocksize = SPA_MINBLOCKSIZE;
502 blocksize = P2ROUNDUP_TYPED(size, SPA_MINBLOCKSIZE, uint32_t);
H A Ddnode_sync.c605 SPA_MINBLOCKSIZE) == 0);
H A Dvdev_disk.c550 *ashift = highbit64(MAX(pbsize, SPA_MINBLOCKSIZE)) - 1;
H A Dvdev_geom.c729 *logical_ashift = highbit(MAX(pp->sectorsize, SPA_MINBLOCKSIZE)) - 1;
H A Ddbuf.c1889 BP_GET_LSIZE(blkptr) : SPA_MINBLOCKSIZE;
2331 blksz = SPA_MINBLOCKSIZE;
2333 blksz = P2ROUNDUP(blksz, SPA_MINBLOCKSIZE);
H A Ddmu_send.c1979 P2PHASE(drro->drr_blksz, SPA_MINBLOCKSIZE) ||
1980 drro->drr_blksz < SPA_MINBLOCKSIZE ||
2260 if (drrs->drr_length < SPA_MINBLOCKSIZE ||
H A Ddmu.c2051 *nblk512 = ((DN_USED_BYTES(dn->dn_phys) + SPA_MINBLOCKSIZE/2) >>
H A Dzap_micro.c517 uint64_t newsz = db->db_size + SPA_MINBLOCKSIZE;
H A Dvdev.c3034 ASSERT((dspace_delta & (SPA_MINBLOCKSIZE-1)) == 0);
H A Dzvol.c291 if (volblocksize < SPA_MINBLOCKSIZE ||
H A Dspa.c6664 if (vd->vdev_deflate_ratio != SPA_MINBLOCKSIZE)
H A Dzfs_vnops.c5325 *valp = (int)SPA_MINBLOCKSIZE;
/freebsd-10.3-release/sys/cddl/boot/zfs/
H A Dzfsimpl.h121 #define SPA_MINBLOCKSIZE (1ULL << SPA_MINBLOCKSHIFT) macro
456 #define SPA_GANGBLOCKSIZE SPA_MINBLOCKSIZE
871 /* Is dn_used in bytes? if not, it's in multiples of SPA_MINBLOCKSIZE */
/freebsd-10.3-release/cddl/contrib/opensolaris/cmd/zdb/
H A Dzdb.c2260 #define PSIZE_HISTO_SIZE (SPA_OLD_MAXBLOCKSIZE / SPA_MINBLOCKSIZE + 2)
2332 idx = MIN(idx, SPA_OLD_MAXBLOCKSIZE / SPA_MINBLOCKSIZE + 1);
3414 lsize -= SPA_MINBLOCKSIZE) {
3425 lsize -= SPA_MINBLOCKSIZE;
/freebsd-10.3-release/cddl/contrib/opensolaris/lib/libzfs/common/
H A Dlibzfs_dataset.c1102 * SPA_MINBLOCKSIZE and maxbs.
1104 if (intval < SPA_MINBLOCKSIZE ||
/freebsd-10.3-release/cddl/contrib/opensolaris/cmd/ztest/
H A Dztest.c662 zo->zo_metaslab_gang_bang = MAX(SPA_MINBLOCKSIZE << 1,

Completed in 250 milliseconds