MOS Source Code
|
#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 | ||
}; | ||
enum phyframe_state |
enum phyframe_t::phyframe_state state |
u8 order |
Definition at line 35 of file pmm.h.
Referenced by add_to_freelist(), buddy_alloc_n_exact(), extract_exact_range(), mmstat_sysfs_phyframe_stat_show(), and populate_freelist().
struct { ... } pagecache |
union { ... } |
atomic_t allocated_refcount |
Definition at line 58 of file pmm.h.
Referenced by _pmm_unref_phyframes(), and mmstat_sysfs_phyframe_stat_show().
union { ... } |