1__KFIFO_GET(9)                    FIFO Buffer                   __KFIFO_GET(9)
2
3
4

NAME

6       __kfifo_get - gets some data from the FIFO, no locking version
7

SYNOPSIS

9       unsigned int __kfifo_get(struct kfifo * fifo, unsigned char * buffer,
10                                unsigned int len);
11

ARGUMENTS

13       fifo
14           the fifo to be used.
15
16       buffer
17           where the data must be copied.
18
19       len
20           the size of the destination buffer.
21

DESCRIPTION

23       This function copies at most len bytes from the FIFO into the buffer
24       and returns the number of copied bytes.
25
26       Note that with only one concurrent reader and one concurrent writer,
27       you donĀ“t need extra locking to use these functions.
28
30Kernel Hackers Manual 2.6.         June 2019                    __KFIFO_GET(9)
Impressum