Searched refs:IS_P2ALIGNED (Results 1 – 11 of 11) sorted by relevance
| /freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/ |
| H A D | arc.h | 47 ASSERT(IS_P2ALIGNED(x, 1U << SPA_MINBLOCKSHIFT)); \ 52 ASSERT(IS_P2ALIGNED((x), 1U << SPA_MINBLOCKSHIFT)); \
|
| H A D | spa.h | 93 ASSERT(IS_P2ALIGNED(val, 1U << shift)); \ 98 ASSERT(IS_P2ALIGNED(val, 1ULL << shift)); \
|
| /freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/sys/ |
| H A D | sysmacros.h | 218 #define IS_P2ALIGNED(v, a) ((((uintptr_t)(v)) & ((uintptr_t)(a) - 1)) == 0) macro
|
| /freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
| H A D | dmu_tx.c | 383 if (!IS_P2ALIGNED(off, 1 << dn->dn_datablkshift)) in dmu_tx_hold_free_impl() 386 if (!IS_P2ALIGNED(off + len, 1 << dn->dn_datablkshift)) in dmu_tx_hold_free_impl()
|
| H A D | sa.c | 562 ASSERT(IS_P2ALIGNED(full_space, 8)); in sa_find_sizes() 719 ASSERT(IS_P2ALIGNED(data_start, 8)); in sa_build_layouts() 720 ASSERT(IS_P2ALIGNED(buf_space, 8)); in sa_build_layouts()
|
| H A D | dnode.c | 1840 ASSERT(IS_P2ALIGNED(off, blksz)); in dnode_free_range() 1841 ASSERT(trunc || IS_P2ALIGNED(len, blksz)); in dnode_free_range()
|
| H A D | vdev_indirect.c | 1106 IS_P2ALIGNED(inner_size, 2 * SPA_MINBLOCKSIZE)) { in vdev_indirect_remap()
|
| H A D | zio.c | 179 if (arc_watch && !IS_P2ALIGNED(size, PAGESIZE)) in zio_init() 185 } else if (IS_P2ALIGNED(size, p2 >> 2)) { in zio_init()
|
| /freebsd-12.1/cddl/contrib/opensolaris/cmd/zdb/ |
| H A D | zdb.c | 4996 if (!IS_P2ALIGNED(size, DEV_BSIZE)) in zdb_read_block() 4998 if (!IS_P2ALIGNED(offset, DEV_BSIZE)) in zdb_read_block()
|
| /freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/dtrace/ |
| H A D | dtrace.c | 11219 ASSERT(IS_P2ALIGNED(aggbase, 14037 if (!IS_P2ALIGNED(taddr, sizeof (uint64_t))) { 14151 if (!IS_P2ALIGNED(dof->dofh_secoff, sizeof (uint64_t))) { 14156 if (!IS_P2ALIGNED(dof->dofh_secsize, sizeof (uint64_t))) {
|
| /freebsd-12.1/cddl/contrib/opensolaris/cmd/ztest/ |
| H A D | ztest.c | 1384 ASSERT(IS_P2ALIGNED((char *)end - (char *)db->db_data, 8)); in ztest_fill_unused_bonus()
|