MOS Source Code
Loading...
Searching...
No Matches
cow.h
Go to the documentation of this file.
1
// SPDX-License-Identifier: GPL-3.0-or-later
2
3
#pragma once
4
5
#include "
mos/mm/mm.h
"
6
#include "
mos/mm/paging/paging.h
"
7
15
vmap_t
*
cow_clone_vmap_locked
(
mm_context_t
*target_mmctx,
vmap_t
*source_vmap);
16
27
vmap_t
*
cow_allocate_zeroed_pages
(
mm_context_t
*handle,
size_t
npages,
ptr_t
vaddr,
valloc_flags
hints,
vm_flags
flags);
cow_clone_vmap_locked
vmap_t * cow_clone_vmap_locked(mm_context_t *target_mmctx, vmap_t *source_vmap)
Copy-on-write a page range.
Definition
cow.c:62
cow_allocate_zeroed_pages
vmap_t * cow_allocate_zeroed_pages(mm_context_t *handle, size_t npages, ptr_t vaddr, valloc_flags hints, vm_flags flags)
Allocate zero-on-demand pages at a specific address.
Definition
cow.c:79
valloc_flags
valloc_flags
Definition
paging.h:20
mm.h
paging.h
vm_flags
vm_flags
Definition
platform.h:40
mm_context_t
Definition
platform.h:80
vmap_t
Definition
mm.h:58
ptr_t
unsigned long ptr_t
Definition
types.h:25
kernel
include
private
mos
mm
cow.h
Generated on Sun Sep 1 2024 18:22:52 for MOS Source Code by
1.12.0