pt_entry_oa_lg2sz(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to the pt_entry_oa_lg2sz(9) page from the Kernel API Manual β€” this one is short, iconic, and here to answer one tiny-but-important question: how big is this OA entry? πŸ’…βœ¨

πŸ’– NAME πŸ’–

pt_entry_oa_lg2sz β€” returns the size of an OA entry. That’s the whole assignment, and it ate. 🫢

🌸 SYNOPSIS 🌸

unsigned int pt_entry_oa_lg2sz (const struct pt_state *pts );

πŸŽ€ ARGUMENTS πŸŽ€

  • pts β€” the entry you’re querying, bestie. You pass it in so the function can spill the tea. πŸ“

πŸ¦‹ DESCRIPTION πŸ¦‹

So here’s the vibe check: if the entry is not contiguous, this returns pt_table_item_lg2sz. No cap. But if it is contiguous, it returns the total VA/OA size of the entire contiguous entry. That’s the whole plot, and it understood the assignment πŸ‘‘.

πŸ’œ SEE ALSO πŸ’œ


xoxo, bestie πŸ’‹ source/version: ./drivers/iommu/generic_pt Β· date: October 2026 Β· this page is serving Kernel API Manual energy, periodt.

πŸ“¦ where this page comes from