76 elog(
FATAL,
"cannot request additional shared memory outside shmem_request_hook");
98 *num_semaphores = numSemas;
171AttachSharedMemoryStructs(
void)
364 size_mb =
add_size(size_b, (1024 * 1024) - 1) / (1024 * 1024);
377 hp_required =
add_size(size_b / hp_size, 1);
Size AsyncShmemSize(void)
void AsyncShmemInit(void)
Size AutoVacuumShmemSize(void)
void AutoVacuumShmemInit(void)
void BackendStatusShmemInit(void)
Size BackendStatusShmemSize(void)
void BackgroundWorkerShmemInit(void)
Size BackgroundWorkerShmemSize(void)
Size BufferManagerShmemSize(void)
void BufferManagerShmemInit(void)
#define Assert(condition)
void CheckpointerShmemInit(void)
Size CheckpointerShmemSize(void)
Size CommitTsShmemSize(void)
void CommitTsShmemInit(void)
size_t dsm_estimate_size(void)
void dsm_postmaster_startup(PGShmemHeader *shim)
void dsm_shmem_init(void)
void DSMRegistryShmemInit(void)
Size DSMRegistryShmemSize(void)
Size hash_estimate_size(long num_entries, Size entrysize)
void SetConfigOption(const char *name, const char *value, GucContext context, GucSource source)
const char * GetConfigOption(const char *name, bool missing_ok, bool restrict_privileged)
void InjectionPointShmemInit(void)
Size InjectionPointShmemSize(void)
void(* shmem_startup_hook_type)(void)
static Size total_addin_request
shmem_startup_hook_type shmem_startup_hook
void RequestAddinShmemSpace(Size size)
Size CalculateShmemSize(int *num_semaphores)
void InitializeShmemGUCs(void)
static void CreateOrAttachShmemStructs(void)
void CreateSharedMemoryAndSemaphores(void)
Size ApplyLauncherShmemSize(void)
void ApplyLauncherShmemInit(void)
Size LockManagerShmemSize(void)
void LockManagerShmemInit(void)
Size LWLockShmemSize(void)
bool process_shmem_requests_in_progress
void MultiXactShmemInit(void)
Size MultiXactShmemSize(void)
void BTreeShmemInit(void)
Size BTreeShmemSize(void)
Size ReplicationOriginShmemSize(void)
void ReplicationOriginShmemInit(void)
#define DEFAULT_SHARED_MEMORY_TYPE
Size PgArchShmemSize(void)
void PgArchShmemInit(void)
void StatsShmemInit(void)
Size StatsShmemSize(void)
Size PMSignalShmemSize(void)
void PMSignalShmemInit(void)
Size PGSemaphoreShmemSize(int maxSemas)
void PGReserveSemaphores(int maxSemas)
void InitializeFastPathLocks(void)
void PredicateLockShmemInit(void)
Size PredicateLockShmemSize(void)
Size ProcArrayShmemSize(void)
void ProcArrayShmemInit(void)
void ProcSignalShmemInit(void)
Size ProcSignalShmemSize(void)
void InitShmemIndex(void)
void InitShmemAccess(PGShmemHeader *seghdr)
Size add_size(Size s1, Size s2)
void InitShmemAllocation(void)
Size SharedInvalShmemSize(void)
void SharedInvalShmemInit(void)
static pg_noinline void Size size
void ReplicationSlotsShmemInit(void)
Size ReplicationSlotsShmemSize(void)
void SlotSyncShmemInit(void)
Size SlotSyncShmemSize(void)
Size ProcGlobalShmemSize(void)
int ProcGlobalSemas(void)
void InitProcGlobal(void)
void SUBTRANSShmemInit(void)
Size SUBTRANSShmemSize(void)
void SyncScanShmemInit(void)
Size SyncScanShmemSize(void)
PGShmemHeader * PGSharedMemoryCreate(Size size, PGShmemHeader **shim)
void GetHugePageSize(Size *hugepagesize, int *mmap_flags)
Size TwoPhaseShmemSize(void)
void TwoPhaseShmemInit(void)
Size VarsupShmemSize(void)
void VarsupShmemInit(void)
Size WaitEventCustomShmemSize(void)
void WaitEventCustomShmemInit(void)
void WalRcvShmemInit(void)
Size WalRcvShmemSize(void)
void WalSndShmemInit(void)
Size WalSndShmemSize(void)
Size WalSummarizerShmemSize(void)
void WalSummarizerShmemInit(void)
size_t XLogPrefetchShmemSize(void)
void XLogPrefetchShmemInit(void)
Size XLogRecoveryShmemSize(void)
void XLogRecoveryShmemInit(void)