folioq_append(9)
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 π
- Kernel file
./include/linux/folio_queue.hπ folioq_init(9)folioq_nr_slots(9)folioq_count(9)folioq_full(9)folioq_is_marked(9)folioq_mark(9)folioq_unmark(9)folioq_is_marked2(9)folioq_mark2(9)folioq_unmark2(9)folioq_append_mark(9)folioq_folio(9)folioq_folio_order(9)folioq_folio_size(9)folioq_clear(9)
mwah π β signing off from source/version ./include/linux, dated October 2026 πβ¨π«Ά
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms