Searched defs:P2ROUNDUP (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_zfs.h103 #define P2ROUNDUP(x, align) (-(-(x) & -(align))) macro
/illumos-gate/usr/src/uts/common/sys/
H A Dsysmacros.h258 * eg, P2ROUNDUP(0x1234, 0x100) == 0x1300 (0x13*align)
259 * eg, P2ROUNDUP(0x5600, 0x100) == 0x5600 (0x56*align)
261 #define P2ROUNDUP(x, align) (-(-(x) & -(align))) macro
301 * P2ROUNDUP(x, (uint64_t)PAGESIZE)
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_ckpt.c50 #define P2ROUNDUP(x, align) (-(-(x) & -(align))) macro
375 P2ROUNDUP((uintptr_t)ckp->ckp_ptr, dp->secd_align);
488 ckp->ckp_size = P2ROUNDUP(ckp->ckp_size, align) + size;
496 ckp->ckp_size = P2ROUNDUP(ckp->ckp_size, _MAX_ALIGNMENT) + bp->buf_size;
544 P2ROUNDUP((uintptr_t)ckp->ckp_ptr, sizeof (uint64_t));
602 ckp->ckp_size = P2ROUNDUP(ckp->ckp_size, sizeof (uint64_t));
611 cip->ci_nvsz = P2ROUNDUP(cip->ci_nvsz, sizeof (uint64_t));
988 size = P2ROUNDUP(size, sizeof (uint64_t));
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dzfsimpl.h78 #define P2ROUNDUP(x, align) (-(-(x) & -(align))) macro

Completed in 80 milliseconds