pt_can_have_leaf(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay bestie, welcome to pt_can_have_leaf(9) from the Kernel API Manual. This is the function that is true if the current level can have an OA entry. That’s the whole name-check vibe. πŸ’–

✨ SYNOPSIS ✨

bool pt_can_have_leaf (const struct pt_state *pts );

πŸŽ€ ARGUMENTS πŸŽ€

  • pts β€” the current level. That’s it, that’s the argument. 🫢

πŸ’… DESCRIPTION πŸ’…

okay so this one is literally the green-light check: it’s true if the current level can support pt_install_leaf_entry. A leaf entry produce an OA. No cap, that’s the tea. ✨

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./drivers/iommu/generic_pt/pt_common.h β€” the home base. 🏠

Then the function besties, all of them, in order:


source/version and date, cutely: ./drivers/iommu/generic_pt Β· October 2026 Β· pt_can_have_leaf(9) β€” byeee, bestie, go have an OA-entry kind of day πŸ’œπŸ¦‹βœ¨

πŸ“¦ where this page comes from