Lines Matching refs:ALIGN
203 /* ALIGN is chosen so that a block can store all primitive types.
234 #undef ALIGN /* bsd sys/param.h defines this */
235 #define ALIGN sizeof(struct _align_s)
237 /* make sure that the head of a block is a multiple of ALIGN */
251 #define HEADSIZE ROUND(sizeof(struct _head_s),ALIGN)
257 /* now make sure that the body of a block is a multiple of ALIGN */
264 #define BODYSIZE ROUND(sizeof(struct _body_s),ALIGN)
273 ** sizeof(Head_t)%ALIGN == 0
274 ** sizeof(Body_t)%ALIGN == 0
287 #define TINYSIZE ROUND(sizeof(struct _tiny_s),ALIGN)
289 #define MAXTINY (S_TINY*ALIGN + TINYSIZE)
294 #define INDEX(s) DIV((s)-TINYSIZE,ALIGN)
299 #define MAXCACHE (S_CACHE*ALIGN + TINYSIZE)
340 #define SEGBLOCK(s) ((Block_t*)(((Vmuchar_t*)(s)) + ROUND(sizeof(Seg_t),ALIGN)))