kfifo_dma_out_finish(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

kfifo_dma_out_finish(9) β€” a Kernel API Manual moment πŸ’…

okay so bestie, we are in the Kernel API Manual and this page is about a tiny but important macro. let's get into it 🫢


🌸 NAME 🌸

kfifo_dma_out_finish β€” finish a DMA OUT operation

✨ SYNOPSIS ✨

kfifo_dma_out_finish (fifo , len );

πŸŽ€ ARGUMENTS πŸŽ€

  • fifo β€” address of the fifo to be used
  • len β€” number of bytes transferred

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so this macro finishes a DMA OUT operation. the out counter will be updated by the len parameter. and no error checking will be done β€” like, none, zero, it is not doing a vibe check on your errors 😭.

also the locking tea: note that with only one concurrent reader and one concurrent writer, you don't need extra locking to use these macros. periodt πŸ’…

πŸ‘‘ SEE ALSO πŸ‘‘

peep the Kernel file ./include/linux/kfifo.h and these iconic siblings:


signing off from the Kernel API Manual πŸ’œ source/version: ./include/linux, date: October 2026, page: kfifo_dma_out_finish(9) β€” byeee 🫢✨

πŸ“¦ where this page comes from