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.h243 * eg, P2PHASE(0x1234, 0x100) == 0x34 (x-0x12*align)
244 * eg, P2PHASE(0x5600, 0x100) == 0x00 (x-0x56*align)
246 #define P2PHASE(x, align) ((x) & ((align) - 1)) macro
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dzfsimpl.h76 #define P2PHASE(x, align) ((x) & ((align) - 1)) macro
86 #define BF32_DECODE(x, low, len) P2PHASE((x) >> (low), 1U << (len))
87 #define BF64_DECODE(x, low, len) P2PHASE((x) >> (low), 1ULL << (len))
88 #define BF32_ENCODE(x, low, len) (P2PHASE((x), 1U << (len)) << (low))
89 #define BF64_ENCODE(x, low, len) (P2PHASE((x), 1ULL << (len)) << (low))

Completed in 1329 milliseconds