1KFIFO_OUT(9) FIFO Buffer KFIFO_OUT(9)
2
3
4
6 kfifo_out - gets some data from the FIFO
7
9 unsigned int kfifo_out(struct kfifo * fifo, void * to,
10 unsigned int len);
11
13 fifo
14 the fifo to be used.
15
16 to
17 where the data must be copied.
18
19 len
20 the size of the destination buffer.
21
23 This function copies at most len bytes from the FIFO into the to 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. November 2011 KFIFO_OUT(9)