#include <buf_internals.h>
Data Fields | |
BufferTag | tag |
BufFlags | flags |
uint16 | usage_count |
unsigned | refcount |
int | wait_backend_pid |
slock_t | buf_hdr_lock |
int | buf_id |
int | freeNext |
LWLockId | io_in_progress_lock |
LWLockId | content_lock |
Definition at line 134 of file buf_internals.h.
Definition at line 142 of file buf_internals.h.
Referenced by InitBufferPool().
int sbufdesc::buf_id |
Definition at line 144 of file buf_internals.h.
Referenced by BufferAlloc(), InitBufferPool(), InitLocalBuffers(), InvalidateBuffer(), PinBuffer(), PinBuffer_Locked(), StrategyFreeBuffer(), and UnpinBuffer().
Definition at line 148 of file buf_internals.h.
Referenced by BufferAlloc(), ConditionalLockBuffer(), FlushDatabaseBuffers(), FlushRelationBuffers(), InitBufferPool(), LockBuffer(), MarkBufferDirty(), MarkBufferDirtyHint(), SyncOneBuffer(), and UnpinBuffer().
Definition at line 137 of file buf_internals.h.
Referenced by AbortBufferIO(), BufferAlloc(), BufferIsPermanent(), BufferSync(), DropRelFileNodeAllLocalBuffers(), DropRelFileNodeLocalBuffers(), FlushBuffer(), FlushDatabaseBuffers(), FlushRelationBuffers(), InitBufferPool(), InvalidateBuffer(), LocalBufferAlloc(), LockBufferForCleanup(), MarkBufferDirty(), MarkBufferDirtyHint(), MarkLocalBufferDirty(), pg_buffercache_pages(), PinBuffer(), PrintBufferLeakWarning(), ReadBuffer_common(), StartBufferIO(), SyncOneBuffer(), TerminateBufferIO(), UnlockBuffers(), UnpinBuffer(), and WaitIO().
Definition at line 145 of file buf_internals.h.
Referenced by InitBufferPool(), StrategyFreeBuffer(), and StrategyGetBuffer().
Definition at line 147 of file buf_internals.h.
Referenced by AbortBufferIO(), InitBufferPool(), StartBufferIO(), TerminateBufferIO(), UnpinBuffer(), and WaitIO().
unsigned sbufdesc::refcount |
Definition at line 139 of file buf_internals.h.
Referenced by BufferAlloc(), ConditionalLockBufferForCleanup(), GetBufferFromRing(), InitBufferPool(), InvalidateBuffer(), LockBufferForCleanup(), MarkBufferDirty(), MarkBufferDirtyHint(), PinBuffer(), PinBuffer_Locked(), PrintBufferLeakWarning(), StrategyGetBuffer(), SyncOneBuffer(), and UnpinBuffer().
Definition at line 136 of file buf_internals.h.
Referenced by AbortBufferIO(), BufferAlloc(), BufferGetBlockNumber(), BufferGetTag(), DropDatabaseBuffers(), DropRelFileNodeAllLocalBuffers(), DropRelFileNodeBuffers(), DropRelFileNodeLocalBuffers(), DropRelFileNodesAllBuffers(), FlushBuffer(), FlushDatabaseBuffers(), FlushRelationBuffers(), InitBufferPool(), InvalidateBuffer(), local_buffer_write_error_callback(), LocalBufferAlloc(), pg_buffercache_pages(), PrintBufferLeakWarning(), ReleaseAndReadBuffer(), and shared_buffer_write_error_callback().
Definition at line 138 of file buf_internals.h.
Referenced by BufferAlloc(), DropRelFileNodeAllLocalBuffers(), DropRelFileNodeLocalBuffers(), GetBufferFromRing(), InitBufferPool(), InvalidateBuffer(), LocalBufferAlloc(), pg_buffercache_pages(), PinBuffer(), StrategyGetBuffer(), and SyncOneBuffer().
Definition at line 140 of file buf_internals.h.
Referenced by InitBufferPool(), LockBufferForCleanup(), UnlockBuffers(), and UnpinBuffer().