PostgreSQL Source Code  git master
BufferAccessStrategyData Struct Reference

Data Fields

BufferAccessStrategyType btype
 
int ring_size
 
int current
 
bool current_was_in_ring
 
Buffer buffers [FLEXIBLE_ARRAY_MEMBER]
 

Detailed Description

Definition at line 71 of file freelist.c.

Field Documentation

◆ btype

BufferAccessStrategyType BufferAccessStrategyData::btype

Definition at line 74 of file freelist.c.

Referenced by GetAccessStrategy(), and StrategyRejectBuffer().

◆ buffers

Buffer BufferAccessStrategyData::buffers[FLEXIBLE_ARRAY_MEMBER]

◆ current

int BufferAccessStrategyData::current

Definition at line 82 of file freelist.c.

Referenced by AddBufferToRing(), GetBufferFromRing(), and StrategyRejectBuffer().

◆ current_was_in_ring

bool BufferAccessStrategyData::current_was_in_ring

Definition at line 88 of file freelist.c.

Referenced by GetBufferFromRing(), and StrategyRejectBuffer().

◆ ring_size

int BufferAccessStrategyData::ring_size

Definition at line 76 of file freelist.c.

Referenced by GetAccessStrategy(), and GetBufferFromRing().


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