Home
last modified time | relevance | path

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

/cts/hostsidetests/securitybulletin/securityPatch/includes/
Dmemutils.c102 size_t aligned_size = size; in memalign() local
123 aligned_size = size + (MINIMUM_ALIGNMENT - (size % MINIMUM_ALIGNMENT)); in memalign()
127 if (0 != (aligned_size % page_size)) { in memalign()
128 num_pages = (aligned_size / page_size) + 2; in memalign()
130 num_pages = (aligned_size / page_size) + 1; in memalign()
136 mem_ptr = (char *) start_ptr + ((num_pages - 1) * page_size) - aligned_size; in memalign()