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

NAME

6       kfifo_init - initialize a FIFO using a preallocated buffer
7

SYNOPSIS

9       void kfifo_init(struct kfifo * fifo, void * buffer, unsigned int size);
10

ARGUMENTS

12       fifo
13           the fifo to assign the buffer
14
15       buffer
16           the preallocated buffer to be used.
17
18       size
19           the size of the internal buffer, this has to be a power of 2.
20
22Kernel Hackers Manual 2.6.       November 2011                   KFIFO_INIT(9)
Impressum