Home
last modified time | relevance | path

Searched refs:kmalloc (Results 1 – 15 of 15) sorted by relevance

/DragonOS-0.1.8/kernel/src/ktest/
Dtest-bitree.c40 struct test_value_t *tv1 = (struct test_value_t *)kmalloc(sizeof(struct test_value_t), 0); in ktest_bitree_case1()
56 struct test_value_t *tv2 = (struct test_value_t *)kmalloc(sizeof(struct test_value_t), 0); in ktest_bitree_case1()
65 struct test_value_t *tv3 = (struct test_value_t *)kmalloc(sizeof(struct test_value_t), 0); in ktest_bitree_case1()
87 struct test_value_t *tv4 = (struct test_value_t *)kmalloc(sizeof(struct test_value_t), 0); in ktest_bitree_case1()
101 …struct test_value_t *tv_not_exists = (struct test_value_t *)kmalloc(sizeof(struct test_value_t), 0… in ktest_bitree_case1()
Dtest-kfifo.c16 void *buf = kmalloc(fifo_size, 0); in ktest_kfifo_case0_1()
/DragonOS-0.1.8/kernel/src/mm/
Dslab.h12 extern void *kmalloc(unsigned long size, gfp_t gfp);
Dc_adapter.rs73 pub unsafe extern "C" fn kmalloc(size: usize, _gfp: gfp_t) -> usize { in kmalloc() function
/DragonOS-0.1.8/kernel/src/driver/pci/
Dpci_irq.c45 … hardware_intr_controller* pci_interrupt_controller = kmalloc(sizeof(hardware_intr_controller),0); in c_irq_install()
53 p->irq_name = (char *)kmalloc(namelen, 0); in c_irq_install()
Dpci.c232 …device_structure_header_t *common_header = (struct pci_device_structure_header_t *)kmalloc(127, 0); in pci_read_header()
/DragonOS-0.1.8/kernel/src/libs/
Dbitree.c25 struct bt_root_t *root = (struct bt_root_t *)kmalloc(sizeof(struct bt_root_t), 0); in bt_create_tree()
45 struct bt_node_t *node = (struct bt_node_t *)kmalloc(sizeof(struct bt_node_t), 0); in bt_create_node()
Dkfifo.c18 fifo->buffer = kmalloc(size, 0); in kfifo_alloc()
Dlz4.c205 #define ALLOC(s) kmalloc(s, 0)
/DragonOS-0.1.8/kernel/src/smp/
Dsmp.c102 … cpu_core_info[current_starting_cpu].stack_start = (uint64_t)kmalloc(STACK_SIZE, 0) + STACK_SIZE; in smp_init()
103 …cpu_core_info[current_starting_cpu].ist_stack_start = (uint64_t)(kmalloc(STACK_SIZE, 0)) + STACK_S… in smp_init()
/DragonOS-0.1.8/kernel/src/libs/libUI/
Dscreen_manager.c32 …struct scm_buffer_info_t *buf = (struct scm_buffer_info_t *)kmalloc(sizeof(struct scm_buffer_info_… in __create_buffer()
136 …struct scm_ui_framework_t *ui = (struct scm_ui_framework_t *)kmalloc(sizeof(struct scm_ui_framewor… in scm_register_alloc()
/DragonOS-0.1.8/kernel/src/exception/
Dirq.c206 p->irq_name = (char *)kmalloc(namelen, 0); in irq_register()
/DragonOS-0.1.8/docs/community/ChangeLog/V0.1.x/
DV0.1.1.md30 - port kmalloc and printk to rust
262 port kmalloc and printk to rust (#83)
/DragonOS-0.1.8/docs/kernel/sched/
Dc_waiting.md140 - 声明一个完成量(可以在栈中/使用kmalloc/使用数组)
/DragonOS-0.1.8/docs/kernel/core_api/
Ddata_structures.md285   为ida预分配空间.您可以不自行调用, 因为当ida需要空间的时候, 内部会自行使用`kmalloc`函数获取空间. 当然, 设计这个函数的目的是为了让您有更多的选择. 当您…
431   为idr预分配空间.您可以不自行调用, 因为当idr需要空间的时候, 内部会自行使用`kmalloc`函数获取空间. 当然, 设计这个函数的目的是为了让您有更多的选择. 当您…