AquilaOS documentation
How it works, and its code
Loading...
Searching...
No Matches
vm_anon Struct Reference

An anon: a mapping's private pages, those the process wrote to. More...

#include <vm.h>

Data Fields

struct hashmap * arefs
 its arefs, by the offset of their page in the mapping
size_t ref
 how many mappings share the anon
int flags
 its flags (VM_COPY: to be copied before it's written to)

Detailed Description

An anon: a mapping's private pages, those the process wrote to.

Definition at line 119 of file vm.h.

Field Documentation

◆ arefs

struct hashmap* vm_anon::arefs

its arefs, by the offset of their page in the mapping

Definition at line 121 of file vm.h.

Referenced by pf_anon(), pf_object(), pf_present(), pf_zero(), vm_anon_copy_arefs(), vm_anon_destroy(), and vm_anon_new().

◆ flags

int vm_anon::flags

its flags (VM_COPY: to be copied before it's written to)

Definition at line 127 of file vm.h.

Referenced by pf_anon(), vm_anon_copy(), and vm_space_fork().

◆ ref

size_t vm_anon::ref

how many mappings share the anon

Definition at line 124 of file vm.h.

Referenced by pf_anon(), pf_object(), pf_present(), pf_zero(), vm_anon_copy(), vm_anon_decref(), and vm_anon_incref().


The documentation for this struct was generated from the following file:
  • kernel/include/mm/vm.h