Home
last modified time | relevance | path

Searched refs:kfifo_alloc (Results 1 – 6 of 6) sorted by relevance

/DragonOS-0.1.5/kernel/src/common/
Dkfifo.h73 int kfifo_alloc(struct kfifo_t *fifo, uint32_t size, uint64_t reserved);
/DragonOS-0.1.5/kernel/src/driver/keyboard/
Dps2_keyboard.c166 kfifo_alloc(&kb_buf, ps2_keyboard_buffer_size, 0); in ps2_keyboard_init()
/DragonOS-0.1.5/kernel/src/libs/
Dkfifo.c15 int kfifo_alloc(struct kfifo_t *fifo, uint32_t size, uint64_t reserved) in kfifo_alloc() function
Dbitree.c209 kfifo_alloc(&fifo, ((root->size + 1) / 2) * sizeof(struct bt_node_t *), 0); in bt_destroy_tree()
/DragonOS-0.1.5/docs/kernel/core_api/
Ddata_structures.md10 ### kfifo_alloc subsection
12 `int kfifo_alloc(struct kfifo_t *fifo, uint32_t size, uint64_t reserved)`
64   释放通过kfifo_alloc创建的fifo缓冲区. 请勿通过该函数释放其他方式创建的kfifo缓冲区。
/DragonOS-0.1.5/kernel/src/ktest/
Dtest-kfifo.c13 assert(kfifo_alloc(&fifo, fifo_size, 0) == 0); in ktest_kfifo_case0_1()