pt_next_entry(9)
π 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:
pt_check_range(9)pt_index_to_va(9)pt_entry_fully_covered(9)pt_range_to_index(9)pt_range_to_end_index(9)for_each_pt_level_entry(9)pt_load_single_entry(9)pt_top_range(9)pt_all_range(9)pt_upper_range(9)pt_make_range(9)pt_init(9)pt_init_top(9)pt_descend(9)pt_walk_range(9)pt_range_slice(9)pt_top_memsize_lg2(9)pt_compute_best_pgsize(9)PT_MAKE_LEVELS(9)
Mwah π this page is served fresh from the source/version ./drivers/iommu/generic_pt, dated October 2026 β periodt.
π¦ 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