Home
last modified time | relevance | path

Searched refs:PAGE_PGT_MAPPED (Results 1 – 7 of 7) sorted by relevance

/DragonOS-0.1.2/kernel/src/mm/
Dmm-stat.c43 attr |= PAGE_PGT_MAPPED; in __count_empty_2m_pages()
48 attr |= PAGE_PGT_MAPPED; in __count_empty_2m_pages()
87 attr |= PAGE_PGT_MAPPED; in __count_in_using_2m_pages()
92 attr |= PAGE_PGT_MAPPED; in __count_in_using_2m_pages()
Dmm.c189 …set_page_attr(memory_management_struct.pages_struct, PAGE_PGT_MAPPED | PAGE_KERNEL_INIT | PAGE_KER… in mm_init()
217 page_init(tmp_page, PAGE_PGT_MAPPED | PAGE_KERNEL | PAGE_KERNEL_INIT); in mm_init()
306 attr |= PAGE_PGT_MAPPED; in alloc_pages()
311 attr |= PAGE_PGT_MAPPED; in alloc_pages()
388 p->attr &= PAGE_PGT_MAPPED; in page_clean()
642 … mm_map(current_pcb->mm, i, PAGE_2M_SIZE, alloc_pages(ZONE_NORMAL, 1, PAGE_PGT_MAPPED)->addr_phys); in mm_do_brk()
Dmm.h64 #define PAGE_PGT_MAPPED (1 << 0) macro
Dslab.c399 page_init(page, PAGE_KERNEL_INIT | PAGE_KERNEL | PAGE_PGT_MAPPED); in slab_init()
419 page_init(page, PAGE_PGT_MAPPED | PAGE_KERNEL | PAGE_KERNEL_INIT); in slab_init()
/DragonOS-0.1.2/docs/kernel/core_api/
Dmm-api.md92 - `PAGE_PGT_MAPPED` 页面在页表中已被映射
/DragonOS-0.1.2/kernel/src/process/
Dprocess.c263 uint64_t pa = alloc_pages(ZONE_NORMAL, 1, PAGE_PGT_MAPPED)->addr_phys; in process_load_elf_file()
324 uint64_t pa = alloc_pages(ZONE_NORMAL, 1, PAGE_PGT_MAPPED)->addr_phys; in process_load_elf_file()
Dfork.c260 uint64_t pa = alloc_pages(ZONE_NORMAL, 1, PAGE_PGT_MAPPED)->addr_phys; in process_copy_mm()