PostgreSQL Source Code  git master
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 29 of file freelist.c.

Field Documentation

◆ bgwprocno

int BufferStrategyControl::bgwprocno

Definition at line 60 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 53 of file freelist.c.

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

◆ firstFreeBuffer

int BufferStrategyControl::firstFreeBuffer

◆ lastFreeBuffer

int BufferStrategyControl::lastFreeBuffer

Definition at line 42 of file freelist.c.

Referenced by StrategyFreeBuffer(), and StrategyInitialize().

◆ nextVictimBuffer

pg_atomic_uint32 BufferStrategyControl::nextVictimBuffer

Definition at line 39 of file freelist.c.

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

◆ numBufferAllocs

pg_atomic_uint32 BufferStrategyControl::numBufferAllocs

Definition at line 54 of file freelist.c.

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


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