Home
last modified time | relevance | path

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

12

/freebsd/sys/contrib/openzfs/lib/libspl/include/sys/
H A Dsysmacros.h98 #define P2ALIGN_TYPED(x, align, type) \ macro
/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dccompile.h162 #define P2ALIGN_TYPED(x, align, type) \ macro
H A Dsysmacros.h262 #define P2ALIGN_TYPED(x, align, type) \ macro
/freebsd/sys/contrib/openzfs/module/zcommon/
H A Dzfs_fletcher.c475 const uint64_t p2size = P2ALIGN_TYPED(size, FLETCHER_MIN_SIMD_SIZE, in fletcher_4_native()
531 const uint64_t p2size = P2ALIGN_TYPED(size, FLETCHER_MIN_SIMD_SIZE, in fletcher_4_byteswap()
891 uint64_t asize = P2ALIGN_TYPED(size, FLETCHER_MIN_SIMD_SIZE, uint64_t); in abd_fletcher_4_iter()
/freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Dsysmacros.h183 #define P2ALIGN_TYPED(x, align, type) \ macro
/freebsd/sys/contrib/openzfs/module/os/freebsd/spl/
H A Dspl_uio.c237 P2ALIGN_TYPED(addr, PAGE_SIZE, unsigned long), n, len, in zfs_uio_iov_step()
/freebsd/sys/contrib/openzfs/lib/libzfs/os/linux/
H A Dlibzfs_pool_os.c287 slice_size = P2ALIGN_TYPED(slice_size, PARTITION_END_ALIGNMENT, in zpool_label_disk()
/freebsd/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_import.c148 size = P2ALIGN_TYPED(statbuf.st_size, sizeof (vdev_label_t), uint64_t); in zpool_clear_label()
/freebsd/sys/cddl/contrib/opensolaris/uts/common/sys/
H A Dsysmacros.h316 #define P2ALIGN_TYPED(x, align, type) \ macro
/freebsd/sys/contrib/openzfs/module/zfs/
H A Ddmu_object.c164 P2ALIGN_TYPED(object, dnodes_per_chunk, uint64_t) + in dmu_object_alloc_impl()
H A Dddt_log.c208 size_t reclen = P2ALIGN_TYPED( in ddt_log_begin()
H A Dbpobj.c289 uint64_t pe = P2ALIGN_TYPED(i, bpo->bpo_epb, uint64_t) * in bpobj_iterate_blkptrs()
H A Ddmu.c520 P2ALIGN_TYPED(offset, 1ULL << blkshift, uint64_t)) in dmu_buf_hold_array_by_dnode()
1053 *start = P2ALIGN_TYPED(*start, iblkrange, uint64_t); in get_next_chunk()
H A Dvdev.c409 return (P2ALIGN_TYPED(vd->vdev_asize, 1ULL << vd->vdev_ms_shift, in vdev_get_min_asize()
2266 osize = P2ALIGN_TYPED(osize, sizeof (vdev_label_t), uint64_t); in vdev_open()
2267 max_osize = P2ALIGN_TYPED(max_osize, sizeof (vdev_label_t), uint64_t); in vdev_open()
5014 vs->vs_esize = P2ALIGN_TYPED( in vdev_get_stats_ex()
H A Dzfs_vnops.c449 dio_remaining_resid = n - P2ALIGN_TYPED(n, PAGE_SIZE, ssize_t); in zfs_read()
H A Dzvol.c1076 offset = P2ALIGN_TYPED(offset, size, uint64_t); in zvol_get_data()
H A Dbtree.c235 tree->bt_leaf_cap = P2ALIGN_TYPED(esize / size, 2, size_t); in zfs_btree_create_custom()
H A Dzil.c4319 zilog->zl_max_block_size = MIN(MAX(P2ALIGN_TYPED(zil_maxblocksize, in zil_alloc()
H A Dvdev_raidz.c4560 uint64_t write_size = P2ALIGN_TYPED(VDEV_BOOT_SIZE, 1 << ashift, in raidz_reflow_scratch_sync()
H A Dmetaslab.c880 space += P2ALIGN_TYPED(tvd->vdev_max_asize - tvd->vdev_asize, in metaslab_class_expandable_space()
/freebsd/sys/contrib/openzfs/lib/libzutil/
H A Dzutil_import.c943 size = P2ALIGN_TYPED(statbuf.st_size, sizeof (vdev_label_t), uint64_t); in zpool_read_label_slow()
1025 size = P2ALIGN_TYPED(statbuf.st_size, sizeof (vdev_label_t), uint64_t); in zpool_read_label()
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dvdev_geom.c457 psize = P2ALIGN_TYPED(psize, sizeof (vdev_label_t), uint64_t); in vdev_geom_read_config()
/freebsd/sys/contrib/openzfs/lib/libefi/
H A Drdwr_efi.c1179 limit = P2ALIGN_TYPED(efi_label->efi_last_lba - nblocks - in efi_use_whole_disk()
/freebsd/sys/contrib/openzfs/cmd/
H A Dztest.c2542 offset = P2ALIGN_TYPED(offset, size, uint64_t); in ztest_get_data()
3998 write_size = P2ALIGN_TYPED(VDEV_BOOT_SIZE, 1 << raidvd->vdev_ashift, in raidz_scratch_verify()
5037 os->os_obj_next_chunk = P2ALIGN_TYPED(object, dnodes_per_chunk, in ztest_dmu_object_next_chunk()
6679 uint64_t psize = P2ALIGN_TYPED(fsize, sizeof (vdev_label_t), in ztest_fault_inject()
7015 inc += P2ALIGN_TYPED(ztest_random(64), in ztest_fletcher_incr()
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzvol_os.c346 end = P2ALIGN_TYPED(end, zv->zv_volblocksize, uint64_t); in zvol_discard()

12