Searched refs:ROUND2 (Results 1 - 1 of 1) sorted by relevance

/ast/src/lib/libast/vmalloc/
H A Dvmhdr.h115 /* Round x up to a multiple of y. ROUND2 does powers-of-2 and ROUNDX does others */
116 #define ROUND2(x,y) (((x) + ((y)-1)) & ~((y)-1)) macro
118 #define ROUND(x,y) (((y)&((y)-1)) ? ROUNDX((x),(y)) : ROUND2((x),(y)) )

Completed in 11 milliseconds