KFIFO_RESET(9) | FIFO Buffer | KFIFO_RESET(9) |
NAME¶
kfifo_reset - removes the entire fifo content
SYNOPSIS¶
kfifo_reset(fifo);
ARGUMENTS¶
fifo
address of the fifo to be used
NOTE¶
usage of kfifo_reset is dangerous. It should be only called when the fifo is exclusived locked or when it is secured that no other thread is accessing the fifo.
COPYRIGHT¶
June 2024 | Kernel Hackers Manual 3.10 |