PostgreSQL Source Code
git master
|
#include <buf_internals.h>
Data Fields | |
BufferTag | tag |
int | buf_id |
pg_atomic_uint32 | state |
int | wait_backend_pgprocno |
int | freeNext |
LWLock | content_lock |
Definition at line 243 of file buf_internals.h.
int BufferDesc::buf_id |
Definition at line 246 of file buf_internals.h.
Referenced by BufferAlloc(), BufferDescriptorGetBuffer(), BufferDescriptorGetIOCV(), and ExtendBufferedRelShared().
LWLock BufferDesc::content_lock |
Definition at line 253 of file buf_internals.h.
Referenced by BufferDescriptorGetContentLock().
int BufferDesc::freeNext |
Definition at line 252 of file buf_internals.h.
Referenced by BufferManagerShmemInit().
pg_atomic_uint32 BufferDesc::state |
Definition at line 249 of file buf_internals.h.
Referenced by BufferIsDirty(), BufferIsPermanent(), BufferSync(), DropRelationAllLocalBuffers(), DropRelationLocalBuffers(), ExtendBufferedRelLocal(), FlushRelationBuffers(), GetLocalVictimBuffer(), GetVictimBuffer(), InvalidateVictimBuffer(), LocalBufferAlloc(), LockBufHdr(), MarkBufferDirty(), MarkBufferDirtyHint(), MarkLocalBufferDirty(), pg_buffercache_summary(), PinLocalBuffer(), ReadRecentBuffer(), UnlockBufHdr(), WaitReadBuffers(), WaitReadBuffersCanStartIO(), and ZeroAndLockBuffer().
BufferTag BufferDesc::tag |
Definition at line 245 of file buf_internals.h.
Referenced by AbortBufferIO(), apw_dump_now(), BufferAlloc(), BufferGetBlockNumber(), BufferGetTag(), BufferSync(), DropDatabaseBuffers(), DropRelationAllLocalBuffers(), DropRelationBuffers(), DropRelationLocalBuffers(), DropRelationsAllBuffers(), ExtendBufferedRelLocal(), ExtendBufferedRelShared(), FindAndDropRelationBuffers(), FlushDatabaseBuffers(), FlushRelationBuffers(), FlushRelationsAllBuffers(), GetLocalVictimBuffer(), GetVictimBuffer(), InvalidateVictimBuffer(), local_buffer_write_error_callback(), LocalBufferAlloc(), MarkBufferDirtyHint(), pg_buffercache_pages(), ReadRecentBuffer(), ReleaseAndReadBuffer(), shared_buffer_write_error_callback(), and SyncOneBuffer().
int BufferDesc::wait_backend_pgprocno |
Definition at line 251 of file buf_internals.h.
Referenced by LockBufferForCleanup().