Home
last modified time | relevance | path

Searched defs:fifo (Results 1 – 4 of 4) sorted by relevance

/DragonOS-0.1.7/kernel/src/common/
Dkfifo.h19 #define kfifo_reset(fifo) (void)({ \ argument
29 #define kfifo_reset_out(fifo) (void)({ \ argument
40 #define kfifo_total_size(fifo) ((fifo)->total_size) argument
47 #define kfifo_size(fifo) ((fifo)->size) argument
55 #define kfifo_empty(fifo) (((fifo)->size == 0) ? 1 : 0) argument
63 #define kfifo_full(fifo) (((fifo)->size == (fifo)->total_size) ? 1 : 0) argument
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.7/kernel/src/libs/
Dkfifo.c15 int kfifo_alloc(struct kfifo_t *fifo, uint32_t size, uint64_t reserved) in kfifo_alloc()
35 void kfifo_init(struct kfifo_t *fifo, void *buffer, uint32_t size) 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()
Dbitree.c208 struct kfifo_t fifo; in bt_destroy_tree() local
/DragonOS-0.1.7/kernel/src/ktest/
Dtest-kfifo.c11 struct kfifo_t fifo; in ktest_kfifo_case0_1() local