Searched refs:kfifo_alloc (Results 1 – 6 of 6) sorted by relevance
/DragonOS-0.1.5/kernel/src/common/ |
D | kfifo.h | 73 int kfifo_alloc(struct kfifo_t *fifo, uint32_t size, uint64_t reserved);
|
/DragonOS-0.1.5/kernel/src/driver/keyboard/ |
D | ps2_keyboard.c | 166 kfifo_alloc(&kb_buf, ps2_keyboard_buffer_size, 0); in ps2_keyboard_init()
|
/DragonOS-0.1.5/kernel/src/libs/ |
D | kfifo.c | 15 int kfifo_alloc(struct kfifo_t *fifo, uint32_t size, uint64_t reserved) in kfifo_alloc() function
|
D | bitree.c | 209 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/ |
D | data_structures.md | 10 ### 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/ |
D | test-kfifo.c | 13 assert(kfifo_alloc(&fifo, fifo_size, 0) == 0); in ktest_kfifo_case0_1()
|