Home
last modified time | relevance | path

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 Darc.h47 ASSERT(IS_P2ALIGNED(x, 1U << SPA_MINBLOCKSHIFT)); \
52 ASSERT(IS_P2ALIGNED((x), 1U << SPA_MINBLOCKSHIFT)); \
H A Dspa.h93 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 Dsysmacros.h218 #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 Ddmu_tx.c383 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 Dsa.c562 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 Ddnode.c1840 ASSERT(IS_P2ALIGNED(off, blksz)); in dnode_free_range()
1841 ASSERT(trunc || IS_P2ALIGNED(len, blksz)); in dnode_free_range()
H A Dvdev_indirect.c1106 IS_P2ALIGNED(inner_size, 2 * SPA_MINBLOCKSIZE)) { in vdev_indirect_remap()
H A Dzio.c179 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 Dzdb.c4996 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 Ddtrace.c11219 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 Dztest.c1384 ASSERT(IS_P2ALIGNED((char *)end - (char *)db->db_data, 8)); in ztest_fill_unused_bonus()