Lines Matching defs:alignment
79 #define FORE200E_ALIGN(addr, alignment) \
80 ((((unsigned long)(addr) + (alignment - 1)) & ~(alignment - 1)) - (unsigned long)(addr))
152 fore200e_chunk_alloc(struct fore200e* fore200e, struct chunk* chunk, int size, int alignment, int direction)
156 if (alignment <= sizeof(int))
157 alignment = 0;
159 chunk->alloc_size = size + alignment;
167 if (alignment > 0)
168 offset = FORE200E_ALIGN(chunk->alloc_addr, alignment);
441 int size, int nbr, int alignment)
689 int size, int nbr, int alignment)