Searched refs:ALIGN_POT (Results 1 – 7 of 7) sorted by relevance
/hardware/google/gfxstream/guest/mesa/src/util/ |
D | build_id.c | 92 ALIGN_POT(note->nhdr.n_namesz, 4) + in build_id_find_nhdr_callback() 93 ALIGN_POT(note->nhdr.n_descsz, 4); in build_id_find_nhdr_callback()
|
D | u_math.h | 660 return ALIGN_POT(value, alignment); in ALIGN() 698 return ALIGN_POT(value, alignment); in align() 705 return ALIGN_POT(value, alignment); in align64()
|
D | slab.c | 110 parent->element_size = ALIGN_POT(sizeof(struct slab_element_header) + item_size, in slab_create_parent()
|
D | macros.h | 376 #define ALIGN_POT(x, pot_align) (((x) + (pot_align) - 1) & ~((pot_align) - 1)) macro
|
D | ralloc.c | 1039 size = ALIGN_POT(size, SUBALLOC_ALIGNMENT); in linear_alloc_child() 1070 size = ALIGN_POT(size, SUBALLOC_ALIGNMENT); in linear_alloc_parent()
|
/hardware/google/gfxstream/guest/mesa/src/vulkan/util/ |
D | vk_alloc.h | 200 size_t offset = ALIGN_POT(ma->size, align); in vk_multialloc_add_size_align()
|
/hardware/google/gfxstream/guest/mesa/src/vulkan/wsi/ |
D | wsi_common.c | 1950 info->linear_stride = ALIGN_POT(info->linear_stride, stride_align); in wsi_configure_buffer_image() 1956 info->linear_stride = ALIGN_POT(info->linear_stride, in wsi_configure_buffer_image() 1960 info->linear_size = ALIGN_POT(info->linear_size, size_align); in wsi_configure_buffer_image()
|