Searched refs:Page (Results 1 – 12 of 12) sorted by relevance
/DragonOS-0.1.2/kernel/src/mm/ |
D | mm.c | 117 …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 …]
|
D | mm-types.h | 56 struct Page *pages_struct; 74 struct Page *pages_group; 95 struct Page struct 181 struct Page* page;
|
D | internal.h | 43 struct anon_vma_t *__anon_vma_create_alloc(struct Page *page, bool lock_page); 76 struct Page* __create_mmio_page_struct(uint64_t paddr);
|
D | mm.h | 224 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);
|
D | slab.h | 21 struct Page *page;
|
D | vma.c | 182 struct anon_vma_t *__anon_vma_create_alloc(struct Page *page, bool lock_page) in __anon_vma_create_alloc()
|
D | slab.c | 384 struct Page *page = NULL; in slab_init() 440 struct Page *page = alloc_pages(ZONE_NORMAL, 1, 0); in kmalloc_create_slab_obj()
|
D | mmap.c | 367 struct Page *pg; in mm_map_vma()
|
/DragonOS-0.1.2/docs/kernel/core_api/ |
D | mm-api.md | 64 ### `struct Page *alloc_pages(unsigned int zone_select, int num, ul flags)` 102   成功申请则返回指向起始页面的Page结构体的指针 108 ### `void free_pages(struct Page *page, int number)` 118   要释放的第一个物理页的Page结构体
|
/DragonOS-0.1.2/docs/kernel/memory_management/ |
D | mmio.md | 37   该函数会对MMIO的VMA的映射做出特殊处理。即:创建`Page`结构体以及对应的`anon_vma`. 然后会将对应的物理地址,填写到页表之中。
|
/DragonOS-0.1.2/kernel/src/libs/libUI/ |
D | screen_manager.c | 47 …struct Page *p = alloc_pages(ZONE_NORMAL, PAGE_2M_ALIGN(video_frame_buffer_info.size) / PAGE_2M_SI… in __create_buffer()
|
/DragonOS-0.1.2/ |
D | README_EN.md | 13 - Home Page **[DragonOS.org](https://dragonos.org)**
|