bio_for_each_folio_all(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– bio_for_each_folio_all β€” Kernel API Manual energy πŸ’–

okay so bestie, picture this: you've got a bio (that's the block I/O beastie) and it's made of folios, and you need to actually touch every single one of them. that's literally what this macro is for. say hi to bio_for_each_folio_all from the Kernel API Manual, she's iconic and she's here to loop πŸŒ€


🌸 NAME 🌸

bio_for_each_folio_all β€” iterate over each folio in a bio. that's it, that's the whole job, and she ate πŸ’…


✨ SYNOPSIS ✨

bio_for_each_folio_all (fi , bio );

yes the spacing is a little chaotic, no we don't fix it, that's the lore πŸŽ€


🫢 ARGUMENTS 🫢

  • fi β€” a struct folio_iter that gets updated for each folio. think of it as your little tracker bestie that keeps up with where you are in the loop, she gets refreshed every single pass πŸ”„
  • bio β€” the struct bio you're iterating over. this is the main character of the operation, the thing you're walking through, respect her πŸ‘‘

πŸ¦‹ SEE ALSO πŸ¦‹

like a whole friend group of bio functions, go say hi to all of them fr fr πŸ«‚


🌈 the cute sign-off 🌈

this page? sourced straight from ./include/linux, dated October 2026 β€” a whole vibe, a whole era, no cap πŸ’œ thanks for reading bestie, now go iterate responsibly and slay βœ¨πŸ§šβ€β™€οΈπŸ“

πŸ“¦ where this page comes from