Searched refs:ROUNDX (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 */
117 #define ROUNDX(x,y) ((((x) + ((y)-1)) / (y)) * (y)) macro
118 #define ROUND(x,y) (((y)&((y)-1)) ? ROUNDX((x),(y)) : ROUND2((x),(y)) )

Completed in 11 milliseconds