Go to the source code of this file.
Definition at line 422 of file atomics.h.
References AssertPointerAlignment.
Referenced by apply_handle_stream_abort(), apply_handle_stream_start(), compute_parallel_delay(), parallel_vacuum_process_safe_indexes(), parallel_vacuum_process_unsafe_indexes(), tbm_prepare_shared_iterate(), and test_atomic_uint32().
Definition at line 557 of file atomics.h.
References AssertPointerAlignment.
Referenced by EmitProcSignalBarrier(), and test_atomic_uint64().
Definition at line 205 of file atomics.h.
Referenced by do_autovacuum(), FreeWorkerInfo(), and test_atomic_flag().
Definition at line 347 of file atomics.h.
References AssertPointerAlignment, newval, and pg_atomic_compare_exchange_u32_impl().
Referenced by ClockSweepTick(), LWLockAttemptLock(), LWLockWakeup(), MarkBufferDirty(), PinBuffer(), ProcArrayGroupClearXid(), test_atomic_uint32(), TransactionGroupUpdateXidStatus(), and UnpinBufferNoOwner().
Definition at line 510 of file atomics.h.
References AssertPointerAlignment, newval, and pg_atomic_compare_exchange_u64_impl().
Referenced by pg_atomic_monotonic_advance_u64(), and test_atomic_uint64().
Definition at line 328 of file atomics.h.
References AssertPointerAlignment, newval, and pg_atomic_exchange_u32_impl().
Referenced by pgarch_readyXlog(), ProcArrayGroupClearXid(), ProcessProcSignalBarrier(), StrategySyncStart(), test_atomic_uint32(), and TransactionGroupUpdateXidStatus().
Definition at line 501 of file atomics.h.
References AssertPointerAlignment, and newval.
Referenced by LWLockReleaseClearVar(), LWLockUpdateVar(), and test_atomic_uint64().
Definition at line 364 of file atomics.h.
References AssertPointerAlignment, and pg_atomic_fetch_add_u32_impl().
Referenced by ClockSweepTick(), ExecParallelHashJoinNewBatch(), find_or_make_matching_shared_tupledesc(), LWLockQueueSelf(), parallel_vacuum_process_safe_indexes(), pgstat_acquire_entry_ref(), pgstat_reinit_entry(), StrategyGetBuffer(), and test_atomic_uint32().
Definition at line 520 of file atomics.h.
References AssertPointerAlignment, and pg_atomic_fetch_add_u64_impl().
Referenced by GetFakeLSNForUnloggedRel(), pgstat_init_entry(), pgstat_request_entry_refs_gc(), table_block_parallelscan_nextpage(), and test_atomic_uint64().
Definition at line 394 of file atomics.h.
References AssertPointerAlignment.
Referenced by LWLockDequeueSelf(), LWLockWaitListUnlock(), and test_atomic_uint32().
Definition at line 539 of file atomics.h.
References AssertPointerAlignment.
Referenced by test_atomic_uint64().
Definition at line 408 of file atomics.h.
References AssertPointerAlignment.
Referenced by EmitProcSignalBarrier(), LockBufHdr(), LWLockAcquire(), LWLockDequeueSelf(), LWLockQueueSelf(), LWLockWaitForVar(), LWLockWaitListLock(), ResetProcSignalBarrierBits(), and test_atomic_uint32().
Definition at line 548 of file atomics.h.
References AssertPointerAlignment.
Referenced by test_atomic_uint64().
Definition at line 379 of file atomics.h.
References Assert(), and AssertPointerAlignment.
Referenced by LWLockAcquire(), LWLockAcquireOrWait(), LWLockDequeueSelf(), LWLockWaitForVar(), pgstat_release_entry_ref(), and test_atomic_uint32().
Definition at line 529 of file atomics.h.
References Assert(), AssertPointerAlignment, and PG_INT64_MIN.
Referenced by test_atomic_uint64().
Definition at line 168 of file atomics.h.
Referenced by AutoVacuumShmemInit(), and test_atomic_flag().
Definition at line 219 of file atomics.h.
References AssertPointerAlignment, pg_atomic_init_u32_impl(), and val.
Referenced by AutoVacuumShmemInit(), BufferManagerShmemInit(), ExecHashJoinInitializeDSM(), InitProcGlobal(), InjectionPointShmemInit(), LWLockInitialize(), pa_setup_dsm(), parallel_vacuum_init(), PgArchShmemInit(), pgstat_init_entry(), ProcSignalShmemInit(), SharedRecordTypmodRegistryInit(), StrategyInitialize(), tbm_prepare_shared_iterate(), and test_atomic_uint32().
Definition at line 451 of file atomics.h.
References AssertPointerAlignment, pg_atomic_init_u64_impl(), and val.
Referenced by InitProcGlobal(), InjectionPointShmemInit(), MarkAsPreparingGuts(), ProcSignalShmemInit(), shm_mq_create(), SimpleLruInit(), StatsShmemInit(), table_block_parallelscan_initialize(), test_atomic_uint64(), WalRcvShmemInit(), XLogPrefetchShmemInit(), and XLOGShmemInit().
Definition at line 583 of file atomics.h.
References AssertPointerAlignment, pg_atomic_compare_exchange_u64(), pg_atomic_read_u64_impl(), and pg_memory_barrier.
Referenced by WaitXLogInsertionsToFinish().
Definition at line 256 of file atomics.h.
References AssertPointerAlignment.
Definition at line 474 of file atomics.h.
References AssertPointerAlignment.
Referenced by CreateCheckPoint(), and WaitXLogInsertionsToFinish().
Definition at line 237 of file atomics.h.
References AssertPointerAlignment, and pg_atomic_read_u32_impl().
Referenced by autovac_recalculate_workers_for_balance(), AutoVacuumUpdateCostLimit(), buffer_readv_complete_one(), buffer_stage_common(), BufferIsDirty(), BufferIsPermanent(), BufferSync(), CheckReadBuffersOperation(), CleanupProcSignalState(), compute_parallel_delay(), create_toy_buffer(), DebugPrintBufferRefcount(), DropRelationAllLocalBuffers(), DropRelationLocalBuffers(), EmitProcSignalBarrier(), EvictAllUnpinnedBuffers(), EvictRelUnpinnedBuffers(), EvictUnpinnedBufferInternal(), ExtendBufferedRelLocal(), FlushRelationBuffers(), GetLocalVictimBuffer(), GetVictimBuffer(), InitProcess(), InjectionPointAttach(), InjectionPointDetach(), InjectionPointList(), invalidate_rel_block(), InvalidateBuffer(), InvalidateLocalBuffer(), InvalidateVictimBuffer(), LocalBufferAlloc(), LWLockAttemptLock(), LWLockConflictsWithVar(), LWLockDequeueSelf(), LWLockUpdateVar(), LWLockWaitListLock(), LWLockWakeup(), MarkBufferDirty(), MarkBufferDirtyHint(), MarkLocalBufferDirty(), pa_decr_and_wait_stream_block(), parallel_vacuum_process_all_indexes(), pg_buffercache_summary(), pgstat_acquire_entry_ref(), pgstat_build_snapshot(), pgstat_drop_entry_internal(), pgstat_gc_entry_refs(), pgstat_get_entry_ref_cached(), pgstat_release_entry_ref(), pgstat_write_statsfile(), PinBuffer(), PinBuffer_Locked(), PinLocalBuffer(), ProcArrayGroupClearXid(), ProcSignalInit(), ReadRecentBuffer(), SendCancelRequest(), SendProcSignal(), StartLocalBufferIO(), StartReadBuffersImpl(), StrategySyncStart(), TerminateLocalBufferIO(), test_atomic_uint32(), TransactionGroupUpdateXidStatus(), UnpinBufferNoOwner(), UnpinLocalBufferNoOwner(), WaitBufHdrUnlocked(), and WaitForProcSignalBarrier().
Definition at line 465 of file atomics.h.
References AssertPointerAlignment, and pg_atomic_read_u64_impl().
Referenced by AdvanceXLInsertBuffer(), GetLockStatusData(), GetWalRcvWriteRecPtr(), GetXLogBuffer(), InjectionPointAttach(), InjectionPointDetach(), InjectionPointList(), LWLockConflictsWithVar(), pg_stat_get_recovery_prefetch(), pg_stat_get_wal_receiver(), pgstat_gc_entry_refs(), pgstat_get_entry_count(), pgstat_need_entry_refs_gc(), pgstat_setup_shared_refs(), ProcessProcSignalBarrier(), ProcSignalInit(), ResolveRecoveryConflictWithLock(), shm_mq_inc_bytes_read(), shm_mq_inc_bytes_written(), shm_mq_receive_bytes(), shm_mq_send_bytes(), SimpleLruTruncate(), SlruSelectLRUPage(), test_atomic_uint64(), WaitForProcSignalBarrier(), WALReadFromBuffers(), XLogPrefetchIncrement(), and XLogWrite().
Definition at line 437 of file atomics.h.
References Assert(), and AssertPointerAlignment.
Referenced by compute_parallel_delay(), LWLockReleaseInternal(), pa_decr_and_wait_stream_block(), parallel_vacuum_process_safe_indexes(), parallel_vacuum_process_unsafe_indexes(), pgstat_drop_entry_internal(), tbm_free_shared_area(), and test_atomic_uint32().
Definition at line 566 of file atomics.h.
References Assert(), AssertPointerAlignment, and PG_INT64_MIN.
Referenced by pgstat_free_entry(), and test_atomic_uint64().
Definition at line 181 of file atomics.h.
Referenced by do_autovacuum(), and test_atomic_flag().
Definition at line 194 of file atomics.h.
Referenced by autovac_recalculate_workers_for_balance(), AutoVacuumUpdateCostLimit(), test_atomic_flag(), and VacuumUpdateCosts().
Definition at line 293 of file atomics.h.
References AssertPointerAlignment, pg_atomic_unlocked_write_u32_impl(), and val.
Referenced by buffer_stage_common(), create_toy_buffer(), ExtendBufferedRelLocal(), GetLocalVictimBuffer(), InvalidateLocalBuffer(), LocalBufferAlloc(), MarkLocalBufferDirty(), PinLocalBuffer(), TerminateLocalBufferIO(), and UnpinLocalBufferNoOwner().
Definition at line 313 of file atomics.h.
References AssertPointerAlignment, and val.
Referenced by PgArchForceDirScan().
Definition at line 492 of file atomics.h.
References AssertPointerAlignment, and val.
Referenced by StartupXLOG().
Definition at line 274 of file atomics.h.
References AssertPointerAlignment, pg_atomic_write_u32_impl(), and val.
Referenced by autovac_recalculate_workers_for_balance(), CleanupProcSignalState(), InjectionPointAttach(), InjectionPointDetach(), parallel_vacuum_process_all_indexes(), ProcArrayGroupClearXid(), ProcSignalInit(), test_atomic_uint32(), TransactionGroupUpdateXidStatus(), and UnlockBufHdr().
Definition at line 483 of file atomics.h.
References AssertPointerAlignment, pg_atomic_write_u64_impl(), and val.
Referenced by ActivateCommitTs(), AdvanceXLInsertBuffer(), CleanupProcSignalState(), commit_ts_redo(), InitAuxiliaryProcess(), InitProcess(), InjectionPointAttach(), InjectionPointDetach(), multixact_redo(), ProcessProcSignalBarrier(), ProcSignalInit(), ProcSleep(), ProcWakeup(), ResolveRecoveryConflictWithLock(), shm_mq_inc_bytes_read(), shm_mq_inc_bytes_written(), SimpleLruZeroPage(), StartupCLOG(), StartupMultiXact(), StartupXLOG(), table_block_parallelscan_reinitialize(), test_atomic_uint64(), TrimMultiXact(), WalReceiverMain(), XLogPrefetchIncrement(), XLogPrefetchResetStats(), XLogWalRcvWrite(), and XLogWrite().