xe_pt_offset(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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


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