PostgreSQL Source Code
git master
|
#include <slru.h>
Data Fields | |
int | num_slots |
char ** | page_buffer |
SlruPageStatus * | page_status |
bool * | page_dirty |
int64 * | page_number |
int * | page_lru_count |
LWLockPadded * | buffer_locks |
LWLockPadded * | bank_locks |
int * | bank_cur_lru_count |
XLogRecPtr * | group_lsn |
int | lsn_groups_per_page |
pg_atomic_uint64 | latest_page_number |
int | slru_stats_idx |
int* SlruSharedData::bank_cur_lru_count |
Definition at line 97 of file slru.h.
Referenced by SimpleLruInit(), SlruRecentlyUsed(), and SlruSelectLRUPage().
LWLockPadded* SlruSharedData::bank_locks |
Definition at line 80 of file slru.h.
Referenced by SimpleLruInit(), SimpleLruTruncate(), SimpleLruWaitIO(), SimpleLruWriteAll(), SlruDeleteSegment(), and SlruInternalWritePage().
LWLockPadded* SlruSharedData::buffer_locks |
Definition at line 77 of file slru.h.
Referenced by SimpleLruInit(), SimpleLruReadPage(), SimpleLruWaitIO(), and SlruInternalWritePage().
XLogRecPtr* SlruSharedData::group_lsn |
Definition at line 107 of file slru.h.
Referenced by SimpleLruInit(), SimpleLruZeroLSNs(), and SlruPhysicalWritePage().
pg_atomic_uint64 SlruSharedData::latest_page_number |
Definition at line 115 of file slru.h.
Referenced by SimpleLruInit(), SimpleLruTruncate(), SimpleLruZeroPage(), and SlruSelectLRUPage().
int SlruSharedData::lsn_groups_per_page |
Definition at line 108 of file slru.h.
Referenced by SimpleLruInit(), SimpleLruZeroLSNs(), and SlruPhysicalWritePage().
int SlruSharedData::num_slots |
Definition at line 64 of file slru.h.
Referenced by SimpleLruInit(), SimpleLruTruncate(), SimpleLruWriteAll(), and SlruDeleteSegment().
char** SlruSharedData::page_buffer |
Definition at line 70 of file slru.h.
Referenced by SimpleLruInit(), SimpleLruZeroPage(), SlruPhysicalReadPage(), and SlruPhysicalWritePage().
bool* SlruSharedData::page_dirty |
Definition at line 72 of file slru.h.
Referenced by SimpleLruInit(), SimpleLruReadPage(), SimpleLruTruncate(), SimpleLruWaitIO(), SimpleLruWriteAll(), SimpleLruZeroPage(), SlruDeleteSegment(), SlruInternalWritePage(), and SlruSelectLRUPage().
int* SlruSharedData::page_lru_count |
Definition at line 74 of file slru.h.
Referenced by SimpleLruInit(), SlruRecentlyUsed(), and SlruSelectLRUPage().
int64* SlruSharedData::page_number |
Definition at line 73 of file slru.h.
Referenced by SimpleLruInit(), SimpleLruReadPage(), SimpleLruReadPage_ReadOnly(), SimpleLruTruncate(), SimpleLruZeroPage(), SlruDeleteSegment(), SlruInternalWritePage(), and SlruSelectLRUPage().
SlruPageStatus* SlruSharedData::page_status |
Definition at line 71 of file slru.h.
Referenced by SimpleLruInit(), SimpleLruReadPage(), SimpleLruReadPage_ReadOnly(), SimpleLruTruncate(), SimpleLruWaitIO(), SimpleLruWriteAll(), SimpleLruZeroPage(), SlruDeleteSegment(), SlruInternalWritePage(), SlruRecentlyUsed(), and SlruSelectLRUPage().
int SlruSharedData::slru_stats_idx |
Definition at line 118 of file slru.h.
Referenced by SimpleLruInit(), SimpleLruReadPage(), SimpleLruReadPage_ReadOnly(), SimpleLruTruncate(), SimpleLruWriteAll(), SimpleLruZeroPage(), and SlruPhysicalWritePage().