Searched defs:P2PHASE (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_zfs.h110 #define P2PHASE(x, align) ((x) & ((align) - 1)) macro
/illumos-gate/usr/src/uts/common/sys/
H A Dsysmacros.h250 * eg, P2PHASE(0x1234, 0x100) == 0x34 (x-0x12*align)
251 * eg, P2PHASE(0x5600, 0x100) == 0x00 (x-0x56*align)
253 #define P2PHASE(x, align) ((x) & ((align) - 1)) macro
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dzfsimpl.h77 #define P2PHASE(x, align) ((x) & ((align) - 1)) macro
88 #define BF32_DECODE(x, low, len) P2PHASE((x) >> (low), 1U << (len))
89 #define BF64_DECODE(x, low, len) P2PHASE((x) >> (low), 1ULL << (len))
90 #define BF32_ENCODE(x, low, len) (P2PHASE((x), 1U << (len)) << (low))
91 #define BF64_ENCODE(x, low, len) (P2PHASE((x), 1ULL << (len)) << (low))

Completed in 137 milliseconds