1KFIFO_PUT(9)                      FIFO Buffer                     KFIFO_PUT(9)
2
3
4

NAME

6       kfifo_put - put data into the fifo
7

SYNOPSIS

9       kfifo_put(fifo, val);
10

ARGUMENTS

12       fifo
13           address of the fifo to be used
14
15       val
16           the data to be added
17

DESCRIPTION

19       This macro copies the given value into the fifo. It returns 0 if the
20       fifo was full. Otherwise it returns the number processed elements.
21
22       Note that with only one concurrent reader and one concurrent writer,
23       you don't need extra locking to use these macro.
24
26Kernel Hackers Manual 3.10         June 2019                      KFIFO_PUT(9)
Impressum