Put data into the fifo using a spinlock for locking
kfifo_in_spinlocked(fifo, buf, n, lock);
fifo
address of the fifo to be used
buf
the data to be added
n
number of elements to be added
lock
pointer to the spinlock to use for locking
This macro copies the given values buffer into the fifo and returns the number of copied elements.