Home
last modified time | relevance | path

Searched refs:AlignPage (Results 1 – 2 of 2) sorted by relevance

/external/u-boot/common/
Ddlmalloc.c32 #define AlignPage(add) (((add) + (malloc_getpagesize-1)) & \ macro
139 gAllocatedSize = max (RESERVED_SIZE, AlignPage (size)); in wsbrk()
143 } else if (AlignPage (gNextAddress + size) > (gAddressBase + in wsbrk()
146 long new_size = max (NEXT_SIZE, AlignPage (size)); in wsbrk()
171 if ((size + gNextAddress) > AlignPage (gNextAddress)) in wsbrk()
174 res = VirtualAlloc ((void*)AlignPage (gNextAddress), in wsbrk()
176 AlignPage (gNextAddress)), in wsbrk()
187 unsigned int alignedGoal = AlignPage (gNextAddress + size); in wsbrk()
Ddlmalloc.src947 #define AlignPage(add) (((add) + (malloc_getpagesize-1)) & \
1054 gAllocatedSize = max (RESERVED_SIZE, AlignPage (size));
1058 } else if (AlignPage (gNextAddress + size) > (gAddressBase +
1061 long new_size = max (NEXT_SIZE, AlignPage (size));
1086 if ((size + gNextAddress) > AlignPage (gNextAddress))
1089 res = VirtualAlloc ((void*)AlignPage (gNextAddress),
1091 AlignPage (gNextAddress)),
1102 unsigned int alignedGoal = AlignPage (gNextAddress + size);