Searched refs:kmalloc (Results 1 – 15 of 15) sorted by relevance
/DragonOS-0.1.8/kernel/src/ktest/ |
D | test-bitree.c | 40 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()
|
D | test-kfifo.c | 16 void *buf = kmalloc(fifo_size, 0); in ktest_kfifo_case0_1()
|
/DragonOS-0.1.8/kernel/src/mm/ |
D | slab.h | 12 extern void *kmalloc(unsigned long size, gfp_t gfp);
|
D | c_adapter.rs | 73 pub unsafe extern "C" fn kmalloc(size: usize, _gfp: gfp_t) -> usize { in kmalloc() function
|
/DragonOS-0.1.8/kernel/src/driver/pci/ |
D | pci_irq.c | 45 … 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()
|
D | pci.c | 232 …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/ |
D | bitree.c | 25 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()
|
D | kfifo.c | 18 fifo->buffer = kmalloc(size, 0); in kfifo_alloc()
|
D | lz4.c | 205 #define ALLOC(s) kmalloc(s, 0)
|
/DragonOS-0.1.8/kernel/src/smp/ |
D | smp.c | 102 … 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/ |
D | screen_manager.c | 32 …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/ |
D | irq.c | 206 p->irq_name = (char *)kmalloc(namelen, 0); in irq_register()
|
/DragonOS-0.1.8/docs/community/ChangeLog/V0.1.x/ |
D | V0.1.1.md | 30 - port kmalloc and printk to rust 262 port kmalloc and printk to rust (#83)
|
/DragonOS-0.1.8/docs/kernel/sched/ |
D | c_waiting.md | 140 - 声明一个完成量(可以在栈中/使用kmalloc/使用数组)
|
/DragonOS-0.1.8/docs/kernel/core_api/ |
D | data_structures.md | 285   为ida预分配空间.您可以不自行调用, 因为当ida需要空间的时候, 内部会自行使用`kmalloc`函数获取空间. 当然, 设计这个函数的目的是为了让您有更多的选择. 当您… 431   为idr预分配空间.您可以不自行调用, 因为当idr需要空间的时候, 内部会自行使用`kmalloc`函数获取空间. 当然, 设计这个函数的目的是为了让您有更多的选择. 当您…
|