Searched refs:MEM_ROUND (Results 1 – 3 of 3) sorted by relevance
336 an= malloc(MEM_ROUND(MEM_ROUND(sizeof(*an)) + sz)); in alloc_common()339 return (byte*)an + MEM_ROUND(sizeof(*an)); in alloc_common()345 sz= MEM_ROUND(sz); in adns__alloc_interim()355 sz= MEM_ROUND(sz); in adns__alloc_preserved()363 return alloc_common(qu,MEM_ROUND(sz)); in adns__alloc_mine()370 an= (void*)((byte*)block - MEM_ROUND(sizeof(*an))); in adns__transfer_interim()378 sz= MEM_ROUND(sz); in adns__transfer_interim()392 sz= MEM_ROUND(sz); in adns__alloc_final()474 ans= realloc(qu->answer, MEM_ROUND(MEM_ROUND(sizeof(*ans)) + qu->interim_allocd)); in makefinal_query()479 qu->final_allocspace= (byte*)ans + MEM_ROUND(sizeof(*ans)); in makefinal_query()
711 #define MEM_ROUND(sz) \ macro
46 * Call MEM_ROUND in __transfer_interim (avoids assert fail