folio_next_index(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ folio_next_index β€” the kernel API manual, bestie edition ✨

okay so picture this: you're deep in folio_next_index(9) from the Kernel API Manual, and honestly? it's a tiny little legend and I'm obsessed 🫢


πŸ’– NAME πŸ’–

folio_next_index β€” literally gets you the index of the next folio. that's it. that's the whole job. iconic behaviour, no notes πŸ’…


🌸 SYNOPSIS 🌸

pgoff_t folio_next_index (const struct folio *folio );

like look at that signature. clean. minimal. giving main character energy ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • folio β€” the current folio, aka the one you're standing on right now bestie πŸ‘‘

πŸ¦‹ RETURN πŸ¦‹

it hands you back the index of the folio that follows this folio in the file. so basically "who's next?" and it just tells you, no cap πŸ’–


🌈 SEE ALSO 🌈

okay this list is LONG, like a group chat where everyone's typing at once 😭 but every single one of these cuties is from the Kernel file ./include/linux/pagemap.h, and here they all are, not skipping a single one:


bestie this page is one function, one argument, one return value. short and sweet and honestly? we love a low-maintenance icon πŸ’€

and that's the whole vibe check πŸ’œ this legend lives over in ./include/linux, dated October 2026, and it's filed under folio_next_index(9) in the Kernel API Manual β€” periodt, that's the sign-off πŸŽ€βœ¨πŸŒΈ

πŸ“¦ where this page comes from