/freebsd/sys/contrib/openzfs/lib/libspl/include/os/linux/sys/ |
H A D | sysmacros.h | 79 #define P2ALIGN_TYPED(x, align, type) \ macro
|
/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/ |
H A D | ccompile.h | 164 #define P2ALIGN_TYPED(x, align, type) \ macro
|
H A D | sysmacros.h | 261 #define P2ALIGN_TYPED(x, align, type) \ macro
|
/freebsd/sys/contrib/openzfs/module/zcommon/ |
H A D | zfs_fletcher.c | 474 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 D | sysmacros.h | 185 #define P2ALIGN_TYPED(x, align, type) \ macro
|
/freebsd/sys/contrib/openzfs/lib/libzfs/os/linux/ |
H A D | libzfs_pool_os.c | 271 slice_size = P2ALIGN_TYPED(slice_size, PARTITION_END_ALIGNMENT, in zpool_label_disk()
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/spl/ |
H A D | spl_uio.c | 236 P2ALIGN_TYPED(addr, PAGE_SIZE, unsigned long), n, len, in zfs_uio_iov_step()
|
/freebsd/sys/contrib/openzfs/lib/libzfs/ |
H A D | libzfs_import.c | 147 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 D | sysmacros.h | 316 #define P2ALIGN_TYPED(x, align, type) \ macro
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | dmu_object.c | 163 P2ALIGN_TYPED(object, dnodes_per_chunk, uint64_t) + in dmu_object_alloc_impl()
|
H A D | ddt_log.c | 205 size_t reclen = P2ALIGN_TYPED( in ddt_log_begin()
|
H A D | bpobj.c | 288 uint64_t pe = P2ALIGN_TYPED(i, bpo->bpo_epb, uint64_t) * in bpobj_iterate_blkptrs()
|
H A D | dmu.c | 544 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 D | zvol.c | 704 offset = P2ALIGN_TYPED(offset, size, uint64_t); in zvol_get_data()
|
H A D | zfs_vnops.c | 412 dio_remaining_resid = n - P2ALIGN_TYPED(n, PAGE_SIZE, ssize_t); in zfs_read()
|
H A D | vdev.c | 372 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 D | btree.c | 221 tree->bt_leaf_cap = P2ALIGN_TYPED(esize / size, 2, size_t); in zfs_btree_create_custom()
|
H A D | zil.c | 3872 zilog->zl_max_block_size = MIN(MAX(P2ALIGN_TYPED(zil_maxblocksize, in zil_alloc()
|
H A D | vdev_raidz.c | 4076 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 D | zfs_uio.c | 599 P2ALIGN_TYPED(addr, PAGE_SIZE, unsigned long), n, in zfs_uio_iov_step()
|
H A D | zvol_os.c | 377 end = P2ALIGN_TYPED(end, zv->zv_volblocksize, uint64_t); in zvol_discard()
|
/freebsd/sys/contrib/openzfs/lib/libzutil/ |
H A D | zutil_import.c | 942 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 D | vdev_geom.c | 456 psize = P2ALIGN_TYPED(psize, sizeof (vdev_label_t), uint64_t); in vdev_geom_read_config()
|
/freebsd/sys/contrib/openzfs/lib/libefi/ |
H A D | rdwr_efi.c | 1178 limit = P2ALIGN_TYPED(efi_label->efi_last_lba - nblocks - in efi_use_whole_disk()
|
/freebsd/sys/contrib/openzfs/cmd/ |
H A D | ztest.c | 2540 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()
|