|
PostgreSQL Source Code git master
|
#include <memnodes.h>
Data Fields | |
| void *(* | alloc )(MemoryContext context, Size size, int flags) |
| void(* | free_p )(void *pointer) |
| void *(* | realloc )(void *pointer, Size size, int flags) |
| void(* | reset )(MemoryContext context) |
| void(* | delete_context )(MemoryContext context) |
| MemoryContext(* | get_chunk_context )(void *pointer) |
| Size(* | get_chunk_space )(void *pointer) |
| bool(* | is_empty )(MemoryContext context) |
| void(* | stats )(MemoryContext context, MemoryStatsPrintFunc printfunc, void *passthru, MemoryContextCounters *totals, bool print_to_stderr) |
Definition at line 58 of file memnodes.h.
| void *(* MemoryContextMethods::alloc) (MemoryContext context, Size size, int flags) |
Definition at line 66 of file memnodes.h.
Referenced by MemoryContextAlloc(), MemoryContextAllocExtended(), MemoryContextAllocHuge(), MemoryContextAllocZero(), palloc(), palloc0(), and palloc_extended().
| void(* MemoryContextMethods::delete_context) (MemoryContext context) |
Definition at line 86 of file memnodes.h.
Referenced by MemoryContextDeleteOnly().
| void(* MemoryContextMethods::free_p) (void *pointer) |
Definition at line 69 of file memnodes.h.
| MemoryContext(* MemoryContextMethods::get_chunk_context) (void *pointer) |
Definition at line 89 of file memnodes.h.
| Size(* MemoryContextMethods::get_chunk_space) (void *pointer) |
Definition at line 95 of file memnodes.h.
| bool(* MemoryContextMethods::is_empty) (MemoryContext context) |
Definition at line 101 of file memnodes.h.
Referenced by MemoryContextIsEmpty().
| void *(* MemoryContextMethods::realloc) (void *pointer, Size size, int flags) |
Definition at line 76 of file memnodes.h.
| void(* MemoryContextMethods::reset) (MemoryContext context) |
Definition at line 83 of file memnodes.h.
Referenced by MemoryContextResetOnly().
| void(* MemoryContextMethods::stats) (MemoryContext context, MemoryStatsPrintFunc printfunc, void *passthru, MemoryContextCounters *totals, bool print_to_stderr) |
Definition at line 102 of file memnodes.h.
Referenced by MemoryContextMemConsumed(), MemoryContextStatsInternal(), and PutMemoryContextsStatsTupleStore().