Home
last modified time | relevance | path

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

/hardware/google/gfxstream/guest/mesa/src/util/
Du_idalloc.c55 util_idalloc_resize(buf, DIV_ROUND_UP(initial_num_ids, 32)); in util_idalloc_init()
105 unsigned num_alloc = DIV_ROUND_UP(num, 32); in util_idalloc_alloc_range()
Dmacros.h357 #define DIV_ROUND_UP( A, B ) ( ((A) + (B) - 1) / (B) ) macro
Dfossilize_db.c194 int64_t iterations = MAX2(DIV_ROUND_UP(timeout, 1000000), 1); in lock_file_with_timeout()
/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/
Dvk_image.c266 extent.width = DIV_ROUND_UP(extent.width, fmt->block.width); in vk_image_extent_to_elements()
267 extent.height = DIV_ROUND_UP(extent.height, fmt->block.height); in vk_image_extent_to_elements()
268 extent.depth = DIV_ROUND_UP(extent.depth, fmt->block.depth); in vk_image_extent_to_elements()
311 DIV_ROUND_UP(row_length, fmt->block.width) * element_size_B; in vk_image_buffer_copy_layout()
313 DIV_ROUND_UP(image_height, fmt->block.height) * (uint64_t)row_stride_B; in vk_image_buffer_copy_layout()