| /freebsd-14.2/sys/contrib/openzfs/include/sys/ |
| H A D | brt_impl.h | 51 _Static_assert(BRT_RANGESIZE / SPA_MINBLOCKSIZE <= UINT16_MAX,
|
| H A D | zfs_fuid.h | 51 #define FUID_SIZE_ESTIMATE(z) ((z)->z_fuid_size + (SPA_MINBLOCKSIZE << 1))
|
| H A D | arc_impl.h | 260 _Static_assert(sizeof (l2arc_dev_hdr_phys_t) == SPA_MINBLOCKSIZE, 320 _Static_assert(sizeof (l2arc_log_blk_phys_t) >= SPA_MINBLOCKSIZE,
|
| H A D | zio.h | 63 #define SPA_GANGBLOCKSIZE SPA_MINBLOCKSIZE
|
| /freebsd-14.2/usr.sbin/makefs/zfs/ |
| H A D | zfs.h | 53 _Static_assert(MINBLOCKSIZE == SPA_MINBLOCKSIZE, "");
|
| /freebsd-14.2/sys/contrib/openzfs/cmd/zstream/ |
| H A D | zstream_recompress.c | 294 SPA_MINBLOCKSIZE); in zstream_do_recompress()
|
| /freebsd-14.2/sys/contrib/openzfs/module/zfs/ |
| H A D | dnode.c | 551 ASSERT0(P2PHASE(size, SPA_MINBLOCKSIZE)); in dnode_setdblksz() 553 ASSERT3U(size, >=, SPA_MINBLOCKSIZE); in dnode_setdblksz() 704 blocksize = P2ROUNDUP(blocksize, SPA_MINBLOCKSIZE); in dnode_allocate() 788 ASSERT3U(blocksize, >=, SPA_MINBLOCKSIZE); in dnode_reallocate() 791 ASSERT0(blocksize % SPA_MINBLOCKSIZE); in dnode_reallocate() 1886 size = SPA_MINBLOCKSIZE; in dnode_set_blksz() 1888 size = P2ROUNDUP(size, SPA_MINBLOCKSIZE); in dnode_set_blksz()
|
| H A D | zio.c | 195 align = 8 * SPA_MINBLOCKSIZE; in zio_init() 198 align = SPA_MINBLOCKSIZE; in zio_init() 896 ASSERT(P2PHASE(psize, SPA_MINBLOCKSIZE) == 0); in zio_create() 897 ASSERT(P2PHASE(offset, SPA_MINBLOCKSIZE) == 0); in zio_create() 3032 SPA_MINBLOCKSIZE); in zio_write_gang_block() 3033 ASSERT(lsize >= SPA_MINBLOCKSIZE && lsize <= resid); in zio_write_gang_block() 3730 if (error == ENOSPC && zio->io_size > SPA_MINBLOCKSIZE) { in zio_dva_allocate() 3959 ASSERT0(P2PHASE(zio->io_offset, SPA_MINBLOCKSIZE)); in zio_vdev_io_start() 3960 ASSERT0(P2PHASE(zio->io_size, SPA_MINBLOCKSIZE)); in zio_vdev_io_start()
|
| H A D | vdev_trim.c | 911 ta.trim_extent_bytes_min = SPA_MINBLOCKSIZE; in vdev_trim_thread() 1592 ta.trim_extent_bytes_min = SPA_MINBLOCKSIZE; in vdev_trim_l2arc_thread() 1726 ta.trim_extent_bytes_min = SPA_MINBLOCKSIZE; in vdev_trim_simple()
|
| H A D | dmu_redact.c | 332 ((SPA_MINBLOCKSIZE * dnp->dn_datablkszsec) / in redact_cb() 336 1) * ((SPA_MINBLOCKSIZE * dnp->dn_datablkszsec) / in redact_cb()
|
| H A D | metaslab.c | 1171 ASSERT(weight >= SPA_MINBLOCKSIZE || weight == 0); in metaslab_group_sort() 1328 } else if (mc->mc_alloc_groups == 0 || psize == SPA_MINBLOCKSIZE) { in metaslab_group_allocatable() 3009 if (space > 0 && space < SPA_MINBLOCKSIZE) in metaslab_space_weight() 3010 space = SPA_MINBLOCKSIZE; in metaslab_space_weight() 3459 size >= SPA_MINBLOCKSIZE || in metaslab_passivate()
|
| H A D | dnode_sync.c | 710 SPA_MINBLOCKSIZE) == 0); in dnode_sync()
|
| H A D | space_map.c | 278 uint64_t bufsz = MAX(sm->sm_blksz, SPA_MINBLOCKSIZE); in space_map_incremental_destroy()
|
| H A D | sa.c | 497 blocksize = SPA_MINBLOCKSIZE; in sa_resize_spill() 502 blocksize = P2ROUNDUP_TYPED(size, SPA_MINBLOCKSIZE, uint32_t); in sa_resize_spill()
|
| H A D | dmu_recv.c | 1859 P2PHASE(drro->drr_blksz, SPA_MINBLOCKSIZE) || in receive_object() 1860 drro->drr_blksz < SPA_MINBLOCKSIZE || in receive_object() 2487 if (drrs->drr_length < SPA_MINBLOCKSIZE || in receive_spill()
|
| H A D | zfs_vnops.c | 578 SPA_MINBLOCKSIZE)); in zfs_write()
|
| /freebsd-14.2/sys/contrib/openzfs/module/zcommon/ |
| H A D | zfs_fletcher.c | 595 if (size < SPA_MINBLOCKSIZE) in fletcher_4_incremental_native() 607 if (size < SPA_MINBLOCKSIZE) in fletcher_4_incremental_byteswap()
|
| /freebsd-14.2/sys/contrib/openzfs/module/os/linux/zfs/ |
| H A D | vdev_disk.c | 456 SPA_MINBLOCKSIZE)) - 1; in vdev_disk_open() 459 SPA_MINBLOCKSIZE)) - 1; in vdev_disk_open()
|
| H A D | zio_crypt.c | 925 BP_SET_PSIZE(bp, SPA_MINBLOCKSIZE); in zio_crypt_bp_zero_nonportable_blkprop() 961 BP_SET_PSIZE(bp, SPA_MINBLOCKSIZE); in zio_crypt_bp_zero_nonportable_blkprop()
|
| /freebsd-14.2/sys/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | zfs_vfsops.c | 516 ASSERT3U(newval, >=, SPA_MINBLOCKSIZE); in blksz_changed_cb() 1192 zfsvfs->z_vfs->vfs_bsize = SPA_MINBLOCKSIZE; in zfs_domount() 1466 statp->f_bsize = SPA_MINBLOCKSIZE; in zfs_statfs()
|
| H A D | vdev_geom.c | 955 *logical_ashift = highbit(MAX(pp->sectorsize, SPA_MINBLOCKSIZE)) - 1; in vdev_geom_open()
|
| H A D | zfs_ctldir.c | 762 *ap->a_retval = (int)SPA_MINBLOCKSIZE; in zfsctl_common_pathconf()
|
| /freebsd-14.2/sys/cddl/boot/zfs/ |
| H A D | zfsimpl.h | 135 #define SPA_MINBLOCKSIZE (1ULL << SPA_MINBLOCKSHIFT) macro 501 #define SPA_GANGBLOCKSIZE SPA_MINBLOCKSIZE
|
| /freebsd-14.2/sys/contrib/openzfs/include/sys/fs/ |
| H A D | zfs.h | 1818 #define SPA_MINBLOCKSIZE (1ULL << SPA_MINBLOCKSHIFT) macro
|
| /freebsd-14.2/sys/contrib/openzfs/cmd/ |
| H A D | ztest.c | 1000 MAX(SPA_MINBLOCKSIZE << 1, value); in process_options() 5075 if (i != 5 || chunksize < (SPA_MINBLOCKSIZE * 2)) { in ztest_dmu_read_write_zcopy() 5100 chunksize < (SPA_MINBLOCKSIZE * 2)) { in ztest_dmu_read_write_zcopy() 5143 if (i != 5 || chunksize < (SPA_MINBLOCKSIZE * 2)) { in ztest_dmu_read_write_zcopy() 5161 if (i != 5 || chunksize < (SPA_MINBLOCKSIZE * 2)) { in ztest_dmu_read_write_zcopy()
|