Home
last modified time | relevance | path

Searched refs:P2ALIGN_TYPED (Results 1 – 22 of 22) sorted by relevance

/freebsd-14.2/sys/contrib/openzfs/lib/libspl/include/os/linux/sys/
H A Dsysmacros.h79 #define P2ALIGN_TYPED(x, align, type) \ macro
/freebsd-14.2/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dccompile.h164 #define P2ALIGN_TYPED(x, align, type) \ macro
H A Dsysmacros.h261 #define P2ALIGN_TYPED(x, align, type) \ macro
/freebsd-14.2/sys/contrib/openzfs/module/zcommon/
H A Dzfs_fletcher.c474 const uint64_t p2size = P2ALIGN_TYPED(size, FLETCHER_MIN_SIMD_SIZE, in fletcher_4_native()
523 const uint64_t p2size = P2ALIGN_TYPED(size, FLETCHER_MIN_SIMD_SIZE, in fletcher_4_byteswap()
883 uint64_t asize = P2ALIGN_TYPED(size, FLETCHER_MIN_SIMD_SIZE, uint64_t); in abd_fletcher_4_iter()
/freebsd-14.2/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Dsysmacros.h185 #define P2ALIGN_TYPED(x, align, type) \ macro
/freebsd-14.2/sys/contrib/openzfs/lib/libzfs/os/linux/
H A Dlibzfs_pool_os.c271 slice_size = P2ALIGN_TYPED(slice_size, PARTITION_END_ALIGNMENT, in zpool_label_disk()
/freebsd-14.2/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_import.c147 size = P2ALIGN_TYPED(statbuf.st_size, sizeof (vdev_label_t), uint64_t); in zpool_clear_label()
/freebsd-14.2/sys/cddl/contrib/opensolaris/uts/common/sys/
H A Dsysmacros.h316 #define P2ALIGN_TYPED(x, align, type) \ macro
/freebsd-14.2/sys/contrib/openzfs/module/zfs/
H A Ddmu_object.c163 P2ALIGN_TYPED(object, dnodes_per_chunk, uint64_t) + in dmu_object_alloc_impl()
H A Dbpobj.c288 uint64_t pe = P2ALIGN_TYPED(i, bpo->bpo_epb, uint64_t) * in bpobj_iterate_blkptrs()
H A Ddmu.c540 P2ALIGN_TYPED(offset, 1ULL << blkshift, uint64_t)) in dmu_buf_hold_array_by_dnode()
865 *start = P2ALIGN_TYPED(*start, iblkrange, uint64_t); in get_next_chunk()
H A Dvdev.c350 return (P2ALIGN_TYPED(vd->vdev_asize, 1ULL << vd->vdev_ms_shift, in vdev_get_min_asize()
2112 osize = P2ALIGN_TYPED(osize, sizeof (vdev_label_t), uint64_t); in vdev_open()
2113 max_osize = P2ALIGN_TYPED(max_osize, sizeof (vdev_label_t), uint64_t); in vdev_open()
4735 vs->vs_esize = P2ALIGN_TYPED( in vdev_get_stats_ex()
H A Dzvol.c677 offset = P2ALIGN_TYPED(offset, size, uint64_t); in zvol_get_data()
H A Dbtree.c221 tree->bt_leaf_cap = P2ALIGN_TYPED(esize / size, 2, size_t); in zfs_btree_create_custom()
H A Dzil.c3858 zilog->zl_max_block_size = MIN(MAX(P2ALIGN_TYPED(zil_maxblocksize, in zil_alloc()
H A Dmetaslab.c632 space += P2ALIGN_TYPED(tvd->vdev_max_asize - tvd->vdev_asize, in metaslab_class_expandable_space()
/freebsd-14.2/sys/contrib/openzfs/lib/libzutil/
H A Dzutil_import.c942 size = P2ALIGN_TYPED(statbuf.st_size, sizeof (vdev_label_t), uint64_t); in zpool_read_label_slow()
1024 size = P2ALIGN_TYPED(statbuf.st_size, sizeof (vdev_label_t), uint64_t); in zpool_read_label()
/freebsd-14.2/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dvdev_geom.c460 psize = P2ALIGN_TYPED(psize, sizeof (vdev_label_t), uint64_t); in vdev_geom_read_config()
/freebsd-14.2/sys/contrib/openzfs/lib/libefi/
H A Drdwr_efi.c1178 limit = P2ALIGN_TYPED(efi_label->efi_last_lba - nblocks - in efi_use_whole_disk()
/freebsd-14.2/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzvol_os.c389 end = P2ALIGN_TYPED(end, zv->zv_volblocksize, uint64_t); in zvol_discard()
/freebsd-14.2/sys/contrib/openzfs/cmd/
H A Dztest.c2451 offset = P2ALIGN_TYPED(offset, size, uint64_t); in ztest_get_data()
4671 os->os_obj_next_chunk = P2ALIGN_TYPED(object, dnodes_per_chunk, in ztest_dmu_object_next_chunk()
6288 uint64_t psize = P2ALIGN_TYPED(fsize, sizeof (vdev_label_t), in ztest_fault_inject()
6605 inc += P2ALIGN_TYPED(ztest_random(64), in ztest_fletcher_incr()
/freebsd-14.2/sys/contrib/openzfs/cmd/zdb/
H A Dzdb.c5275 psize = P2ALIGN_TYPED(psize, sizeof (vdev_label_t), uint64_t); in dump_label()