kfifo_in_spinlocked(9)
kfifo_in_spinlocked – put data into the fifo using a spinlock for locking
Synopsis
kfifo_in_spinlocked(fifo,buf,n,lock);
Arguments
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
Description
This macro copies the given values buffer into the fifo and returns the number of copied elements.