folioq_count(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 folioq_count(9) 🌸

okay bestie, welcome to the folioq_count(9) page from the Kernel API Manual β€” yes, that's the manual name, folded in right here at the top like a little name tag. This one is short, sweet, and very β€œtiny function, important vibe check.” πŸ’…

✨ NAME ✨

folioq_count β€” query the occupancy of a folio queue segment πŸŽ€

🌟 SYNOPSIS 🌟

unsigned int folioq_count (struct folio_queue *folioq );

🫢 ARGUMENTS 🫢

  • folioq β€” the segment to query, aka the one getting the vibe check. πŸ’–

πŸ”₯ DESCRIPTION πŸ”₯

Okay so this function queries the number of folios that have been added to a folio queue segment. That's the whole mission. ✨

Important lore, no cap: this count is not decreased as folios are removed from a segment. So once they've been added, the number stays put β€” it's not a live occupancy meter that drops when folios leave. 🫢

πŸ‘‘ SEE ALSO πŸ‘‘

The kernel file is ./include/linux/folio_queue.h, and the whole squad is:

Sign-off: mwah πŸ’‹ this page is stamped with source/version ./include/linux and date October 2026 β€” iconic, periodt. 🌈

πŸ“¦ where this page comes from