Home
last modified time | relevance | path

Searched refs:free_pages (Results 1 – 10 of 10) sorted by relevance

/DragonOS-0.1.2/docs/kernel/core_api/
Dallocate-memory.md15 …须释放他们。若您使用的是`kmalloc()`分配的内存,那么您需要使用`kfree()`释放它。若是使用`alloc_pages()`分配的内存,则需要使用`free_pages()`来释放它们。
Dmm-api.md108 ### `void free_pages(struct Page *page, int number)`
/DragonOS-0.1.2/kernel/src/mm/
Dslab.c103 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()
Dvma.c268 free_pages(vma->anon_vma->page, 1); in __anon_vma_del()
Dmm.h262 void free_pages(struct Page *page, int number);
Dmm.c437 void free_pages(struct Page *page, int number) in free_pages() function
663 free_pages(p, 1); in mm_do_brk()
Dmmap.c176 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/
Dscreen_manager.c77free_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/
Dprocess.c270 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()
Dfork.c267 free_pages(Phy_to_2M_Page(pa), 1); in process_copy_mm()