Home
last modified time | relevance | path

Searched refs:SPA_MINBLOCKSIZE (Results 1 – 25 of 25) sorted by relevance

/titanic_44/usr/src/grub/grub-0.97/stage2/zfs-include/
H A Dzio.h41 #define SPA_GANGBLOCKSIZE SPA_MINBLOCKSIZE
H A Dspa.h64 #define SPA_MINBLOCKSIZE (1ULL << SPA_MINBLOCKSHIFT) macro
/titanic_44/usr/src/uts/common/fs/zfs/sys/
H A Dzfs_fuid.h52 #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
/titanic_44/usr/src/uts/common/fs/zfs/
H A Ddnode.c392 ASSERT0(P2PHASE(size, SPA_MINBLOCKSIZE)); in dnode_setdblksz()
394 ASSERT3U(size, >=, SPA_MINBLOCKSIZE); in dnode_setdblksz()
545 blocksize = P2ROUNDUP(blocksize, SPA_MINBLOCKSIZE); in dnode_allocate()
623 ASSERT3U(blocksize, >=, SPA_MINBLOCKSIZE); in dnode_reallocate()
626 ASSERT0(blocksize % SPA_MINBLOCKSIZE); in dnode_reallocate()
1380 size = SPA_MINBLOCKSIZE; in dnode_set_blksz()
1382 size = P2ROUNDUP(size, SPA_MINBLOCKSIZE); in dnode_set_blksz()
H A Dzio.c141 if (size <= 4 * SPA_MINBLOCKSIZE) { in zio_init()
142 align = SPA_MINBLOCKSIZE; in zio_init()
507 ASSERT(P2PHASE(size, SPA_MINBLOCKSIZE) == 0); in zio_create()
508 ASSERT(P2PHASE(offset, SPA_MINBLOCKSIZE) == 0); in zio_create()
1961 SPA_MINBLOCKSIZE); in zio_write_gang_block()
1962 ASSERT(lsize >= SPA_MINBLOCKSIZE && lsize <= resid); in zio_write_gang_block()
2456 if (error == ENOSPC && zio->io_size > SPA_MINBLOCKSIZE) in zio_dva_allocate()
2647 ASSERT0(P2PHASE(zio->io_offset, SPA_MINBLOCKSIZE)); in zio_vdev_io_start()
2648 ASSERT0(P2PHASE(zio->io_size, SPA_MINBLOCKSIZE)); in zio_vdev_io_start()
H A Dmetaslab.c698 ASSERT(weight >= SPA_MINBLOCKSIZE || weight == 0); in metaslab_group_sort()
1473 if (space > 0 && space < SPA_MINBLOCKSIZE) in metaslab_weight()
1474 space = SPA_MINBLOCKSIZE; in metaslab_weight()
1538 ASSERT(size >= SPA_MINBLOCKSIZE || range_tree_space(msp->ms_tree) == 0); in metaslab_passivate()
H A Dspace_map.c74 bufsize = MAX(sm->sm_blksz, SPA_MINBLOCKSIZE); in space_map_load()
H A Dvdev_disk.c550 *ashift = highbit64(MAX(pbsize, SPA_MINBLOCKSIZE)) - 1; in vdev_disk_open()
H A Ddnode_sync.c605 SPA_MINBLOCKSIZE) == 0); in dnode_sync()
H A Dsa.c497 blocksize = SPA_MINBLOCKSIZE; in sa_resize_spill()
502 blocksize = P2ROUNDUP_TYPED(size, SPA_MINBLOCKSIZE, uint32_t); in sa_resize_spill()
H A Ddmu_send.c1920 P2PHASE(drro->drr_blksz, SPA_MINBLOCKSIZE) || in receive_object()
1921 drro->drr_blksz < SPA_MINBLOCKSIZE || in receive_object()
2201 if (drrs->drr_length < SPA_MINBLOCKSIZE || in receive_spill()
H A Ddbuf.c1874 BP_GET_LSIZE(blkptr) : SPA_MINBLOCKSIZE; in dbuf_create()
2313 blksz = SPA_MINBLOCKSIZE; in dbuf_spill_set_blksz()
2315 blksz = P2ROUNDUP(blksz, SPA_MINBLOCKSIZE); in dbuf_spill_set_blksz()
H A Darc.c1047 CTASSERT(sizeof (l2arc_dev_hdr_phys_t) == SPA_MINBLOCKSIZE);
6172 return ((write_sz / SPA_MINBLOCKSIZE / L2ARC_LOG_BLK_ENTRIES) + 1) * in l2arc_log_blk_overhead()
6684 rounded = P2ROUNDUP(csize, (size_t)SPA_MINBLOCKSIZE); in l2arc_compress_buf()
7738 CTASSERT(L2ARC_LOG_BLK_SIZE >= SPA_MINBLOCKSIZE && in l2arc_log_blk_commit()
H A Dzap_micro.c506 uint64_t newsz = db->db_size + SPA_MINBLOCKSIZE; in zap_lockdir()
H A Ddmu.c1964 *nblk512 = ((DN_USED_BYTES(dn->dn_phys) + SPA_MINBLOCKSIZE/2) >> in dmu_object_size_from_db()
H A Dzfs_vfsops.c277 ASSERT3U(newval, >=, SPA_MINBLOCKSIZE); in blksz_changed_cb()
H A Dzvol.c194 if (volblocksize < SPA_MINBLOCKSIZE || in zvol_check_volblocksize()
H A Dvdev.c2872 ASSERT((dspace_delta & (SPA_MINBLOCKSIZE-1)) == 0); in vdev_space_update()
H A Dzfs_vnops.c5023 *valp = (ulong_t)SPA_MINBLOCKSIZE; in zfs_pathconf()
H A Dspa.c6289 if (vd->vdev_deflate_ratio != SPA_MINBLOCKSIZE) in spa_sync()
/titanic_44/usr/src/cmd/zdb/
H A Dzdb.c2279 #define PSIZE_HISTO_SIZE (SPA_OLD_MAXBLOCKSIZE / SPA_MINBLOCKSIZE + 2)
2351 idx = MIN(idx, SPA_OLD_MAXBLOCKSIZE / SPA_MINBLOCKSIZE + 1); in zdb_count_block()
3446 lsize -= SPA_MINBLOCKSIZE) { in zdb_read_block()
3457 lsize -= SPA_MINBLOCKSIZE; in zdb_read_block()
/titanic_44/usr/src/cmd/ztest/
H A Dztest.c663 zo->zo_metaslab_gang_bang = MAX(SPA_MINBLOCKSIZE << 1, in process_options()
3907 if (i != 5 || chunksize < (SPA_MINBLOCKSIZE * 2)) { in ztest_dmu_read_write_zcopy()
3932 chunksize < (SPA_MINBLOCKSIZE * 2)) { in ztest_dmu_read_write_zcopy()
3976 if (i != 5 || chunksize < (SPA_MINBLOCKSIZE * 2)) { in ztest_dmu_read_write_zcopy()
3993 if (i != 5 || chunksize < (SPA_MINBLOCKSIZE * 2)) { in ztest_dmu_read_write_zcopy()
/titanic_44/usr/src/lib/libzfs/common/
H A Dlibzfs_dataset.c1163 if (intval < SPA_MINBLOCKSIZE || in zfs_valid_proplist()