kfifo_size(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ kfifo_size(9) ✨

ok so this is a page from the Kernel API Manual (yes, the kfifo_size(9) one, bestie, you found it πŸ’…) and it's honestly short and sweet β€” we're literally just asking a fifo how big it is. that's it. that's the whole vibe check. πŸŽ€


🌸 NAME 🌸

kfifo_size β€” returns the size of the fifo in elements

like, the capacity, not how much is currently chilling inside it. size. elements. boom. ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

kfifo_size (fifo );

(that trailing space before the ) is exactly how the page has it, no i am not fixing it, it's canon now πŸ™ˆ)


πŸ’– ARGUMENTS πŸ’–

  • fifo β€” address of the fifo to be used 🫢

that's the whole argument list. one (1) fifo address. she's low maintenance. we stan. πŸ‘‘


🌈 SEE ALSO 🌈

ok this is the part where the page goes absolutely feral and lists the entire kfifo extended universe, so buckle up bestie, we're going through all of it, and also peep the kernel file it lives in: ./include/linux/kfifo.h πŸ’€

forty whole entries. she ate and left no crumbs. πŸ”₯

ngl, if you got here looking for one specific thing, the answer is probably in that list somewhere. iykyk. πŸ’œ

and that's the page!! 🌸 source/version is ./include/linux, dated October 2026 β€” so go forth, call kfifo_size, know your element count, and slay πŸ’…βœ¨ bye bestie!! πŸ«ΆπŸŽ€

πŸ“¦ where this page comes from