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

/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_zfs.h116 * eg, P2ALIGN(1200, 1024) == 1024 (1*align)
117 * eg, P2ALIGN(1024, 1024) == 1024 (1*align)
118 * eg, P2ALIGN(0x1234, 0x100) == 0x1200 (0x12*align)
119 * eg, P2ALIGN(0x5600, 0x100) == 0x5600 (0x56*align)
121 #define P2ALIGN(x, align) ((x) & -(align)) macro
/illumos-gate/usr/src/uts/common/sys/
H A Dsysmacros.h241 * eg, P2ALIGN(1200, 1024) == 1024 (1*align)
242 * eg, P2ALIGN(1024, 1024) == 1024 (1*align)
243 * eg, P2ALIGN(0x1234, 0x100) == 0x1200 (0x12*align)
244 * eg, P2ALIGN(0x5600, 0x100) == 0x5600 (0x56*align)
246 #define P2ALIGN(x, align) ((x) & -(align)) macro
/illumos-gate/usr/src/cmd/ptools/pmap/
H A Dpmap.c60 #define P2ALIGN(x, align) ((x) & -(align)) macro
1365 (end < P2ALIGN(start_addr, psz)))
1370 (start > P2ALIGN(end_addr + psz, psz)))
1404 from = P2ALIGN(start_addr, psz);
1438 P2ALIGN(end_addr + psz, psz);
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dzfsimpl.h84 #define P2ALIGN(x, align) ((x) & -(align))
76 #define P2ALIGN macro

Completed in 163 milliseconds