- kfifo_out_spinlocked(fifo, buf, n, lock);
- address of the fifo to be used
- pointer to the storage buffer
- max. number of elements to get
- pointer to the spinlock to use for locking
This macro get the data from the fifo and return the numbers of elements copied.