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

NAME

6       kfifo_in - puts some data into the FIFO
7

SYNOPSIS

9       unsigned int kfifo_in(struct kfifo * fifo, const void * from,
10                             unsigned int len);
11

ARGUMENTS

13       fifo
14           the fifo to be used.
15
16       from
17           the data to be added.
18
19       len
20           the length of the data to be added.
21

DESCRIPTION

23       This function copies at most len bytes from the from buffer into the
24       FIFO depending on the free space, and returns the number of bytes
25       copied.
26
27       Note that with only one concurrent reader and one concurrent writer,
28       you don't need extra locking to use these functions.
29
31Kernel Hackers Manual 2.6.       November 2011                     KFIFO_IN(9)
Impressum