xe_pt_entry_fn(9)
π xe_pt_entry_fn(9) β the kernel API manual, but make it cute π
okay so bestie, quick vibe check: this is xe_pt_entry_fn, a gpu page-table-walk callback-function from the kernel API manual. yes the whole name is a mouthful, no we're not renaming it, periodt. β¨
π¦ SYNOPSIS π¦
int xe_pt_entry_fn (struct xe_ptw *parent , pgoff_t offset , unsigned
int level , u64 addr , u64 next , struct xe_ptw **child , enum
page_walk_action *action , struct xe_pt_walk *walk );
like, literally that's the whole signature. she's long, she's iconic, she ate. π
πΈ ARGUMENTS πΈ
parentβ The parent page table. the main character of this whole situation tbh. πoffsetβ The offset (number of entries) into the page table. yes, number of entries, not bytes β read the label bestie. πlevelβ The level ofparent. she's got layers, okay. π§addrβ The virtual address. πnextβ The virtual address for the next call, or end address. iykyk. βchildβ Pointer to pointer to child page-table at this offset. The function may modify the value pointed to if, for example, allocating a child page table. (double pointer energy fr fr, she can change what's underneath. π«Ά)actionβ The walk action to take upon return. See<linux/pagewalk.h>. π₯walkβ The walk parameters. the whole itinerary, basically. π
ngl,actionandwalkare the ones you actually wanna go read up on βactionpoints you at<linux/pagewalk.h>, andwalkis carrying all the parameters. don't skip her. π
π SEE ALSO π
Kernel file ./drivers/gpu/drm/xe/xe_pt_walk.hstruct xe_ptw(9)struct xe_pt_walk(9)struct xe_pt_walk_ops(9)xe_pt_covers(9)xe_pt_num_entries(9)xe_pt_offset(9)
like go click around, it's giving lore deep-dive. πβ¨
and that's the page, bestie! πΈ this one shipped out of ./drivers/gpu/drm/xe back in October 2026, and the manual labels it xe_pt_entry_fn(9) β same name up top, same name at the bottom, consistency queen ππ π¦
π¦ 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