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

Data Fields

slock_t buffer_strategy_lock
 
pg_atomic_uint32 nextVictimBuffer
 
int firstFreeBuffer
 
int lastFreeBuffer
 
uint32 completePasses
 
pg_atomic_uint32 numBufferAllocs
 
int bgwprocno
 

Detailed Description

Definition at line 30 of file freelist.c.

Field Documentation

◆ bgwprocno

int BufferStrategyControl::bgwprocno

Definition at line 61 of file freelist.c.

Referenced by StrategyGetBuffer(), StrategyInitialize(), and StrategyNotifyBgWriter().

◆ buffer_strategy_lock

slock_t BufferStrategyControl::buffer_strategy_lock

◆ completePasses

uint32 BufferStrategyControl::completePasses

Definition at line 54 of file freelist.c.

Referenced by ClockSweepTick(), StrategyInitialize(), and StrategySyncStart().

◆ firstFreeBuffer

int BufferStrategyControl::firstFreeBuffer

◆ lastFreeBuffer

int BufferStrategyControl::lastFreeBuffer

Definition at line 43 of file freelist.c.

Referenced by StrategyFreeBuffer(), and StrategyInitialize().

◆ nextVictimBuffer

pg_atomic_uint32 BufferStrategyControl::nextVictimBuffer

Definition at line 40 of file freelist.c.

Referenced by ClockSweepTick(), StrategyInitialize(), and StrategySyncStart().

◆ numBufferAllocs

pg_atomic_uint32 BufferStrategyControl::numBufferAllocs

Definition at line 55 of file freelist.c.

Referenced by StrategyGetBuffer(), StrategyInitialize(), and StrategySyncStart().


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