Home
last modified time | relevance | path

Searched refs:__kfifo (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.15/include/linux/
Dkfifo.h44 struct __kfifo { struct
54 struct __kfifo kfifo; \ argument
127 struct __kfifo *__kfifo = &__tmp->kfifo; \
128 __kfifo->in = 0; \
129 __kfifo->out = 0; \
130 __kfifo->mask = __is_kfifo_ptr(__tmp) ? 0 : ARRAY_SIZE(__tmp->buf) - 1;\
131 __kfifo->esize = sizeof(*__tmp->buf); \
132 __kfifo->data = __is_kfifo_ptr(__tmp) ? NULL : __tmp->buf; \
314 struct __kfifo *__kfifo = &__tmp->kfifo; \
316 __kfifo_skip_r(__kfifo, __recsize); \
[all …]
/Linux-v5.15/lib/
Dkfifo.c19 static inline unsigned int kfifo_unused(struct __kfifo *fifo) in kfifo_unused()
24 int __kfifo_alloc(struct __kfifo *fifo, unsigned int size, in __kfifo_alloc()
55 void __kfifo_free(struct __kfifo *fifo) in __kfifo_free()
66 int __kfifo_init(struct __kfifo *fifo, void *buffer, in __kfifo_init()
89 static void kfifo_copy_in(struct __kfifo *fifo, const void *src, in kfifo_copy_in()
113 unsigned int __kfifo_in(struct __kfifo *fifo, in __kfifo_in()
128 static void kfifo_copy_out(struct __kfifo *fifo, void *dst, in kfifo_copy_out()
152 unsigned int __kfifo_out_peek(struct __kfifo *fifo, in __kfifo_out_peek()
166 unsigned int __kfifo_out(struct __kfifo *fifo, in __kfifo_out()
175 static unsigned long kfifo_copy_from_user(struct __kfifo *fifo, in kfifo_copy_from_user()
[all …]
/Linux-v5.15/drivers/iio/buffer/
Dkfifo_buf.c38 return __kfifo_alloc((struct __kfifo *)&buf->kf, length, in __iio_allocate_kfifo()
/Linux-v5.15/drivers/media/platform/coda/
Dcoda-bit.c151 struct __kfifo *kfifo = &ctx->bitstream_fifo.kfifo; in coda_kfifo_sync_from_device()
164 struct __kfifo *kfifo = &ctx->bitstream_fifo.kfifo; in coda_kfifo_sync_to_device_full()
176 struct __kfifo *kfifo = &ctx->bitstream_fifo.kfifo; in coda_kfifo_sync_to_device_write()