A physical page of memory tracked by a backing object. More...
#include <iris/mm/physical_page.h>
Public Member Functions | |
| constexpr | BackedPhysicalPage (u64 page_number) |
Public Member Functions inherited from di::container::RBTreeNode< Tag > | |
| RBTreeNode ()=default | |
| constexpr auto | is_left_child () const -> bool |
| constexpr auto | is_right_child () const -> bool |
| constexpr auto | find_min () -> RBTreeNode & |
| constexpr auto | find_max () -> RBTreeNode & |
| constexpr auto | predecessor () const -> RBTreeNode * |
| constexpr auto | successor () const -> RBTreeNode * |
Public Attributes | |
| di::sync::Atomic< usize > | reference_count { 1 } |
| u64 | page_number |
Public Attributes inherited from di::container::RBTreeNode< Tag > | |
| Color | color { Color::Red } |
| RBTreeNode * | parent { nullptr } |
| RBTreeNode * | left { nullptr } |
| RBTreeNode * | right { nullptr } |
Friends | |
| constexpr friend auto | operator== (BackedPhysicalPage const &a, BackedPhysicalPage const &b) -> bool |
| constexpr friend auto | operator<=> (BackedPhysicalPage const &a, BackedPhysicalPage const &b) -> di::strong_ordering |
| constexpr friend auto | operator== (BackedPhysicalPage const &a, u64 b) -> bool |
| constexpr friend auto | operator<=> (BackedPhysicalPage const &a, u64 b) -> di::strong_ordering |
Additional Inherited Members | |
Public Types inherited from di::container::RBTreeNode< Tag > | |
| enum class | Color { Red = 0 , Black = 1 } |
A physical page of memory tracked by a backing object.
|
inlineexplicitconstexpr |
|
friend |
|
friend |
|
friend |
|
friend |
| u64 iris::mm::BackedPhysicalPage::page_number |
| di::sync::Atomic<usize> iris::mm::BackedPhysicalPage::reference_count { 1 } |