| /freebsd-14.2/sys/contrib/openzfs/include/sys/ |
| H A D | bitops.h | 75 ASSERT3U(IS_P2ALIGNED(val, 1U << shift), !=, B_FALSE); \ 80 ASSERT3U(IS_P2ALIGNED(val, 1ULL << shift), !=, B_FALSE); \
|
| H A D | range_tree.h | 256 ASSERT(IS_P2ALIGNED(start, 1ULL << rt->rt_shift)); in rs_set_start() 264 ASSERT(IS_P2ALIGNED(end, 1ULL << rt->rt_shift)); in rs_set_end() 271 ASSERT(IS_P2ALIGNED(fill, 1ULL << rt->rt_shift)); in rs_set_fill()
|
| H A D | arc.h | 57 ASSERT(IS_P2ALIGNED(x, 1U << SPA_MINBLOCKSHIFT)); \ 62 ASSERT(IS_P2ALIGNED((x), 1U << SPA_MINBLOCKSHIFT)); \
|
| H A D | arc_impl.h | 318 _Static_assert(IS_P2ALIGNED(sizeof (l2arc_log_blk_phys_t),
|
| /freebsd-14.2/sys/contrib/openzfs/lib/libspl/include/os/linux/sys/ |
| H A D | sysmacros.h | 66 #define IS_P2ALIGNED(v, a) ((((uintptr_t)(v)) & ((uintptr_t)(a) - 1)) == 0) macro
|
| /freebsd-14.2/sys/contrib/openzfs/include/os/freebsd/spl/sys/ |
| H A D | ccompile.h | 148 #define IS_P2ALIGNED(v, a) ((((uintptr_t)(v)) & ((uintptr_t)(a) - 1)) == 0) macro
|
| H A D | sysmacros.h | 169 #define IS_P2ALIGNED(v, a) ((((uintptr_t)(v)) & ((uintptr_t)(a) - 1)) == 0) macro
|
| /freebsd-14.2/sys/contrib/openzfs/module/os/linux/spl/ |
| H A D | spl-kmem-cache.c | 150 ASSERT(IS_P2ALIGNED(ptr, PAGE_SIZE)); in kv_alloc() 158 ASSERT(IS_P2ALIGNED(ptr, PAGE_SIZE)); in kv_free() 275 ASSERT(IS_P2ALIGNED(obj, skc->skc_obj_align)); in spl_slab_alloc() 1276 ASSERT(IS_P2ALIGNED(obj, skc->skc_obj_align)); in spl_kmem_cache_alloc()
|
| /freebsd-14.2/sys/contrib/openzfs/module/zcommon/ |
| H A D | zfs_fletcher.c | 477 ASSERT(IS_P2ALIGNED(size, sizeof (uint32_t))); in fletcher_4_native() 526 ASSERT(IS_P2ALIGNED(size, sizeof (uint32_t))); in fletcher_4_byteswap() 885 ASSERT(IS_P2ALIGNED(size, sizeof (uint32_t))); in abd_fletcher_4_iter()
|
| /freebsd-14.2/sys/contrib/openzfs/include/os/linux/spl/sys/ |
| H A D | sysmacros.h | 169 #define IS_P2ALIGNED(v, a) ((((uintptr_t)(v)) & ((uintptr_t)(a) - 1)) == 0) macro
|
| /freebsd-14.2/sys/contrib/openzfs/module/icp/algs/aes/ |
| H A D | aes_impl.c | 78 if (IS_P2ALIGNED(cipherKey, sizeof (uint64_t))) { in aes_init_keysched()
|
| /freebsd-14.2/sys/cddl/contrib/opensolaris/uts/common/sys/ |
| H A D | sysmacros.h | 222 #define IS_P2ALIGNED(v, a) ((((uintptr_t)(v)) & ((uintptr_t)(a) - 1)) == 0) macro
|
| /freebsd-14.2/sys/contrib/openzfs/module/zfs/ |
| H A D | dmu_tx.c | 464 if (!IS_P2ALIGNED(off, 1 << dn->dn_datablkshift)) in dmu_tx_count_free() 467 if (!IS_P2ALIGNED(off + len, 1 << dn->dn_datablkshift)) in dmu_tx_count_free()
|
| H A D | sa.c | 578 ASSERT(IS_P2ALIGNED(full_space, 8)); in sa_find_sizes() 734 ASSERT(IS_P2ALIGNED(data_start, 8)); in sa_build_layouts()
|
| H A D | dnode.c | 2301 ASSERT(IS_P2ALIGNED(off, blksz)); in dnode_free_range() 2302 ASSERT(trunc || IS_P2ALIGNED(len, blksz)); in dnode_free_range()
|
| H A D | vdev_indirect.c | 1143 IS_P2ALIGNED(inner_size, 2 * SPA_MINBLOCKSIZE)) { in vdev_indirect_remap()
|
| H A D | zio.c | 186 if (arc_watch && !IS_P2ALIGNED(size, PAGESIZE)) in zio_init() 199 } else if (IS_P2ALIGNED(size, p2 >> 2)) { in zio_init()
|
| /freebsd-14.2/sys/contrib/openzfs/module/icp/io/ |
| H A D | sha2_mod.c | 44 if (IS_P2ALIGNED((m)->cm_param, sizeof (ulong_t))) \
|
| H A D | aes.c | 288 if (IS_P2ALIGNED(in, sizeof (uint64_t))) { in aes_copy_block64()
|
| /freebsd-14.2/sys/contrib/openzfs/cmd/zdb/ |
| H A D | zdb.c | 8673 if (!IS_P2ALIGNED(psize, DEV_BSIZE) || !IS_P2ALIGNED(lsize, DEV_BSIZE)) in zdb_read_block() 8675 if (!IS_P2ALIGNED(offset, DEV_BSIZE)) in zdb_read_block()
|
| /freebsd-14.2/sys/cddl/contrib/opensolaris/uts/common/dtrace/ |
| H A D | dtrace.c | 11252 ASSERT(IS_P2ALIGNED(aggbase, 14071 if (!IS_P2ALIGNED(taddr, sizeof (uint64_t))) { 14185 if (!IS_P2ALIGNED(dof->dofh_secoff, sizeof (uint64_t))) { 14190 if (!IS_P2ALIGNED(dof->dofh_secsize, sizeof (uint64_t))) {
|
| /freebsd-14.2/sys/contrib/openzfs/cmd/ |
| H A D | ztest.c | 1825 ASSERT(IS_P2ALIGNED((char *)end - (char *)db->db_data, 8)); in ztest_fill_unused_bonus()
|