__kfifo_get — gets some data from the FIFO, no locking version
the fifo to be used.
where the data must be copied.
the size of the destination buffer.
This function copies at most len bytes from the FIFO into the buffer and returns the number of copied bytes.
Note that with only one concurrent reader and one concurrent writer, you don't need extra locking to use these functions.