summaryrefslogtreecommitdiff
path: root/lib/talloc/talloc.c
AgeCommit message (Expand)AuthorFilesLines
2013-09-08talloc: Add a separate pool sizeVolker Lendecke1-12/+23
2013-09-08talloc: Put pool-specific data before the chunkVolker Lendecke1-79/+125
2013-09-08talloc: Introduce __talloc_with_prefixVolker Lendecke1-10/+22
2013-09-08talloc: Decouple the dual use of chunk->poolVolker Lendecke1-25/+23
2013-08-28Fix valgrind errors with memmove and talloc pools.Jeremy Allison1-0/+21
2013-08-27Remove talloc_memlimit_update(). No longer used.Jeremy Allison1-24/+0
2013-08-27Inside _talloc_realloc(), keep track of size changes over malloc/realloc/free.Jeremy Allison1-4/+15
2013-08-27Don't call talloc_memlimit_update() inside _talloc_realloc() when we're just ...Jeremy Allison1-15/+0
2013-08-27Fix a conditional check. (size - tc->size > 0) is always true if size and tc-...Jeremy Allison1-1/+1
2013-08-27In _talloc_steal_internal(), correctly decrement the memory limit in the sour...Jeremy Allison1-12/+5
2013-08-27Inside _talloc_free_internal(), always call talloc_memlimit_update_on_free() ...Jeremy Allison1-23/+4
2013-08-27Update memory limits when we call free() on a pool.Jeremy Allison1-0/+2
2013-08-27Change __talloc() to only call talloc_memlimit_check()/talloc_memlimit_grow()...Jeremy Allison1-12/+9
2013-08-27Change _talloc_total_mem_internal() to ignore memory allocated from a pool wh...Jeremy Allison1-1/+8
2013-08-27Remove magic TC_HDR_SIZE handling inside talloc_memlimit_check().Jeremy Allison1-1/+1
2013-08-27Start to fix talloc memlimits with talloc pools.Jeremy Allison1-0/+72
2013-05-20talloc: Fix a typoVolker Lendecke1-1/+1
2013-04-18talloc: Simplify _talloc_free_poolmem a bitVolker Lendecke1-2/+14
2013-04-18talloc: Do an early returnVolker Lendecke1-3/+6
2013-04-18talloc: Avoid some "else" by doing early returnsVolker Lendecke1-4/+8
2013-04-18talloc: Fix nonblank line endingsVolker Lendecke1-34/+34
2012-10-05talloc: Convert error cecking macros into fnsSimo Sorce1-37/+74
2012-10-05Add memory limiting capability to tallocSimo Sorce1-39/+238
2012-07-18talloc: don't allow a talloc_pool inside a talloc_pool.Rusty Russell1-0/+7
2012-07-18talloc: use a struct for pool headers.Rusty Russell1-105/+89
2012-04-24talloc: Fix copy&paste errorsVolker Lendecke1-2/+2
2012-01-02talloc: Slightly simplify talloc_unlinkVolker Lendecke1-8/+7
2012-01-02talloc: Fix a typoVolker Lendecke1-3/+3
2011-10-26talloc: fix a comment typoMichael Adam1-1/+1
2011-09-07talloc: Remove an unused variableVolker Lendecke1-1/+0
2011-08-09talloc: ensure the sibling linked list remains valid during a freeAndrew Tridgell1-15/+3
2011-07-29talloc: preserve context name on talloc_free_children()Simo Sorce1-0/+23
2011-05-17talloc: splitout _talloc_free_children_internal()Stefan Metzmacher1-50/+27
2011-05-17talloc: fixed a use after free error in talloc_free_children()Stefan Metzmacher1-1/+16
2011-05-17talloc: use _talloc_free_internal() in talloc_free_children()Stefan Metzmacher1-1/+1
2011-05-17talloc: setup the new 'tc' before TC_UNDEFINE_GROW_CHUNK() _talloc_realloc()Stefan Metzmacher1-0/+1
2011-05-17talloc: make really sure only optimize realloc if there's only one pool chunkStefan Metzmacher1-1/+6
2011-05-17talloc: make use of _talloc_free_poolmem() in _talloc_realloc()Stefan Metzmacher1-15/+1
2011-05-17talloc: split the handling of FLAG_POOL/FLAG_POOLMEM in _talloc_free_internalStefan Metzmacher1-32/+66
2011-05-02talloc: use TC_UNDEFINE_SHRINK_CHUNK() instead of TC_INVALIDATE_SHRINK_CHUNK(...Stefan Metzmacher1-1/+36
2011-04-13talloc: fix compiler warnings with -Wc++-compatStefan Metzmacher1-5/+5
2011-04-08talloc: include valgrind headers if availableStefan Metzmacher1-0/+9
2011-04-08talloc: add TC_INVALIDATE_POOL marcoStefan Metzmacher1-3/+38
2011-04-08talloc: add TC_UNDEFINE_GROW_CHUNK() marcoStefan Metzmacher1-0/+21
2011-04-08talloc: add TC_INVALIDATE_SHRINK_CHUNK() marcoStefan Metzmacher1-0/+28
2011-04-08talloc: add TC_INVALIDATE_FULL_CHUNK() macroStefan Metzmacher1-12/+36
2011-04-08talloc: use VALGRIND_MAKE_MEM_UNDEFINED() before memmove()Stefan Metzmacher1-0/+12
2011-04-08talloc: optimize talloc_free() and talloc_realloc() for talloc poolsStefan Metzmacher1-22/+138
2011-04-08talloc: add TC_POOL_FIRST_CHUNK() macroStefan Metzmacher1-2/+5
2011-04-08talloc: add TC_POOL_SPACE_LEFT() macroStefan Metzmacher1-2/+5