Searched refs:kfifo_t (Results 1 – 7 of 7) sorted by relevance
/DragonOS-0.1.2/kernel/src/common/ |
D | kfifo.h | 6 struct kfifo_t struct 73 int kfifo_alloc(struct kfifo_t *fifo, uint32_t size, uint64_t reserved); 80 void kfifo_free_alloc(struct kfifo_t *fifo); 89 void kfifo_init(struct kfifo_t *fifo, void *buffer, uint32_t size); 99 uint32_t kfifo_in(struct kfifo_t *fifo, const void *from, uint32_t size); 109 uint32_t kfifo_out(struct kfifo_t *fifo, void *to, uint32_t size); 119 uint32_t kfifo_out_peek(struct kfifo_t *fifo, void *to, uint32_t size); 130 uint32_t __always_inline kfifo_in_locked(struct kfifo_t *fifo, const void *from, uint32_t size, spi… in kfifo_in_locked() 147 uint32_t __always_inline kfifo_out_locked(struct kfifo_t *fifo, void *to, uint32_t size, spinlock_t… in kfifo_out_locked()
|
/DragonOS-0.1.2/kernel/src/libs/ |
D | kfifo.c | 15 int kfifo_alloc(struct kfifo_t *fifo, uint32_t size, uint64_t reserved) in kfifo_alloc() 17 memset(fifo, 0, sizeof(struct kfifo_t)); in kfifo_alloc() 35 void kfifo_init(struct kfifo_t *fifo, void *buffer, uint32_t size) in kfifo_init() 37 memset(fifo, 0, sizeof(struct kfifo_t)); in kfifo_init() 51 uint32_t kfifo_in(struct kfifo_t *fifo, const void *from, uint32_t size) in kfifo_in() 86 uint32_t kfifo_out(struct kfifo_t *fifo, void *to, uint32_t size) in kfifo_out() 120 uint32_t kfifo_out_peek(struct kfifo_t *fifo, void *to, uint32_t size) in kfifo_out_peek() 147 void kfifo_free_alloc(struct kfifo_t *fifo) in kfifo_free_alloc() 150 memset(fifo, 0, sizeof(struct kfifo_t)); in kfifo_free_alloc()
|
D | bitree.c | 208 struct kfifo_t fifo; in bt_destroy_tree()
|
/DragonOS-0.1.2/kernel/src/driver/keyboard/ |
D | ps2_keyboard.c | 13 static struct kfifo_t kb_buf; 26 static void ps2_keyboard_reset_buffer(struct kfifo_t *kbp) in ps2_keyboard_reset_buffer() 149 uint8_t count = kfifo_in((struct kfifo_t*)buf_vaddr, &x, sizeof(unsigned char)); in ps2_keyboard_handler()
|
/DragonOS-0.1.2/docs/kernel/core_api/ |
D | data_structures.md | 12 `int kfifo_alloc(struct kfifo_t *fifo, uint32_t size, uint64_t reserved)` 38 `void kfifo_init(struct kfifo_t *fifo, void *buffer, uint32_t size)` 60 `void kfifo_free_alloc(struct kfifo_t* fifo)` 74 `uint32_t kfifo_in(struct kfifo_t *fifo, const void *from, uint32_t size)` 100 `uint32_t kfifo_out(struct kfifo_t *fifo, void *to, uint32_t size)` 126 `uint32_t kfifo_out_peek(struct kfifo_t *fifo, void *to, uint32_t size)`
|
/DragonOS-0.1.2/kernel/src/filesystem/VFS/ |
D | dcache.c | 17 struct kfifo_t fifo = {0}; in vfs_dentry_put()
|
/DragonOS-0.1.2/kernel/src/ktest/ |
D | test-kfifo.c | 11 struct kfifo_t fifo; in ktest_kfifo_case0_1()
|