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

NAME

6       __kfifo_put - puts some data into the FIFO, no locking version
7

SYNOPSIS

9       unsigned int __kfifo_put(struct kfifo * fifo,
10                                const unsigned char * buffer,
11                                unsigned int len);
12

ARGUMENTS

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

DESCRIPTION

24       This function copies at most len bytes from the buffer into the FIFO
25       depending on the free space, and returns the number of bytes 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.         June 2019                    __KFIFO_PUT(9)
Impressum