MOS Source Code
Loading...
Searching...
No Matches
phyframe_t Struct Reference

#include <pmm.h>

Public Types

enum  phyframe_state { PHYFRAME_RESERVED = 0 , PHYFRAME_FREE , PHYFRAME_ALLOCATED }
 

Public Attributes

enum phyframe_t::phyframe_state state
 
u8 order
 
union { 
 
   struct { 
 
         as_linked_list 
 
   }  
 
   struct { 
 
      bool   dirty: 1 
 1 if the page is dirty More...
 
   }   pagecache 
 
};  
 
union { 
 
   atomic_t   allocated_refcount 
 
};  
 

Detailed Description

Definition at line 26 of file pmm.h.

Member Enumeration Documentation

◆ phyframe_state

Enumerator
PHYFRAME_RESERVED 
PHYFRAME_FREE 
PHYFRAME_ALLOCATED 

Definition at line 28 of file pmm.h.

Member Data Documentation

◆ state

◆ order

◆ as_linked_list

as_linked_list

Definition at line 44 of file pmm.h.

◆ dirty

bool dirty

1 if the page is dirty

Definition at line 50 of file pmm.h.

◆ [struct]

struct { ... } pagecache

◆ [union]

union { ... }

◆ allocated_refcount

atomic_t allocated_refcount

Definition at line 58 of file pmm.h.

Referenced by _pmm_unref_phyframes(), and mmstat_sysfs_phyframe_stat_show().

◆ [union]

union { ... }

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