pvr_page_ta...et_entry_raw(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

pvr_page_table_l0_get_entry_raw(9) ✨ β€” okay bestie, this is the Kernel API Manual page for accessing an entry from the raw equivalent of a mirror level 0 page table. It’s giving β€œpointer to a slot, not a promise,” and we’re gonna get into it. πŸ’…

πŸ’– NAME πŸ’–

Access an entry from the raw equivalent of a mirror level 0 page table. That’s the whole vibe: this is the raw-side accessor for a mirror level 0 page table entry. 🫢

✨ SYNOPSIS ✨

struct pvr_page_table_l0_entry_raw * pvr_page_table_l0_get_entry_raw
(struct pvr_page_table_l0 *table , u16 idx );

πŸŽ€ ARGUMENTS πŸŽ€

  • table β€” Target level 0 page table. πŸ‘‘
  • idx β€” Index of the entry to access. 🎯

πŸ¦‹ DESCRIPTION πŸ¦‹

Technically this function returns a pointer to a slot in a raw level 0 page table, since the returned β€œentry” is not guaranteed to be valid. 😭 Not me handing you a pointer and being like β€œbestie, please verify.” The caller must verify the validity of the entry at the returned address (perhaps using pvr_page_table_l0_entry_raw_is_valid) before reading or overwriting it.

The value of idx is not checked here; it is the caller’s responsibility to ensure idx refers to a valid index within table before dereferencing the returned pointer. This is especially important for level 0 page tables, which can have a variable number of entries. 🚨 So yeah: vibe check your index, fr fr.

🌸 RETURN 🌸

A pointer to the requested raw level 0 page table entry. periodt. πŸ’–

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file and the whole extended universe:

this page is from ./drivers/gpu/drm/imagination, dated October 2026, with footer title pvr_page_ta...et_entry_raw(9) β€” mwah, bye bestie! πŸ’–βœ¨

πŸ“¦ where this page comes from