folioq_append(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to folioq_append(9) from the Kernel API Manual β€” this is the folio-queue glow-up you didn’t know you needed πŸ’–βœ¨

🌸 NAME

folioq_append β€” add a folio to a folio queue segment. literally that’s the whole vibe πŸ¦‹


✨ SYNOPSIS ✨

unsigned int folioq_append (struct folio_queue *folioq , struct folio
*folio );

πŸŽ€ ARGUMENTS πŸŽ€

  • folioq β€” the segment to add to 🫢
  • folio β€” the folio to add πŸ’–

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so folioq_append() adds a folio to the tail of the sequence in a folio queue segment. it increases the occupancy count and returns the slot number for the folio just added. the folio size is extracted and stored in the queue, and the marks are left unmodified β€” no touching, no drama πŸ™ˆ

the way this works is very much β€œyou add it, you get the slot number back” and the queue keeps the size info. marks? untouched. periodt πŸ’…

⚠️ big note, bestie: it’s left up to the caller to check that the segment capacity will not be exceeded and to extend the queue. this function is not doing that for you β€” no cap, that’s on you πŸ’€

πŸ’… SEE ALSO πŸ’…


mwah πŸ’‹ β€” signing off from source/version ./include/linux, dated October 2026 🌈✨🫢

πŸ“¦ where this page comes from