Home
last modified time | relevance | path

Searched refs:IS_P2ALIGNED (Results 1 – 23 of 23) sorted by relevance

/f-stack/freebsd/contrib/openzfs/include/sys/
H A Dbitops.h76 ASSERT3U(IS_P2ALIGNED(val, 1U << shift), !=, B_FALSE); \
81 ASSERT3U(IS_P2ALIGNED(val, 1ULL << shift), !=, B_FALSE); \
H A Drange_tree.h260 ASSERT(IS_P2ALIGNED(start, 1ULL << rt->rt_shift)); in rs_set_start()
268 ASSERT(IS_P2ALIGNED(end, 1ULL << rt->rt_shift)); in rs_set_end()
275 ASSERT(IS_P2ALIGNED(fill, 1ULL << rt->rt_shift)); in rs_set_fill()
H A Darc.h50 ASSERT(IS_P2ALIGNED(x, 1U << SPA_MINBLOCKSHIFT)); \
55 ASSERT(IS_P2ALIGNED((x), 1U << SPA_MINBLOCKSHIFT)); \
H A Darc_impl.h311 CTASSERT_GLOBAL(IS_P2ALIGNED(sizeof (l2arc_log_blk_phys_t),
/f-stack/freebsd/contrib/openzfs/lib/libspl/include/os/linux/sys/
H A Dsysmacros.h65 #define IS_P2ALIGNED(v, a) ((((uintptr_t)(v)) & ((uintptr_t)(a) - 1)) == 0) macro
/f-stack/freebsd/contrib/openzfs/include/os/linux/spl/sys/
H A Dsysmacros.h159 #define IS_P2ALIGNED(v, a) ((((uintptr_t)(v)) & ((uintptr_t)(a) - 1)) == 0) macro
/f-stack/freebsd/contrib/openzfs/module/zcommon/
H A Dzfs_fletcher.c470 ASSERT(IS_P2ALIGNED(size, sizeof (uint32_t))); in fletcher_4_native()
512 ASSERT(IS_P2ALIGNED(size, sizeof (uint32_t))); in fletcher_4_byteswap()
861 ASSERT(IS_P2ALIGNED(size, sizeof (uint32_t))); in abd_fletcher_4_iter()
/f-stack/freebsd/contrib/openzfs/module/os/linux/spl/
H A Dspl-kmem-cache.c171 ASSERT(IS_P2ALIGNED(ptr, PAGE_SIZE)); in kv_alloc()
179 ASSERT(IS_P2ALIGNED(ptr, PAGE_SIZE)); in kv_free()
293 ASSERT(IS_P2ALIGNED(obj, skc->skc_obj_align)); in spl_slab_alloc()
1290 ASSERT(IS_P2ALIGNED(obj, skc->skc_obj_align)); in spl_kmem_cache_alloc()
/f-stack/freebsd/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dccompile.h242 #define IS_P2ALIGNED(v, a) ((((uintptr_t)(v)) & ((uintptr_t)(a) - 1)) == 0) macro
H A Dsysmacros.h169 #define IS_P2ALIGNED(v, a) ((((uintptr_t)(v)) & ((uintptr_t)(a) - 1)) == 0) macro
/f-stack/freebsd/contrib/openzfs/module/icp/algs/aes/
H A Daes_impl.c78 if (IS_P2ALIGNED(cipherKey, sizeof (uint64_t))) { in aes_init_keysched()
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Ddmu_tx.c378 if (!IS_P2ALIGNED(off, 1 << dn->dn_datablkshift)) in dmu_tx_hold_free_impl()
381 if (!IS_P2ALIGNED(off + len, 1 << dn->dn_datablkshift)) in dmu_tx_hold_free_impl()
H A Dsa.c579 ASSERT(IS_P2ALIGNED(full_space, 8)); in sa_find_sizes()
735 ASSERT(IS_P2ALIGNED(data_start, 8)); in sa_build_layouts()
H A Ddnode.c2170 ASSERT(IS_P2ALIGNED(off, blksz)); in dnode_free_range()
2171 ASSERT(trunc || IS_P2ALIGNED(len, blksz)); in dnode_free_range()
H A Dvdev_indirect.c1146 IS_P2ALIGNED(inner_size, 2 * SPA_MINBLOCKSIZE)) { in vdev_indirect_remap()
H A Dzio.c187 if (arc_watch && !IS_P2ALIGNED(size, PAGESIZE)) in zio_init()
200 } else if (IS_P2ALIGNED(size, p2 >> 2)) { in zio_init()
/f-stack/freebsd/contrib/openzfs/module/icp/io/
H A Dsha1_mod.c65 if (IS_P2ALIGNED((m)->cm_param, sizeof (ulong_t))) \
H A Dsha2_mod.c64 if (IS_P2ALIGNED((m)->cm_param, sizeof (ulong_t))) \
H A Daes.c378 if (IS_P2ALIGNED(in, sizeof (uint64_t))) { in aes_copy_block64()
/f-stack/freebsd/contrib/openzfs/module/icp/algs/sha2/
H A Dsha2.c624 if (IS_P2ALIGNED(output, sizeof (uint32_t))) { in Encode()
649 if (IS_P2ALIGNED(output, sizeof (uint64_t))) { in Encode64()
/f-stack/freebsd/contrib/openzfs/module/icp/algs/sha1/
H A Dsha1.c818 if (IS_P2ALIGNED(output, sizeof (uint32_t))) {
/f-stack/freebsd/contrib/openzfs/cmd/zdb/
H A Dzdb.c7859 if (!IS_P2ALIGNED(psize, DEV_BSIZE) || !IS_P2ALIGNED(lsize, DEV_BSIZE)) in zdb_read_block()
7861 if (!IS_P2ALIGNED(offset, DEV_BSIZE)) in zdb_read_block()
/f-stack/freebsd/contrib/openzfs/cmd/ztest/
H A Dztest.c1706 ASSERT(IS_P2ALIGNED((char *)end - (char *)db->db_data, 8)); in ztest_fill_unused_bonus()