PostgreSQL Source Code git master
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
SlabContext Struct Reference

Data Fields

MemoryContextData header
 
uint32 chunkSize
 
uint32 fullChunkSize
 
uint32 blockSize
 
int32 chunksPerBlock
 
int32 curBlocklistIndex
 
int32 blocklist_shift
 
dclist_head emptyblocks
 
dlist_head blocklist [SLAB_BLOCKLIST_COUNT]
 

Detailed Description

Definition at line 103 of file slab.c.

Field Documentation

◆ blocklist

◆ blocklist_shift

int32 SlabContext::blocklist_shift

Definition at line 118 of file slab.c.

Referenced by SlabBlocklistIndex(), and SlabContextCreate().

◆ blockSize

uint32 SlabContext::blockSize

Definition at line 109 of file slab.c.

Referenced by SlabAllocFromNewBlock(), SlabContextCreate(), SlabFree(), SlabReset(), and SlabStats().

◆ chunkSize

uint32 SlabContext::chunkSize

◆ chunksPerBlock

int32 SlabContext::chunksPerBlock

◆ curBlocklistIndex

int32 SlabContext::curBlocklistIndex

Definition at line 111 of file slab.c.

Referenced by SlabAlloc(), SlabAllocFromNewBlock(), SlabContextCreate(), SlabFree(), and SlabReset().

◆ emptyblocks

dclist_head SlabContext::emptyblocks

Definition at line 120 of file slab.c.

Referenced by SlabAllocFromNewBlock(), SlabContextCreate(), SlabFree(), SlabReset(), and SlabStats().

◆ fullChunkSize

uint32 SlabContext::fullChunkSize

◆ header

MemoryContextData SlabContext::header

Definition at line 105 of file slab.c.

Referenced by SlabFree(), and SlabGetChunkContext().


The documentation for this struct was generated from the following file: