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) |
![]() | |
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 |
![]() | |
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 | |
![]() | |
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 } |