Searched defs:IS_P2ALIGNED (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/sys/
H A Dsysmacros.h221 #define IS_P2ALIGNED(v, a) ((((uintptr_t)(v)) & ((uintptr_t)(a) - 1)) == 0) macro
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_ckpt.c51 #define IS_P2ALIGNED(v, a) ((((uintptr_t)(v)) & ((uintptr_t)(a) - 1)) == 0) macro
224 if (!IS_P2ALIGNED(ckp->ckp_hdr->fcfh_secoff, sizeof (uint64_t)) ||
225 !IS_P2ALIGNED(ckp->ckp_hdr->fcfh_secsize, sizeof (uint64_t)))

Completed in 98 milliseconds