Home
last modified time | relevance | path

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

12

/freebsd/sys/contrib/openzfs/include/sys/
H A Dbrt_impl.h51 _Static_assert(BRT_RANGESIZE / SPA_MINBLOCKSIZE <= UINT16_MAX,
H A Dzfs_fuid.h51 #define FUID_SIZE_ESTIMATE(z) ((z)->z_fuid_size + (SPA_MINBLOCKSIZE << 1))
H A Darc_impl.h260 _Static_assert(sizeof (l2arc_dev_hdr_phys_t) == SPA_MINBLOCKSIZE,
320 _Static_assert(sizeof (l2arc_log_blk_phys_t) >= SPA_MINBLOCKSIZE,
H A Dzio.h64 #define SPA_GANGBLOCKSIZE SPA_MINBLOCKSIZE
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dvdev_label_os.c99 size_t size = SPA_MINBLOCKSIZE; in vdev_check_boot_reserve()
H A Dzfs_vfsops.c507 ASSERT3U(newval, >=, SPA_MINBLOCKSIZE); in blksz_changed_cb()
1193 zfsvfs->z_vfs->vfs_bsize = SPA_MINBLOCKSIZE; in zfs_domount()
1467 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.c762 *ap->a_retval = (int)SPA_MINBLOCKSIZE; in zfsctl_common_pathconf()
/freebsd/usr.sbin/makefs/zfs/
H A Dzfs.h53 _Static_assert(MINBLOCKSIZE == SPA_MINBLOCKSIZE, "");
/freebsd/sys/contrib/openzfs/module/zfs/
H A Ddnode.c570 ASSERT0(P2PHASE(size, SPA_MINBLOCKSIZE)); in dnode_setdblksz()
572 ASSERT3U(size, >=, SPA_MINBLOCKSIZE); in dnode_setdblksz()
727 blocksize = P2ROUNDUP(blocksize, SPA_MINBLOCKSIZE); in dnode_allocate()
812 ASSERT3U(blocksize, >=, SPA_MINBLOCKSIZE); in dnode_reallocate()
815 ASSERT0(blocksize % SPA_MINBLOCKSIZE); in dnode_reallocate()
1938 size = SPA_MINBLOCKSIZE; in dnode_set_blksz()
1940 size = P2ROUNDUP(size, SPA_MINBLOCKSIZE); in dnode_set_blksz()
H A Dvdev_trim.c914 ta.trim_extent_bytes_min = SPA_MINBLOCKSIZE; in vdev_trim_thread()
1602 ta.trim_extent_bytes_min = SPA_MINBLOCKSIZE; in vdev_trim_l2arc_thread()
1737 ta.trim_extent_bytes_min = SPA_MINBLOCKSIZE; in vdev_trim_simple()
H A Ddmu_redact.c334 ((SPA_MINBLOCKSIZE * dnp->dn_datablkszsec) / in redact_cb()
338 1) * ((SPA_MINBLOCKSIZE * dnp->dn_datablkszsec) / in redact_cb()
H A Dzio.c915 ASSERT(P2PHASE(psize, SPA_MINBLOCKSIZE) == 0); in zio_create()
916 ASSERT(P2PHASE(offset, SPA_MINBLOCKSIZE) == 0); in zio_create()
3138 SPA_MINBLOCKSIZE); in zio_write_gang_block()
3139 ASSERT(lsize >= SPA_MINBLOCKSIZE && lsize <= resid); in zio_write_gang_block()
4121 if (error == ENOSPC && zio->io_size > SPA_MINBLOCKSIZE) { in zio_dva_allocate()
4352 ASSERT0(P2PHASE(zio->io_offset, SPA_MINBLOCKSIZE)); in zio_vdev_io_start()
4353 ASSERT0(P2PHASE(zio->io_size, SPA_MINBLOCKSIZE)); in zio_vdev_io_start()
H A Dspace_map.c278 uint64_t bufsz = MAX(sm->sm_blksz, SPA_MINBLOCKSIZE); in space_map_incremental_destroy()
H A Ddnode_sync.c718 SPA_MINBLOCKSIZE) == 0); in dnode_sync()
H A Dmetaslab.c1169 ASSERT(weight >= SPA_MINBLOCKSIZE || weight == 0); in metaslab_group_sort()
1326 } else if (mc->mc_alloc_groups == 0 || psize == SPA_MINBLOCKSIZE) { in metaslab_group_allocatable()
3051 if (space > 0 && space < SPA_MINBLOCKSIZE) in metaslab_space_weight()
3052 space = SPA_MINBLOCKSIZE; in metaslab_space_weight()
3501 size >= SPA_MINBLOCKSIZE || in metaslab_passivate()
H A Dzap_micro.c64 uint64_t maxsz = P2ROUNDUP(zap_micro_max_size, SPA_MINBLOCKSIZE); in zap_get_micro_max_size()
666 uint64_t newsz = db->db_size + SPA_MINBLOCKSIZE; in zap_lockdir_impl()
H A Ddmu_recv.c1899 P2PHASE(drro->drr_blksz, SPA_MINBLOCKSIZE) || in receive_object()
1900 drro->drr_blksz < SPA_MINBLOCKSIZE || in receive_object()
2527 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()
/freebsd/sys/contrib/openzfs/cmd/zstream/
H A Dzstream_recompress.c294 P2ROUNDUP(csize, SPA_MINBLOCKSIZE); in zstream_do_recompress()
/freebsd/sys/contrib/openzfs/module/zcommon/
H A Dzfs_fletcher.c595 if (size < SPA_MINBLOCKSIZE) in fletcher_4_incremental_native()
607 if (size < SPA_MINBLOCKSIZE) in fletcher_4_incremental_byteswap()
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dvdev_disk.c457 SPA_MINBLOCKSIZE)) - 1; in vdev_disk_open()
460 SPA_MINBLOCKSIZE)) - 1; in vdev_disk_open()
H A Dzio_crypt.c925 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/sys/cddl/boot/zfs/
H A Dzfsimpl.h135 #define SPA_MINBLOCKSIZE (1ULL << SPA_MINBLOCKSHIFT) macro
501 #define SPA_GANGBLOCKSIZE SPA_MINBLOCKSIZE
/freebsd/sys/contrib/openzfs/include/sys/fs/
H A Dzfs.h1909 #define SPA_MINBLOCKSIZE (1ULL << SPA_MINBLOCKSHIFT) macro

12