summaryrefslogtreecommitdiff
path: root/src/util/ralloc.c
AgeCommit message (Expand)AuthorFilesLines
2023-10-08util: Avoid waste space when linear alloc'ing large sizesCaio Oliveira1-4/+18
2023-10-07util: Add function print information about a ralloc treeCaio Oliveira1-0/+118
2023-10-07util: Add a canary to identify gc_ctx in debug modeCaio Oliveira1-0/+8
2023-10-07util: Add size to ralloc_header in debug modeCaio Oliveira1-0/+2
2023-09-26util: Fix bookkeeping of linear node sizesCaio Oliveira1-4/+5
2023-09-25util: Remove per-buffer header in linear alloc for release modeCaio Oliveira1-54/+79
2023-09-25util: Remove size information from child allocationsCaio Oliveira1-29/+6
2023-09-25util: Remove linear_realloc()Caio Oliveira1-19/+0
2023-09-25util: Remove usages of linear_realloc()Caio Oliveira1-2/+5
2023-09-25util: Use an opaque type for linear contextCaio Oliveira1-42/+46
2023-09-25util: Remove size from linear_parent creationCaio Oliveira1-25/+7
2023-09-25util: Use linear parent to (r)allocated extra nodesCaio Oliveira1-25/+10
2023-09-25util: Remove ralloc_parent from linear_headerCaio Oliveira1-5/+3
2023-09-12util: Add convenience macros for linear allocatorCaio Oliveira1-0/+18
2023-06-29util: sizeof bucket are always 32bit width, use align instead align64Yonggang Luo1-14/+18
2023-06-08util/tests: add gc_alloc_size alignment testsRhys Perry1-5/+8
2023-06-08util: fix gc_alloc_size alignmentRhys Perry1-4/+29
2022-08-30util: add freelist allocator with mark/sweepRhys Perry1-0/+377
2022-08-30util/ralloc: add HEADER_ALIGN macroRhys Perry1-11/+8
2022-06-14util: use c11 alignas instead of rolling our ownErik Faye-Lund1-19/+13
2022-06-14util: sort includesErik Faye-Lund1-2/+2
2021-09-23vulkan: Add vk_asprintf and vk_vasprintf helpersYevhenii Kolesnikov1-47/+5
2020-08-21util/ralloc: fix ralloc alignment.Lepton Wu1-2/+14
2020-04-21util/ralloc: fix ralloc alignment on Win64Jesse Natalie1-0/+4
2019-05-14util/ralloc: Add helpers for growing zero-initialized memoryJason Ekstrand1-0/+25
2018-11-12util/ralloc: Make sizeof(linear_header) a multiple of 8Matt Turner1-2/+12
2018-11-12util/ralloc: Switch from DEBUG to NDEBUGMatt Turner1-14/+4
2018-07-02util/macros: Import ALIGN_POT from ralloc.cJason Ekstrand1-2/+0
2017-10-12ralloc: Allow reparenting to a NULL contextJason Ekstrand1-1/+1
2017-09-27util/ralloc: Don't define assert with magic member without DEBUGDylan Baker1-0/+8
2017-09-06util/ralloc: set prev-pointers correctly in ralloc_adoptNicolai Hähnle1-1/+3
2017-08-11util/ralloc: add ralloc_str_append() helperTimothy Arceri1-0/+19
2017-05-25util: remove unneeded Android ifdef from ralloc.cRob Herring1-5/+0
2017-05-22ralloc: Use strnlen() inside of strncat()Vladislav Egorov1-6/+1
2017-03-06ralloc: don't leave out the alignment factorGrazvydas Ignotas1-1/+3
2017-03-02ralloc: Make sure ralloc() allocations match malloc()'s alignment.Jonas Pfeil1-1/+12
2017-02-27ralloc: Delete autofree handling.Kenneth Graunke1-18/+0
2016-10-31ralloc: add a linear allocator as a child node of rallocMarek Olšák1-0/+353
2016-10-31ralloc: remove memset from ralloc_sizeMarek Olšák1-15/+11
2016-10-31ralloc: don't memset ralloc_header, clear it manuallyMarek Olšák1-1/+15
2016-05-10util/ralloc: Remove double zero'ing of rzalloc buffersJordan Justen1-9/+12
2015-12-18ralloc: Fix ralloc_adopt() to the old context's last child's parent.Kenneth Graunke1-0/+1
2015-11-12ralloc: Set *start in ralloc_vasprintf_rewrite_tail() if str is NULL.Matt Turner1-0/+1
2015-09-30util: use strnlen() in strndup() implementationsSamuel Iglesias Gonsalvez1-4/+1
2015-04-02ralloc: Implement a new ralloc_adopt() API.Kenneth Graunke1-0/+26
2014-08-04util: Move ralloc to a new src/util directory.Kenneth Graunke1-0/+492