1KFIFO_OUT(9) FIFO Buffer KFIFO_OUT(9)
2
3
4
6 kfifo_out - get data from the fifo
7
9 kfifo_out(fifo, buf, n);
10
12 fifo
13 address of the fifo to be used
14
15 buf
16 pointer to the storage buffer
17
18 n
19 max. number of elements to get
20
22 This macro get some data from the fifo and return the numbers of
23 elements copied.
24
25 Note that with only one concurrent reader and one concurrent writer,
26 you don't need extra locking to use these macro.
27
29Kernel Hackers Manual 3.10 June 2019 KFIFO_OUT(9)