|
PostgreSQL Source Code git master
|

Go to the source code of this file.
Functions | |
| void | AlignedAllocFree (void *pointer) |
| void * | AlignedAllocRealloc (void *pointer, Size size, int flags) |
| MemoryContext | AlignedAllocGetChunkContext (void *pointer) |
| Size | AlignedAllocGetChunkSpace (void *pointer) |
| void AlignedAllocFree | ( | void * | pointer | ) |
Definition at line 29 of file alignedalloc.c.
References Assert(), elog, GetMemoryChunkContext(), MemoryChunkGetBlock(), MemoryChunkIsExternal(), name, pfree(), PointerGetMemoryChunk, VALGRIND_MAKE_MEM_DEFINED, VALGRIND_MEMPOOL_ALLOC, and WARNING.
| MemoryContext AlignedAllocGetChunkContext | ( | void * | pointer | ) |
Definition at line 154 of file alignedalloc.c.
References Assert(), GetMemoryChunkContext(), MemoryChunkGetBlock(), MemoryChunkIsExternal(), PointerGetMemoryChunk, VALGRIND_MAKE_MEM_DEFINED, and VALGRIND_MAKE_MEM_NOACCESS.
| Size AlignedAllocGetChunkSpace | ( | void * | pointer | ) |
Definition at line 176 of file alignedalloc.c.
References GetMemoryChunkSpace(), MemoryChunkGetBlock(), PointerGetMemoryChunk, VALGRIND_MAKE_MEM_DEFINED, and VALGRIND_MAKE_MEM_NOACCESS.
| void * AlignedAllocRealloc | ( | void * | pointer, |
| Size | size, | ||
| int | flags | ||
| ) |
Definition at line 70 of file alignedalloc.c.
References Assert(), GetMemoryChunkContext(), GetMemoryChunkSpace(), MemoryChunkGetBlock(), MemoryChunkGetValue(), MemoryContextAllocAligned(), MemoryContextAllocationFailure(), Min, PallocAlignedExtraBytes, pfree(), PointerGetMemoryChunk, unlikely, VALGRIND_MAKE_MEM_DEFINED, VALGRIND_MAKE_MEM_NOACCESS, and VALGRIND_MEMPOOL_ALLOC.