other versions
DEFINE_KFIFO(9) | FIFO Buffer | DEFINE_KFIFO(9) |
NAME¶
DEFINE_KFIFO - macro to define and initialize a fifoSYNOPSIS¶
DEFINE_KFIFO(fifo, type,
size);
ARGUMENTS¶
fifoname of the declared fifo datatype
type
type of the fifo elements
size
the number of elements in the fifo, this must be a power
of 2
NOTE¶
the macro can be used for global and local fifo data type variables.COPYRIGHT¶
January 2017 | Kernel Hackers Manual 4.8. |