Home
last modified time | relevance | path

Searched refs:Page (Results 1 – 13 of 13) sorted by relevance

/DragonOS-0.1.5/kernel/src/mm/
Dmm.c117 …memory_management_struct.pages_struct = (struct Page *)(((unsigned long)memory_management_struct.b… in mm_init()
120 …memory_management_struct.pages_struct_len = ((max_addr >> PAGE_2M_SHIFT) * sizeof(struct Page) + s… in mm_init()
165 …z->pages_group = (struct Page *)(memory_management_struct.pages_struct + (addr_start >> PAGE_2M_SH… in mm_init()
168 struct Page *p = z->pages_group; in mm_init()
210 struct Page *tmp_page = NULL; in mm_init()
266 unsigned long page_init(struct Page *page, ul flags) in page_init()
290 struct Page *alloc_pages(unsigned int zone_select, int num, ul flags) in alloc_pages()
354 struct Page *x = memory_management_struct.pages_struct + start_page_num + l; in alloc_pages()
365 return (struct Page *)(memory_management_struct.pages_struct + start_page_num); in alloc_pages()
380 unsigned long page_clean(struct Page *p) in page_clean()
[all …]
Dmm-types.h56 struct Page *pages_struct;
74 struct Page *pages_group;
95 struct Page struct
181 struct Page* page;
Dinternal.h43 struct anon_vma_t *__anon_vma_create_alloc(struct Page *page, bool lock_page);
76 struct Page* __create_mmio_page_struct(uint64_t paddr);
Dmm.h224 unsigned long page_init(struct Page *page, ul flags);
246 struct Page *alloc_pages(unsigned int zone_select, int num, ul flags);
254 unsigned long page_clean(struct Page *page);
262 void free_pages(struct Page *page, int number);
270 ul get_page_attr(struct Page *page);
279 ul set_page_attr(struct Page *page, ul flags);
Dslab.h21 struct Page *page;
Dvma.c182 struct anon_vma_t *__anon_vma_create_alloc(struct Page *page, bool lock_page) in __anon_vma_create_alloc()
Dslab.c384 struct Page *page = NULL; in slab_init()
440 struct Page *page = alloc_pages(ZONE_NORMAL, 1, 0); in kmalloc_create_slab_obj()
Dmmap.c367 struct Page *pg; in mm_map_vma()
/DragonOS-0.1.5/kernel/src/driver/virtio/
Dvirtio_impl.rs2 alloc_pages, free_pages, memory_management_struct, Page, PAGE_2M_SHIFT, PAGE_2M_SIZE,
42 + (paddr >> PAGE_2M_SHIFT) * size_of::<Page>()) as *mut Page; in dma_dealloc()
/DragonOS-0.1.5/docs/kernel/core_api/
Dmm-api.md64 ### `struct Page *alloc_pages(unsigned int zone_select, int num, ul flags)`
102 &emsp;&emsp;成功申请则返回指向起始页面的Page结构体的指针
108 ### `void free_pages(struct Page *page, int number)`
118 &emsp;&emsp;要释放的第一个物理页的Page结构体
/DragonOS-0.1.5/docs/kernel/memory_management/
Dmmio.md37 &emsp;&emsp;该函数会对MMIO的VMA的映射做出特殊处理。即:创建`Page`结构体以及对应的`anon_vma`. 然后会将对应的物理地址,填写到页表之中。
/DragonOS-0.1.5/kernel/src/libs/libUI/
Dscreen_manager.c47 …struct Page *p = alloc_pages(ZONE_NORMAL, PAGE_2M_ALIGN(video_frame_buffer_info.size) / PAGE_2M_SI… in __create_buffer()
/DragonOS-0.1.5/
DREADME_EN.md13 - Home Page **[DragonOS.org](https://dragonos.org)**