Lines Matching refs:alignment
48 #define ALIGN_BLOCK(p_Block, prefixSize, alignment) \
51 p_Block += PAD_ALIGNMENT((alignment), (uintptr_t)(p_Block)); \
182 ALIGN_BLOCK(p_Temp, p_Mem->prefixSize, p_Mem->alignment);
185 p_Temp += p_Mem->alignment;
213 uint16_t alignment)
218 if (alignment < 4)
220 alignment = 4;
226 pad2 = PAD_ALIGNMENT(alignment, blockSize);
230 return ((num * blockSize) + alignment);
240 uint16_t alignment)
250 alignment);
264 alignment,
284 uint16_t alignment,
303 if (alignment < 4)
305 alignment = 4;
307 else if (!POWER_OF_2(alignment))
346 p_Mem->alignment = alignment;
359 endPad = (uint16_t)PAD_ALIGNMENT(alignment, (alignPad + prefixSize + dataSize + postfixSize));
363 ALIGN_BLOCK(p_Blocks, prefixSize, alignment);
400 uint16_t alignment,
419 if (alignment < 4)
421 alignment = 4;
423 else if (!POWER_OF_2(alignment))
461 p_Mem->alignment = alignment;
472 endPad = (uint16_t)PAD_ALIGNMENT(alignment, alignPad + prefixSize + dataSize + postfixSize);
484 XX_MallocSmart((uint32_t)((num * blockSize) + alignment), memPartitionId, 1);
496 ALIGN_BLOCK(p_Blocks, prefixSize, alignment);
518 XX_MallocSmart((uint32_t)(blockSize + alignment), memPartitionId, 1);
529 ALIGN_BLOCK(p_Block, prefixSize, alignment);
535 p_Block += alignment;
750 ALIGN_BLOCK(p_Block, p_Mem->prefixSize, p_Mem->alignment);
753 p_Block += p_Mem->alignment;