PostgreSQL Source Code  git master
SlabBlock Struct Reference

Data Fields

SlabContextslab
 
int32 nfree
 
int32 nunused
 
MemoryChunkfreehead
 
MemoryChunkunused
 
dlist_node node
 

Detailed Description

Definition at line 146 of file slab.c.

Field Documentation

◆ freehead

MemoryChunk* SlabBlock::freehead

Definition at line 151 of file slab.c.

Referenced by SlabAllocFromNewBlock(), SlabFree(), and SlabGetNextFreeChunk().

◆ nfree

int32 SlabBlock::nfree

Definition at line 149 of file slab.c.

Referenced by SlabAlloc(), SlabAllocFromNewBlock(), SlabFree(), SlabGetNextFreeChunk(), and SlabStats().

◆ node

dlist_node SlabBlock::node

Definition at line 153 of file slab.c.

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

◆ nunused

int32 SlabBlock::nunused

Definition at line 150 of file slab.c.

Referenced by SlabAllocFromNewBlock(), and SlabGetNextFreeChunk().

◆ slab

SlabContext* SlabBlock::slab

◆ unused

MemoryChunk* SlabBlock::unused

Definition at line 152 of file slab.c.

Referenced by SlabAllocFromNewBlock(), and SlabGetNextFreeChunk().


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