|
PostgreSQL Source Code git master
|
#include "postgres.h"#include "storage/aio.h"#include "storage/buf_internals.h"#include "storage/bufmgr.h"#include "storage/proclist.h"
Go to the source code of this file.
Functions | |
| void | BufferManagerShmemInit (void) |
| Size | BufferManagerShmemSize (void) |
Variables | |
| BufferDescPadded * | BufferDescriptors |
| char * | BufferBlocks |
| ConditionVariableMinimallyPadded * | BufferIOCVArray |
| WritebackContext | BackendWritebackContext |
| CkptSortItem * | CkptBufferIds |
Definition at line 69 of file buf_init.c.
References Assert, backend_flush_after, BackendWritebackContext, buf, BufferBlocks, BufferDescriptorGetIOCV(), BufferDescriptors, BufferIOCVArray, CkptBufferIds, ClearBufferTag(), ConditionVariableInit(), fb(), GetBufferDescriptor(), i, INVALID_PROC_NUMBER, NBuffers, pg_atomic_init_u64(), PG_IO_ALIGN_SIZE, pgaio_wref_clear(), proclist_init(), ShmemInitStruct(), StrategyInitialize(), TYPEALIGN, and WritebackContextInit().
Referenced by CreateOrAttachShmemStructs().
Definition at line 152 of file buf_init.c.
References add_size(), fb(), mul_size(), NBuffers, PG_CACHE_LINE_SIZE, PG_IO_ALIGN_SIZE, and StrategyShmemSize().
Referenced by CalculateShmemSize().
| WritebackContext BackendWritebackContext |
Definition at line 25 of file buf_init.c.
Referenced by BufferManagerShmemInit(), and GetVictimBuffer().
| char* BufferBlocks |
Definition at line 23 of file buf_init.c.
Referenced by BufferGetBlock(), and BufferManagerShmemInit().
| BufferDescPadded* BufferDescriptors |
Definition at line 22 of file buf_init.c.
Referenced by BufferManagerShmemInit(), and GetBufferDescriptor().
| ConditionVariableMinimallyPadded* BufferIOCVArray |
Definition at line 24 of file buf_init.c.
Referenced by BufferDescriptorGetIOCV(), and BufferManagerShmemInit().
| CkptSortItem* CkptBufferIds |
Definition at line 26 of file buf_init.c.
Referenced by BufferManagerShmemInit(), and BufferSync().