MOS Source Code
Loading...
Searching...
No Matches
table_ops.h File Reference
+ Include dependency graph for table_ops.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void mm_do_map (pgd_t top, ptr_t vaddr, pfn_t pfn, size_t n_pages, vm_flags flags, bool do_refcount)
 
void mm_do_flag (pgd_t top, ptr_t vaddr, size_t n_pages, vm_flags flags)
 
void mm_do_unmap (pgd_t top, ptr_t vaddr, size_t n_pages, bool do_unref)
 
void mm_do_mask_flags (pgd_t max, ptr_t vaddr, size_t n_pages, vm_flags to_remove)
 
void mm_do_copy (pgd_t src, pgd_t dst, ptr_t vaddr, size_t n_pages)
 
pfn_t mm_do_get_pfn (pgd_t top, ptr_t vaddr)
 
vm_flags mm_do_get_flags (pgd_t max, ptr_t vaddr)
 
bool mm_do_get_present (pgd_t max, ptr_t vaddr)
 

Function Documentation

◆ mm_do_map()

void mm_do_map ( pgd_t top,
ptr_t vaddr,
pfn_t pfn,
size_t n_pages,
vm_flags flags,
bool do_refcount )

Definition at line 23 of file table_ops.c.

Referenced by acpi_sysfs_mmap(), mm_map_kernel_pages(), mm_map_user_pages(), mm_replace_page_locked(), and sys_mem_mmap().

+ Here is the call graph for this function:

◆ mm_do_flag()

void mm_do_flag ( pgd_t top,
ptr_t vaddr,
size_t n_pages,
vm_flags flags )

Definition at line 29 of file table_ops.c.

Referenced by mm_flag_pages_locked(), and mm_handle_fault().

+ Here is the call graph for this function:

◆ mm_do_unmap()

void mm_do_unmap ( pgd_t top,
ptr_t vaddr,
size_t n_pages,
bool do_unref )

Definition at line 35 of file table_ops.c.

Referenced by acpi_sysfs_munmap(), sys_mem_munmap(), and vmap_destroy().

+ Here is the call graph for this function:

◆ mm_do_mask_flags()

void mm_do_mask_flags ( pgd_t max,
ptr_t vaddr,
size_t n_pages,
vm_flags to_remove )

Definition at line 51 of file table_ops.c.

Referenced by vm_protect().

+ Here is the call graph for this function:

◆ mm_do_copy()

void mm_do_copy ( pgd_t src,
pgd_t dst,
ptr_t vaddr,
size_t n_pages )

Definition at line 57 of file table_ops.c.

Referenced by mm_clone_vmap_locked().

+ Here is the call graph for this function:

◆ mm_do_get_pfn()

pfn_t mm_do_get_pfn ( pgd_t top,
ptr_t vaddr )

Definition at line 67 of file table_ops.c.

Referenced by mm_get_phys_addr(), mm_handle_fault(), and mm_replace_page_locked().

+ Here is the call graph for this function:

◆ mm_do_get_flags()

vm_flags mm_do_get_flags ( pgd_t max,
ptr_t vaddr )

Definition at line 112 of file table_ops.c.

Referenced by mm_handle_fault().

+ Here is the call graph for this function:

◆ mm_do_get_present()

bool mm_do_get_present ( pgd_t max,
ptr_t vaddr )

Definition at line 171 of file table_ops.c.

Referenced by riscv64_trap_handler().

+ Here is the call graph for this function: