Searched refs:alignment (Results 1 – 2 of 2) sorted by relevance
| /TwlSDK-5.1.0/include/nitro/mi/ |
| D | allocator.h | 36 typedef void* (*MIAllocatorAllocFunction)(void *userdata, u32 length, u32 alignment); 86 void* MI_CallAlloc(MIAllocator *allocator, u32 length, u32 alignment) in MI_CallAlloc() argument 88 return allocator->Alloc(allocator->userdata, length, alignment); in MI_CallAlloc()
|
| /TwlSDK-5.1.0/build/demos/wireless_shared/wfs/src/ |
| D | wfs_common.c | 94 static void *InternalAlloc(void *userdata, u32 length, u32 alignment) in InternalAlloc() argument 100 alignment = MATH_ROUNDUP(alignment, sizeof(u32)); in InternalAlloc() 101 newlen = MATH_ROUNDUP(length, alignment) + alignment; in InternalAlloc() 105 aligned_ptr = (void*)MATH_ROUNDUP((u32)newptr + 1, alignment); in InternalAlloc()
|