xe_pt_offset(9)
π xe_pt_offset(9) π
okay so bestie, welcome to xe_pt_offset(9) in the Kernel API Manual. itβs giving short-and-sweet kernel API page, and the whole point is the offset of the page-table entry for a given address. no cap, thatβs the vibe. β¨
πΈ NAME πΈ
xe_pt_offset β Offset of the page-table entry for a given address. literally the name, periodt. π
π¦ SYNOPSIS π¦
pgoff_t xe_pt_offset (u64 addr , unsigned int level , const struct
xe_pt_walk *walk );
π ARGUMENTS π
addrβ The address. like, the address youβre asking about πlevelβ Page table level. the level, bestie πͺwalkβ Walk info. the walk info, iykyk πΆββοΈ
π₯ RETURN π₯
The page table entry offset for the given address in a page table with size indicated by level. thatβs the return, and it ate β the way level indicates the page-table size? iconic. slay. π
β¨
π SEE ALSO π
Kernel file: ./drivers/gpu/drm/xe/xe_pt_walk.h
struct xe_ptw(9)struct xe_pt_walk(9)xe_pt_entry_fn(9)struct xe_pt_walk_ops(9)xe_pt_covers(9)xe_pt_num_entries(9)
cute sign-off: source/version ./drivers/gpu/drm/xe, dated October 2026, and this is xe_pt_offset(9) signing off π«Άπβ¨
π¦ 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