pt_next_entry(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

Okay bestie, welcome to pt_next_entry(9) β€” yes, that's the title, and this whole page lives in the Kernel API Manual. The function is literally here to advance pts to the next entry. Slay.

✨ SYNOPSIS ✨

void pt_next_entry (struct pt_state *pts );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • pts β€” the iteration state. She's the main character here, and updating her is the whole point.

πŸ’… DESCRIPTION πŸ’…

So what's the vibe? pt_next_entry updates pts so it goes to the next index at this level. That's it, that's the move.

But bestie, listen: if pts is pointing at a contiguous entry, the index may advance by more than one. Not me warning you that this is not always a cute little +1 😭. Do not assume one-step-only, iykyk.

πŸ”₯ SEE ALSO πŸ”₯

All the sibling lore lives in the kernel file ./drivers/iommu/generic_pt/pt_iter.h, and these are the linked pages:


Mwah πŸ’‹ this page is served fresh from the source/version ./drivers/iommu/generic_pt, dated October 2026 β€” periodt.

πŸ“¦ where this page comes from