Home
last modified time | relevance | path

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

/DragonOS-0.1.2/kernel/src/common/
Dkfifo.h73 int kfifo_alloc(struct kfifo_t *fifo, uint32_t size, uint64_t reserved);
/DragonOS-0.1.2/kernel/src/filesystem/VFS/
Ddcache.c34 retval = kfifo_alloc(&fifo, 1024 * sizeof(uint64_t), 0); in vfs_dentry_put()
/DragonOS-0.1.2/kernel/src/driver/keyboard/
Dps2_keyboard.c168 kfifo_alloc(&kb_buf, ps2_keyboard_buffer_size, 0); in ps2_keyboard_init()
/DragonOS-0.1.2/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.2/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.2/kernel/src/ktest/
Dtest-kfifo.c13 assert(kfifo_alloc(&fifo, fifo_size, 0) == 0); in ktest_kfifo_case0_1()