Home
last modified time | relevance | path

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

12

/f-stack/freebsd/contrib/openzfs/include/sys/
H A Dzfs_fuid.h51 #define FUID_SIZE_ESTIMATE(z) ((z)->z_fuid_size + (SPA_MINBLOCKSIZE << 1))
H A Darc_impl.h254 CTASSERT_GLOBAL(sizeof (l2arc_dev_hdr_phys_t) == SPA_MINBLOCKSIZE);
313 CTASSERT_GLOBAL(sizeof (l2arc_log_blk_phys_t) >= SPA_MINBLOCKSIZE);
H A Dzio.h63 #define SPA_GANGBLOCKSIZE SPA_MINBLOCKSIZE
H A Dspa.h92 #define SPA_MINBLOCKSIZE (1ULL << SPA_MINBLOCKSHIFT) macro
/f-stack/freebsd/contrib/openzfs/module/os/linux/zfs/
H A Dvdev_disk.c324 SPA_MINBLOCKSIZE)) - 1; in vdev_disk_open()
327 SPA_MINBLOCKSIZE)) - 1; in vdev_disk_open()
H A Dzio_crypt.c919 BP_SET_PSIZE(bp, SPA_MINBLOCKSIZE); in zio_crypt_bp_zero_nonportable_blkprop()
955 BP_SET_PSIZE(bp, SPA_MINBLOCKSIZE); in zio_crypt_bp_zero_nonportable_blkprop()
H A Dzfs_vfsops.c379 ASSERT3U(newval, >=, SPA_MINBLOCKSIZE); in blksz_changed_cb()
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Ddnode.c434 ASSERT0(P2PHASE(size, SPA_MINBLOCKSIZE)); in dnode_setdblksz()
436 ASSERT3U(size, >=, SPA_MINBLOCKSIZE); in dnode_setdblksz()
587 blocksize = P2ROUNDUP(blocksize, SPA_MINBLOCKSIZE); in dnode_allocate()
670 ASSERT3U(blocksize, >=, SPA_MINBLOCKSIZE); in dnode_reallocate()
673 ASSERT0(blocksize % SPA_MINBLOCKSIZE); in dnode_reallocate()
1747 size = SPA_MINBLOCKSIZE; in dnode_set_blksz()
1749 size = P2ROUNDUP(size, SPA_MINBLOCKSIZE); in dnode_set_blksz()
H A Dvdev_trim.c876 ta.trim_extent_bytes_min = SPA_MINBLOCKSIZE; in vdev_trim_thread()
1538 ta.trim_extent_bytes_min = SPA_MINBLOCKSIZE; in vdev_trim_l2arc_thread()
1673 ta.trim_extent_bytes_min = SPA_MINBLOCKSIZE; in vdev_trim_simple()
H A Dzio.c196 align = 8 * SPA_MINBLOCKSIZE; in zio_init()
199 align = SPA_MINBLOCKSIZE; in zio_init()
818 ASSERT(P2PHASE(psize, SPA_MINBLOCKSIZE) == 0); in zio_create()
819 ASSERT(P2PHASE(offset, SPA_MINBLOCKSIZE) == 0); in zio_create()
2879 SPA_MINBLOCKSIZE); in zio_write_gang_block()
2880 ASSERT(lsize >= SPA_MINBLOCKSIZE && lsize <= resid); in zio_write_gang_block()
3541 if (error == ENOSPC && zio->io_size > SPA_MINBLOCKSIZE) in zio_dva_allocate()
3751 ASSERT0(P2PHASE(zio->io_offset, SPA_MINBLOCKSIZE)); in zio_vdev_io_start()
3752 ASSERT0(P2PHASE(zio->io_size, SPA_MINBLOCKSIZE)); in zio_vdev_io_start()
H A Ddmu_redact.c331 ((SPA_MINBLOCKSIZE * dnp->dn_datablkszsec) / in redact_cb()
335 1) * ((SPA_MINBLOCKSIZE * dnp->dn_datablkszsec) / in redact_cb()
H A Dmetaslab.c1147 ASSERT(weight >= SPA_MINBLOCKSIZE || weight == 0); in metaslab_group_sort()
1295 } else if (mc->mc_alloc_groups == 0 || psize == SPA_MINBLOCKSIZE) { in metaslab_group_allocatable()
2949 if (space > 0 && space < SPA_MINBLOCKSIZE) in metaslab_space_weight()
2950 space = SPA_MINBLOCKSIZE; in metaslab_space_weight()
3390 size >= SPA_MINBLOCKSIZE || in metaslab_passivate()
H A Ddnode_sync.c697 SPA_MINBLOCKSIZE) == 0); in dnode_sync()
H A Dspace_map.c278 uint64_t bufsz = MAX(sm->sm_blksz, SPA_MINBLOCKSIZE); in space_map_incremental_destroy()
H A Ddmu_recv.c1579 P2PHASE(drro->drr_blksz, SPA_MINBLOCKSIZE) || in receive_object()
1580 drro->drr_blksz < SPA_MINBLOCKSIZE || in receive_object()
2134 if (drrs->drr_length < SPA_MINBLOCKSIZE || in receive_spill()
H A Dsa.c498 blocksize = SPA_MINBLOCKSIZE; in sa_resize_spill()
503 blocksize = P2ROUNDUP_TYPED(size, SPA_MINBLOCKSIZE, uint32_t); in sa_resize_spill()
H A Dzvol.c406 if (volblocksize < SPA_MINBLOCKSIZE || in zvol_check_volblocksize()
H A Dvdev_indirect.c1146 IS_P2ALIGNED(inner_size, 2 * SPA_MINBLOCKSIZE)) { in vdev_indirect_remap()
H A Ddbuf.c2985 BP_GET_LSIZE(blkptr) : SPA_MINBLOCKSIZE; in dbuf_create()
3531 blksz = SPA_MINBLOCKSIZE; in dbuf_spill_set_blksz()
3533 blksz = P2ROUNDUP(blksz, SPA_MINBLOCKSIZE); in dbuf_spill_set_blksz()
/f-stack/freebsd/contrib/openzfs/module/zcommon/
H A Dzfs_fletcher.c581 if (size < SPA_MINBLOCKSIZE) in fletcher_4_incremental_native()
593 if (size < SPA_MINBLOCKSIZE) in fletcher_4_incremental_byteswap()
/f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_vfsops.c486 ASSERT3U(newval, >=, SPA_MINBLOCKSIZE); in blksz_changed_cb()
1180 zfsvfs->z_vfs->vfs_bsize = SPA_MINBLOCKSIZE; in zfs_domount()
1440 statp->f_bsize = SPA_MINBLOCKSIZE; in zfs_statfs()
H A Dvdev_geom.c951 *logical_ashift = highbit(MAX(pp->sectorsize, SPA_MINBLOCKSIZE)) - 1; in vdev_geom_open()
H A Dzfs_ctldir.c744 *ap->a_retval = (int)SPA_MINBLOCKSIZE; in zfsctl_common_pathconf()
H A Dzio_crypt.c845 int avoidlint = SPA_MINBLOCKSIZE; in zio_crypt_bp_zero_nonportable_blkprop()
/f-stack/freebsd/contrib/openzfs/cmd/ztest/
H A Dztest.c872 MAX(SPA_MINBLOCKSIZE << 1, value); in process_options()
4913 if (i != 5 || chunksize < (SPA_MINBLOCKSIZE * 2)) { in ztest_dmu_read_write_zcopy()
4938 chunksize < (SPA_MINBLOCKSIZE * 2)) { in ztest_dmu_read_write_zcopy()
4983 if (i != 5 || chunksize < (SPA_MINBLOCKSIZE * 2)) { in ztest_dmu_read_write_zcopy()
5000 if (i != 5 || chunksize < (SPA_MINBLOCKSIZE * 2)) { in ztest_dmu_read_write_zcopy()

12