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

NAME

6       DECLARE_KFIFO - macro to declare a kfifo and the associated buffer
7

SYNOPSIS

9       DECLARE_KFIFO(name, size);
10

ARGUMENTS

12       name
13           name of the declared kfifo datatype
14
15       size
16           size of the fifo buffer. Must be a power of two.
17

NOTE1

19       the macro can be used inside struct or union declaration
20

NOTE2

22       the macro creates two objects: A kfifo object with the given name and a
23       buffer for the kfifo object named name##kfifo_buffer
24
26Kernel Hackers Manual 2.6.       November 2011                DECLARE_KFIFO(9)
Impressum