Iros
 
Loading...
Searching...
No Matches
iris::mm::BackedPhysicalPage Struct Reference

A physical page of memory tracked by a backing object. More...

#include <iris/mm/physical_page.h>

Inheritance diagram for iris::mm::BackedPhysicalPage:
[legend]

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< usizereference_count { 1 }
 
u64 page_number
 
- Public Attributes inherited from di::container::RBTreeNode< Tag >
Color color { Color::Red }
 
RBTreeNodeparent { nullptr }
 
RBTreeNodeleft { nullptr }
 
RBTreeNoderight { 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 }
 

Detailed Description

A physical page of memory tracked by a backing object.

Constructor & Destructor Documentation

◆ BackedPhysicalPage()

iris::mm::BackedPhysicalPage::BackedPhysicalPage ( u64 page_number)
inlineexplicitconstexpr

Friends And Related Symbol Documentation

◆ operator<=> [1/2]

friend auto operator<=> ( BackedPhysicalPage const & a,
BackedPhysicalPage const & b ) -> di::strong_ordering
friend

◆ operator<=> [2/2]

friend auto operator<=> ( BackedPhysicalPage const & a,
u64 b ) -> di::strong_ordering
friend

◆ operator== [1/2]

friend auto operator== ( BackedPhysicalPage const & a,
BackedPhysicalPage const & b ) -> bool
friend

◆ operator== [2/2]

friend auto operator== ( BackedPhysicalPage const & a,
u64 b ) -> bool
friend

Member Data Documentation

◆ page_number

u64 iris::mm::BackedPhysicalPage::page_number

◆ reference_count

di::sync::Atomic<usize> iris::mm::BackedPhysicalPage::reference_count { 1 }

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