pt_walk_range(9)
π pt_walk_range(9) π
okay bestie, welcome to the Kernel API Manual page for pt_walk_range(9) β itβs giving important kernel walker energy, and weβre gonna get through it together π
πΈ NAME πΈ
pt_walk_range β Walk over a VA range
π¦ SYNOPSIS π¦
int pt_walk_range (struct pt_range *range , pt_level_fn_t fn , void *arg
);
π ARGUMENTS π
rangeβ Range pointer π«Άfnβ Walker function to call β¨argβ Value to pass to the function π
β¨ DESCRIPTION β¨
okay so, pt_walk_range walks over a VA range. no cap, thatβs the whole vibe π
The caller should have done a validity check β at least calling pt_check_range β when building range. lowkey important, bestie, donβt skip the vibe check π
The walk will start at the top most table. periodt π
π SEE ALSO π
Kernel file ./drivers/iommu/generic_pt/pt_iter.h β and the whole related squad:
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)pt_next_entry(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_range_slice(9)pt_top_memsize_lg2(9)pt_compute_best_pgsize(9)PT_MAKE_LEVELS(9)
okay thatβs the page, bestie! source/version: ./drivers/iommu/generic_pt Β· date: October 2026 Β· page: pt_walk_range(9) β bye, love u, go walk that range responsibly πβ¨
π¦ 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