1KFIFO_PUT(9) FIFO Buffer KFIFO_PUT(9)
2
3
4
6 kfifo_put - puts some data into the FIFO
7
9 unsigned int kfifo_put(struct kfifo * fifo,
10 const unsigned char * buffer, unsigned int len);
11
13 fifo
14 the fifo to be used.
15
16 buffer
17 the data to be added.
18
19 len
20 the length of the data to be added.
21
23 This function copies at most len bytes from the buffer into the FIFO
24 depending on the free space, and returns the number of bytes copied.
25
27Kernel Hackers Manual 2.6. June 2019 KFIFO_PUT(9)