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

NAME

6       DEFINE_KFIFO - macro to define and initialize a fifo
7

SYNOPSIS

9       DEFINE_KFIFO(fifo, type, size);
10

ARGUMENTS

12       fifo
13           name of the declared fifo datatype
14
15       type
16           type of the fifo elements
17
18       size
19           the number of elements in the fifo, this must be a power of 2
20

NOTE

22       the macro can be used for global and local fifo data type variables.
23
25Kernel Hackers Manual 3.10         June 2019                   DEFINE_KFIFO(9)
Impressum