Lines Matching refs:__kfifo

44 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); \
318 __kfifo->out++; \
332 struct __kfifo *__kfifo = &__tmp->kfifo; \
334 __kfifo_len_r(__kfifo, __recsize); \
354 struct __kfifo *__kfifo = &__tmp->kfifo; \
356 __kfifo_alloc(__kfifo, size, sizeof(*__tmp->type), gfp_mask) : \
368 struct __kfifo *__kfifo = &__tmp->kfifo; \
370 __kfifo_free(__kfifo); \
387 struct __kfifo *__kfifo = &__tmp->kfifo; \
389 __kfifo_init(__kfifo, buffer, size, sizeof(*__tmp->type)) : \
411 struct __kfifo *__kfifo = &__tmp->kfifo; \
413 __ret = __kfifo_in_r(__kfifo, &__val, sizeof(__val), \
419 ((typeof(__tmp->type))__kfifo->data) : \
421 )[__kfifo->in & __tmp->kfifo.mask] = \
424 __kfifo->in++; \
449 struct __kfifo *__kfifo = &__tmp->kfifo; \
451 __ret = __kfifo_out_r(__kfifo, __val, sizeof(*__val), \
458 ((typeof(__tmp->type))__kfifo->data) : \
460 )[__kfifo->out & __tmp->kfifo.mask]; \
462 __kfifo->out++; \
488 struct __kfifo *__kfifo = &__tmp->kfifo; \
490 __ret = __kfifo_out_peek_r(__kfifo, __val, sizeof(*__val), \
497 ((typeof(__tmp->type))__kfifo->data) : \
499 )[__kfifo->out & __tmp->kfifo.mask]; \
525 struct __kfifo *__kfifo = &__tmp->kfifo; \
527 __kfifo_in_r(__kfifo, __buf, __n, __recsize) : \
528 __kfifo_in(__kfifo, __buf, __n); \
594 struct __kfifo *__kfifo = &__tmp->kfifo; \
596 __kfifo_out_r(__kfifo, __buf, __n, __recsize) : \
597 __kfifo_out(__kfifo, __buf, __n); \
670 struct __kfifo *__kfifo = &__tmp->kfifo; \
672 __kfifo_from_user_r(__kfifo, __from, __len, __copied, __recsize) : \
673 __kfifo_from_user(__kfifo, __from, __len, __copied); \
698 struct __kfifo *__kfifo = &__tmp->kfifo; \
700 __kfifo_to_user_r(__kfifo, __to, __len, __copied, __recsize) : \
701 __kfifo_to_user(__kfifo, __to, __len, __copied); \
725 struct __kfifo *__kfifo = &__tmp->kfifo; \
727 __kfifo_dma_in_prepare_r(__kfifo, __sgl, __nents, __len, __recsize) : \
728 __kfifo_dma_in_prepare(__kfifo, __sgl, __nents, __len); \
747 struct __kfifo *__kfifo = &__tmp->kfifo; \
749 __kfifo_dma_in_finish_r(__kfifo, __len, __recsize); \
751 __kfifo->in += __len / sizeof(*__tmp->type); \
776 struct __kfifo *__kfifo = &__tmp->kfifo; \
778 __kfifo_dma_out_prepare_r(__kfifo, __sgl, __nents, __len, __recsize) : \
779 __kfifo_dma_out_prepare(__kfifo, __sgl, __nents, __len); \
798 struct __kfifo *__kfifo = &__tmp->kfifo; \
800 __kfifo_dma_out_finish_r(__kfifo, __recsize); \
802 __kfifo->out += __len / sizeof(*__tmp->type); \
824 struct __kfifo *__kfifo = &__tmp->kfifo; \
826 __kfifo_out_peek_r(__kfifo, __buf, __n, __recsize) : \
827 __kfifo_out_peek(__kfifo, __buf, __n); \
831 extern int __kfifo_alloc(struct __kfifo *fifo, unsigned int size,
834 extern void __kfifo_free(struct __kfifo *fifo);
836 extern int __kfifo_init(struct __kfifo *fifo, void *buffer,
839 extern unsigned int __kfifo_in(struct __kfifo *fifo,
842 extern unsigned int __kfifo_out(struct __kfifo *fifo,
845 extern int __kfifo_from_user(struct __kfifo *fifo,
848 extern int __kfifo_to_user(struct __kfifo *fifo,
851 extern unsigned int __kfifo_dma_in_prepare(struct __kfifo *fifo,
854 extern unsigned int __kfifo_dma_out_prepare(struct __kfifo *fifo,
857 extern unsigned int __kfifo_out_peek(struct __kfifo *fifo,
860 extern unsigned int __kfifo_in_r(struct __kfifo *fifo,
863 extern unsigned int __kfifo_out_r(struct __kfifo *fifo,
866 extern int __kfifo_from_user_r(struct __kfifo *fifo,
870 extern int __kfifo_to_user_r(struct __kfifo *fifo, void __user *to,
873 extern unsigned int __kfifo_dma_in_prepare_r(struct __kfifo *fifo,
876 extern void __kfifo_dma_in_finish_r(struct __kfifo *fifo,
879 extern unsigned int __kfifo_dma_out_prepare_r(struct __kfifo *fifo,
882 extern void __kfifo_dma_out_finish_r(struct __kfifo *fifo, size_t recsize);
884 extern unsigned int __kfifo_len_r(struct __kfifo *fifo, size_t recsize);
886 extern void __kfifo_skip_r(struct __kfifo *fifo, size_t recsize);
888 extern unsigned int __kfifo_out_peek_r(struct __kfifo *fifo,