STRUCT XE_PT_WALK(9)
okay bestie π welcome to the struct xe_pt_walk(9) page in the Kernel API Manual β this is the embeddable struct for walk parameters, and it's giving tiny-struct-big-pagewalk energy β¨
πΈ NAME πΈ
struct xe_pt_walk β embeddable struct for walk parameters π«Ά yes, embeddable is literally the whole vibe.
β¨ SYNOPSIS β¨
okay so here's the whole struct shape, no cap:
struct xe_pt_walk {
const struct xe_pt_walk_ops *ops;
const u64 *shifts;
unsigned int max_level;
bool shared_pt_mode;
bool staging;
};
π¦ Members π¦
opsβ the walk ops used for the pagewalk π main character energy for the actual walk.shiftsβ array of page-table entry shifts used for the different levels, starting out with the leaf level 0 page-shift as the first entry. It's legal for this pointer to be changed during the walk. yes bestie, it can change mid-walk πmax_levelβ highest populated level inshiftsπshared_pt_modeβ whether to skip all entries that are private to the address range and called only for entries that are shared with other address ranges. Such entries are referred to as shared pagetables. iykyk πstagingβ walk staging PT structure π
π SEE ALSO π
Kernel file ./drivers/gpu/drm/xe/xe_pt_walk.h β then go peek at struct xe_ptw(9), xe_pt_entry_fn(9), struct xe_pt_walk_ops(9), xe_pt_covers(9), xe_pt_num_entries(9), and xe_pt_offset(9) π
okay that's the page bestie π«Ά source/version: ./drivers/gpu/drm/xe; date: October 2026; and we're out here repping struct xe_pt_walk(9) π
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