1KFIFO_IN_SPINLOCKED(9) FIFO Buffer KFIFO_IN_SPINLOCKED(9)
2
3
4
6 kfifo_in_spinlocked - put data into the fifo using a spinlock for
7 locking
8
10 kfifo_in_spinlocked(fifo, buf, n, lock);
11
13 fifo
14 address of the fifo to be used
15
16 buf
17 the data to be added
18
19 n
20 number of elements to be added
21
22 lock
23 pointer to the spinlock to use for locking
24
26 This macro copies the given values buffer into the fifo and returns the
27 number of copied elements.
28
30Kernel Hackers Manual 3.10 June 2019 KFIFO_IN_SPINLOCKED(9)