Searched refs:free_pages (Results 1 – 10 of 10) sorted by relevance
/DragonOS-0.1.2/docs/kernel/core_api/ |
D | allocate-memory.md | 15 …须释放他们。若您使用的是`kmalloc()`分配的内存,那么您需要使用`kfree()`释放它。若是使用`alloc_pages()`分配的内存,则需要使用`free_pages()`来释放它们。
|
D | mm-api.md | 108 ### `void free_pages(struct Page *page, int number)`
|
/DragonOS-0.1.2/kernel/src/mm/ |
D | slab.c | 103 free_pages(slab_pool->cache_pool_entry->page, 1); in slab_create() 143 free_pages(tmp_slab_obj->page, 1); in slab_destroy() 150 free_pages(slab_obj_ptr->page, 1); in slab_destroy() 205 free_pages(tmp_slab_obj->page, 1); in slab_malloc() 275 free_pages(tmp_slab_obj->page, 1); in slab_malloc() 328 free_pages(slab_obj_ptr->page, 1); in slab_free() 525 free_pages(page, 1); in kmalloc_create_slab_obj() 687 free_pages(slab_obj_ptr->page, 1); in kfree() 698 free_pages(slab_obj_ptr->page, 1); in kfree()
|
D | vma.c | 268 free_pages(vma->anon_vma->page, 1); in __anon_vma_del()
|
D | mm.h | 262 void free_pages(struct Page *page, int number);
|
D | mm.c | 437 void free_pages(struct Page *page, int number) in free_pages() function 663 free_pages(p, 1); in mm_do_brk()
|
D | mmap.c | 176 free_pages(Phy_to_2M_Page((ul)phys_addr_start + length_mapped), 1); in mm_map_proc_page_table()
|
/DragonOS-0.1.2/kernel/src/libs/libUI/ |
D | screen_manager.c | 77 …free_pages(Phy_to_2M_Page(virt_2_phys(buf->vaddr)), PAGE_2M_ALIGN(video_frame_buffer_info.size) / … in __destroy_buffer()
|
/DragonOS-0.1.2/kernel/src/process/ |
D | process.c | 270 free_pages(Phy_to_2M_Page(pa), 1); in process_load_elf_file() 328 free_pages(Phy_to_2M_Page(pa), 1); in process_load_elf_file()
|
D | fork.c | 267 free_pages(Phy_to_2M_Page(pa), 1); in process_copy_mm()
|