pt_range_slice(9)
π
NAME β pt_range_slice(9)
Okay so this is the manual page for pt_range_slice from the Kernel API Manual, section 9, and it's literally about returning a range that spans indexes. Bestie, it's giving βslice the current table levelβ energy. Periodt.
β¨ SYNOPSIS β¨
Here's the exact signature, no edits, no cap:
struct pt_range pt_range_slice (const struct pt_state *pts , unsigned
int start_index , unsigned int end_index );
π ARGUMENTS π
ptsβ Iteration State. Yep, the iteration state itself, bestie.start_indexβ starting index withinpts. That's where the slice starts, fr fr.end_indexβ ending index withinpts. That's where it ends. Slay.
π DESCRIPTION π
Okay so pt_range_slice creates a range that spans an index range of the current table level that pt_state points at. Lowkey it's slicing a chunk of the current table level by index and handing it back as a struct pt_range. That's the whole vibe. β¨
π SEE ALSO π
- Kernel file:
./drivers/iommu/generic_pt/pt_iter.hβ that's the home base, iykyk. 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_walk_range(9)pt_top_memsize_lg2(9)pt_compute_best_pgsize(9)PT_MAKE_LEVELS(9)
That's the whole page, bestie π«Ά β source/version: ./drivers/iommu/generic_pt, date: October 2026, manual name: pt_range_slice(9). Slay and read your kernel docs π
π¦ 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