Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/frontends/nine/
Dnine_memory_helper.c108 #define NINE_ALLOCATION_ALIGNMENT 32 macro
681 …assert((uintptr_t)buf % NINE_ALLOCATION_ALIGNMENT == 0); /* mmap should be page_size aligned, so i… in nine_memfd_region_map()
794 void *data = align_calloc(size, NINE_ALLOCATION_ALIGNMENT); in nine_allocate()
1078 assert(sizeof(struct nine_allocation) <= NINE_ALLOCATION_ALIGNMENT); in nine_allocate()
1079 allocation = align_calloc(size + NINE_ALLOCATION_ALIGNMENT, NINE_ALLOCATION_ALIGNMENT); in nine_allocate()
1105 return (uint8_t *)allocation + NINE_ALLOCATION_ALIGNMENT; in nine_get_pointer()
1137 new_allocation->external = (uint8_t *)allocation + NINE_ALLOCATION_ALIGNMENT + offset; in nine_suballocate()