Home
last modified time | relevance | path

Searched refs:kfree (Results 1 – 18 of 18) sorted by relevance

/DragonOS-0.1.8/kernel/src/mm/
Dslab.h29 extern unsigned long kfree(void *address);
Dc_adapter.rs116 pub unsafe extern "C" fn kfree(vaddr: usize) -> usize { in kfree() function
/DragonOS-0.1.8/kernel/src/sched/
Dcompletion.c321 kfree(one_to_one); in __test_completion()
322 kfree(one_to_many); in __test_completion()
323 kfree(waiter_many_to_one); in __test_completion()
324 kfree(worker_many_to_one); in __test_completion()
325 kfree(waiter_data); in __test_completion()
326 kfree(worker_data); in __test_completion()
/DragonOS-0.1.8/kernel/src/driver/pci/
Dpci_irq.c78 kfree(p->irq_name); in c_irq_uninstall()
83 kfree(p->controller); in c_irq_uninstall()
Dpci.c263 kfree(common_header); in pci_read_header()
303 kfree(common_header); in pci_read_header()
348 kfree(header); in pci_checkDevice()
367 kfree(tmp_header); in pci_checkDevice()
371 kfree(header); in pci_checkDevice()
417 kfree(tmp_header); in pci_checkAllBuses()
423 kfree(tmp_header); in pci_checkAllBuses()
426 kfree(header); in pci_checkAllBuses()
/DragonOS-0.1.8/kernel/src/libs/libUI/
Dscreen_manager.c53 kfree(buf); in __create_buffer()
77 kfree((void*)buf->vaddr); in __destroy_buffer()
151 kfree(ui); in scm_register_alloc()
264 kfree(buf); in scm_enable_double_buffer()
/DragonOS-0.1.8/docs/kernel/sched/
Dc_waiting.md99 | DECLARE_WAIT_ALLOC(name, pcb) | 使用`kzalloc`声明一个wait_queue节点,同时把pcb所代表的进程与该节点绑定,请记得使用kfree释放空间 |
100 | DECLARE_WAIT_ALLOC_SELF(name) | 使用`kzalloc`声明一个wait_queue节点,同时当前进程(即自身进程)与该节点绑定,请记得使用kfree释放…
127    在`wait_queue.h`中的`wait_queue_wakeup`函数直接kfree掉了wait_node节点。对于在栈上的wait_node,您可以选择`wait_…
/DragonOS-0.1.8/kernel/src/process/
Dkthread.c105 kfree(create); in __kthread_create_on_node()
339 kfree(kthread->full_name); in free_kthread_struct()
340 kfree(kthread); in free_kthread_struct()
Dfork.c162 kfree(tsk); in do_fork()
Dprocess.c468 kfree(pcb); in process_release_pcb()
/DragonOS-0.1.8/kernel/src/libs/
Dwait_queue.c82 kfree(wait); in wait_queue_wakeup()
Dmutex.c93 kfree(wt); in mutex_unlock()
Dbitree.c195 kfree(to_delete); in bt_delete()
228 kfree(nd); in bt_destroy_tree()
Dkfifo.c149 kfree(fifo->buffer); in kfifo_free_alloc()
Didr.c118 kfree(p); in __idr_layer_free()
457 kfree(cur_layer->ary[i]); in __idr_remove_all_with_free()
830 kfree(bitmap); in __ida_bitmap_free()
Dlz4.c207 #define FREEMEM(p) kfree(p)
/DragonOS-0.1.8/kernel/src/exception/
Dirq.c237 kfree(p->irq_name); in irq_unregister()
/DragonOS-0.1.8/kernel/src/driver/mouse/
Dps2_mouse.c272 kfree((ul *)ps2_mouse_buf_ptr); in ps2_mouse_exit()