Searched refs:DIVUP (Results 1 - 1 of 1) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/nine/
H A Dnine_memory_helper.c105 #define DIVUP(a,b) (((a)+(b)-1)/(b)) macro
454 best_region->size = DIVUP(allocation_size, allocator->page_size) * allocator->page_size;
695 allocation_size = DIVUP(allocation_size, allocator->page_size) * allocator->page_size;
1013 allocator->min_file_size = DIVUP(100 * (1 << 20), allocator->page_size) * allocator->page_size; /* 100MB files */

Completed in 3 milliseconds