|
AquilaOS documentation
How it works, and its code
|
A vm object: what a mapping's pages come from (a file), and its pages that have been read in. More...
#include <vm.h>
Data Fields | |
| struct hashmap * | pages |
| its pages that have been read in, by their offset | |
| int | type |
| its kind (VMOBJ_*) | |
| size_t | ref |
| how many mappings it has | |
| struct vm_pager * | pager |
| its pager | |
| void * | p |
| the pager's own data (a file's vnode) | |
A vm object: what a mapping's pages come from (a file), and its pages that have been read in.
| void* vm_object::p |
the pager's own data (a file's vnode)
Definition at line 146 of file vm.h.
Referenced by procfs_proc_maps(), vfs_map(), vm_object_decref(), vm_object_incref(), vm_object_vnode(), and vnode_page_in().
| struct vm_pager* vm_object::pager |
its pager
Definition at line 143 of file vm.h.
Referenced by vm_object_page(), and vm_object_vnode().
| struct hashmap* vm_object::pages |
its pages that have been read in, by their offset
Definition at line 134 of file vm.h.
Referenced by arch_sigcode_map(), vm_object_page(), vm_object_page_insert(), vm_object_vnode(), vnode_page_in(), vnode_pages_free(), and vnode_pages_update().
| size_t vm_object::ref |
how many mappings it has
Definition at line 140 of file vm.h.
Referenced by vm_object_decref(), and vm_object_incref().
| int vm_object::type |
its kind (VMOBJ_*)
Definition at line 137 of file vm.h.
Referenced by procfs_proc_maps(), procfs_proc_vmstats(), vfs_map(), vm_object_decref(), vm_object_incref(), and vm_object_vnode().