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, chunk, elog, GetMemoryChunkContext(), MemoryChunkGetBlock(), MemoryChunkIsExternal(), name, pfree(), PointerGetMemoryChunk, VALGRIND_MAKE_MEM_DEFINED, and WARNING.
MemoryContext AlignedAllocGetChunkContext | ( | void * | pointer | ) |
Definition at line 121 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 143 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 60 of file alignedalloc.c.
References Assert, GetMemoryChunkContext(), GetMemoryChunkSpace(), likely, MemoryChunkGetBlock(), MemoryChunkGetValue(), MemoryContextAllocAligned(), Min, PallocAlignedExtraBytes, pfree(), PointerGetMemoryChunk, size, and VALGRIND_MAKE_MEM_DEFINED.