The Pedigree Project 0.1
Public Member Functions | Public Attributes | List of all members
MemoryMapManager::LockPlan Class Referencefinal
+ Inheritance diagram for MemoryMapManager::LockPlan:
+ Collaboration diagram for MemoryMapManager::LockPlan:

Public Member Functions

 LockPlan (MemoryMapManager &manager, VirtualAddressSpace &space, MemoryLockMode mode)
 
size_t removedPages () const override
 
size_t addedPages () const override
 
size_t coveredPages () const override
 
size_t eligiblePages () const override
 
void commit () override
 
PopulationStatus populate () override
 
bool append (MemoryMappedObject *owner, uintptr_t first, uintptr_t last, MemoryLockMode mode, bool populate)
 
- Public Member Functions inherited from PreparedMemoryLock
virtual size_t removedRangeCount () const
 
virtual const MemoryLockRange * removedRanges () const
 

Public Attributes

MemoryMapManager & m_Manager
 
VirtualAddressSpace & m_Space
 
MemoryLockMode m_Mode
 
MmObjectList * m_Replacement = nullptr
 
Vector< MemoryMappedObject * > m_Retired
 
Vector< MemoryMappedObject * > m_Staged
 
Vector< MemoryMappedObject * > m_Populate
 
size_t m_Removed = 0
 
size_t m_Added = 0
 
size_t m_Covered = 0
 
size_t m_Eligible = 0
 
bool m_Committed = false
 

Detailed Description

Definition at line 106 of file MemoryMappedFile-lock.cc.

Constructor & Destructor Documentation

◆ LockPlan()

MemoryMapManager::LockPlan::LockPlan ( MemoryMapManager &  manager,
VirtualAddressSpace &  space,
MemoryLockMode  mode 
)
inline

Definition at line 108 of file MemoryMappedFile-lock.cc.

◆ ~LockPlan()

MemoryMapManager::LockPlan::~LockPlan ( )
inlineoverride

Definition at line 110 of file MemoryMappedFile-lock.cc.

Member Function Documentation

◆ addedPages()

size_t MemoryMapManager::LockPlan::addedPages ( ) const
inlineoverridevirtual

Implements PreparedMemoryLock.

Definition at line 118 of file MemoryMappedFile-lock.cc.

◆ append()

bool MemoryMapManager::LockPlan::append ( MemoryMappedObject *  owner,
uintptr_t  first,
uintptr_t  last,
MemoryLockMode  mode,
bool  populate 
)
inline

Definition at line 159 of file MemoryMappedFile-lock.cc.

◆ commit()

void MemoryMapManager::LockPlan::commit ( )
inlineoverridevirtual

Implements PreparedMemoryLock.

Definition at line 127 of file MemoryMappedFile-lock.cc.

◆ coveredPages()

size_t MemoryMapManager::LockPlan::coveredPages ( ) const
inlineoverridevirtual

Implements PreparedMemoryLock.

Definition at line 121 of file MemoryMappedFile-lock.cc.

◆ eligiblePages()

size_t MemoryMapManager::LockPlan::eligiblePages ( ) const
inlineoverridevirtual

Implements PreparedMemoryLock.

Definition at line 124 of file MemoryMappedFile-lock.cc.

◆ populate()

PopulationStatus MemoryMapManager::LockPlan::populate ( )
inlineoverridevirtual

Implements PreparedMemoryLock.

Definition at line 145 of file MemoryMappedFile-lock.cc.

◆ removedPages()

size_t MemoryMapManager::LockPlan::removedPages ( ) const
inlineoverridevirtual

Implements PreparedMemoryLock.

Definition at line 115 of file MemoryMappedFile-lock.cc.

Member Data Documentation

◆ m_Added

size_t MemoryMapManager::LockPlan::m_Added = 0

Definition at line 177 of file MemoryMappedFile-lock.cc.

◆ m_Committed

bool MemoryMapManager::LockPlan::m_Committed = false

Definition at line 178 of file MemoryMappedFile-lock.cc.

◆ m_Covered

size_t MemoryMapManager::LockPlan::m_Covered = 0

Definition at line 177 of file MemoryMappedFile-lock.cc.

◆ m_Eligible

size_t MemoryMapManager::LockPlan::m_Eligible = 0

Definition at line 177 of file MemoryMappedFile-lock.cc.

◆ m_Manager

MemoryMapManager& MemoryMapManager::LockPlan::m_Manager

Definition at line 172 of file MemoryMappedFile-lock.cc.

◆ m_Mode

MemoryLockMode MemoryMapManager::LockPlan::m_Mode

Definition at line 174 of file MemoryMappedFile-lock.cc.

◆ m_Populate

Vector<MemoryMappedObject*> MemoryMapManager::LockPlan::m_Populate

Definition at line 176 of file MemoryMappedFile-lock.cc.

◆ m_Removed

size_t MemoryMapManager::LockPlan::m_Removed = 0

Definition at line 177 of file MemoryMappedFile-lock.cc.

◆ m_Replacement

MmObjectList* MemoryMapManager::LockPlan::m_Replacement = nullptr

Definition at line 175 of file MemoryMappedFile-lock.cc.

◆ m_Retired

Vector<MemoryMappedObject*> MemoryMapManager::LockPlan::m_Retired

Definition at line 176 of file MemoryMappedFile-lock.cc.

◆ m_Space

VirtualAddressSpace& MemoryMapManager::LockPlan::m_Space

Definition at line 173 of file MemoryMappedFile-lock.cc.

◆ m_Staged

Vector<MemoryMappedObject*> MemoryMapManager::LockPlan::m_Staged

Definition at line 176 of file MemoryMappedFile-lock.cc.


The documentation for this class was generated from the following file: