pt_range_to_index(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ pt_range_to_index ✨

okay bestie, welcome to the Kernel API Manual entry for pt_range_to_index(9) β€” yes that trailing (9) means it's a kernel function, we love a section-9 moment πŸ’…


πŸŽ€ NAME πŸŽ€

pt_range_to_index β€” literally just gives you the starting index for an iteration. that's it. that's the whole vibe. no cap 🫢


🌸 SYNOPSIS 🌸

unsigned int pt_range_to_index (const struct pt_state *pts );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • pts β€” the Iteration State. the main character of this whole function, honestly. you hand it over and it tells you where the iteration starts 🧚

πŸ’– RETURN πŸ’–

it returns the starting index for the iteration in pts β€” like, the index you kick things off at. periodt. ✨

ngl this one's short and sweet, but every detail counts, so here we are πŸ“

🌈 SEE ALSO 🌈

okay the friend group is huge, brace yourself, iykyk 😭

Kernel file ./drivers/iommu/generic_pt/pt_iter.h

like, they all ate, go read them πŸ”₯πŸ‘‘


and that's the page, bestie πŸŽ€ sign-off time: this gem lives under the source/version ./drivers/iommu/generic_pt, dated October 2026 β€” iconic behavior honestly, mwah πŸ’œπŸ¦‹

πŸ“¦ where this page comes from