Lines Matching defs:ralloc
25 * \file ralloc.h
27 * ralloc: a recursive memory allocator
29 * The ralloc memory allocator creates a hierarchy of allocated
37 * The conceptual working of ralloc was directly inspired by Andrew
38 * Tridgell's talloc, but ralloc is an independent implementation
43 * more sophisticated than ralloc in that it includes reference
60 * \def ralloc(ctx, type)
68 #define ralloc(ctx, type) ((type *) ralloc_size(ctx, sizeof(type)))
82 * Allocate a new ralloc context.
84 * While any ralloc'd pointer can be used as a context, sometimes it is useful
111 * Resize a piece of ralloc-managed memory, preserving data.
114 * memory. Instead, it resizes it to a 0-byte ralloc context, just like
162 * Resize a ralloc-managed array, preserving data.
165 * memory. Instead, it resizes it to a 0-byte ralloc context, just like
201 * Resize a ralloc-managed array, preserving data.
204 * memory. Instead, it resizes it to a 0-byte ralloc context, just like
223 * Free a piece of ralloc-managed memory.
238 * Return the given pointer's ralloc context.