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/os/linux/sys/
H A Dsysmacros.h79 #define P2ALIGN_TYPED(x, align, type) \ macro
/freebsd/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/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/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Dsysmacros.h185 #define P2ALIGN_TYPED(x, align, type) \ macro
/freebsd/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/sys/contrib/openzfs/module/os/freebsd/spl/
H A Dspl_uio.c236 P2ALIGN_TYPED(addr, PAGE_SIZE, unsigned long), n, len, in zfs_uio_iov_step()
/freebsd/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/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.c163 P2ALIGN_TYPED(object, dnodes_per_chunk, uint64_t) + in dmu_object_alloc_impl()
H A Dddt_log.c205 size_t reclen = P2ALIGN_TYPED( in ddt_log_begin()
H A Dbpobj.c288 uint64_t pe = P2ALIGN_TYPED(i, bpo->bpo_epb, uint64_t) * in bpobj_iterate_blkptrs()
H A Ddmu.c544 P2ALIGN_TYPED(offset, 1ULL << blkshift, uint64_t)) in dmu_buf_hold_array_by_dnode()
975 *start = P2ALIGN_TYPED(*start, iblkrange, uint64_t); in get_next_chunk()
H A Dzvol.c704 offset = P2ALIGN_TYPED(offset, size, uint64_t); in zvol_get_data()
H A Dzfs_vnops.c412 dio_remaining_resid = n - P2ALIGN_TYPED(n, PAGE_SIZE, ssize_t); in zfs_read()
H A Dvdev.c372 return (P2ALIGN_TYPED(vd->vdev_asize, 1ULL << vd->vdev_ms_shift, in vdev_get_min_asize()
2144 osize = P2ALIGN_TYPED(osize, sizeof (vdev_label_t), uint64_t); in vdev_open()
2145 max_osize = P2ALIGN_TYPED(max_osize, sizeof (vdev_label_t), uint64_t); in vdev_open()
4818 vs->vs_esize = P2ALIGN_TYPED( in vdev_get_stats_ex()
H A Dbtree.c221 tree->bt_leaf_cap = P2ALIGN_TYPED(esize / size, 2, size_t); in zfs_btree_create_custom()
H A Dzil.c3872 zilog->zl_max_block_size = MIN(MAX(P2ALIGN_TYPED(zil_maxblocksize, in zil_alloc()
H A Dvdev_raidz.c4076 uint64_t write_size = P2ALIGN_TYPED(VDEV_BOOT_SIZE, 1 << ashift, in raidz_reflow_scratch_sync()
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_uio.c599 P2ALIGN_TYPED(addr, PAGE_SIZE, unsigned long), n, in zfs_uio_iov_step()
H A Dzvol_os.c377 end = P2ALIGN_TYPED(end, zv->zv_volblocksize, uint64_t); in zvol_discard()
/freebsd/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/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dvdev_geom.c456 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.c1178 limit = P2ALIGN_TYPED(efi_label->efi_last_lba - nblocks - in efi_use_whole_disk()
/freebsd/sys/contrib/openzfs/cmd/
H A Dztest.c2540 offset = P2ALIGN_TYPED(offset, size, uint64_t); in ztest_get_data()
3997 write_size = P2ALIGN_TYPED(VDEV_BOOT_SIZE, 1 << raidvd->vdev_ashift, in raidz_scratch_verify()
5036 os->os_obj_next_chunk = P2ALIGN_TYPED(object, dnodes_per_chunk, in ztest_dmu_object_next_chunk()
6674 uint64_t psize = P2ALIGN_TYPED(fsize, sizeof (vdev_label_t), in ztest_fault_inject()
7010 inc += P2ALIGN_TYPED(ztest_random(64), in ztest_fletcher_incr()

12