DECLARE_KFIFO(9) FIFO Buffer DECLARE_KFIFO(9)
NAME
DECLARE_KFIFO - macro to declare a kfifo and the associated buffer
SYNOPSIS
DECLARE_KFIFO(name, size);
ARGUMENTS
name
name of the declared kfifo datatype
size
size of the fifo buffer. Must be a power of two.
NOTE1
the macro can be used inside struct or union declaration
NOTE2
the macro creates two objects: A kfifo object with the given name and a buffer for the kfifo object named name##kfifo_buffer
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 DECLARE_KFIFO(9)