pt_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– pt_init(9) πŸ’– β€” Kernel API Manual

✨ NAME ✨

pt_init β€” initialize a pt_state on the stack, bestie 🫢✨

πŸ¦‹ SYNOPSIS πŸ¦‹

copy this exact signature, no edits, it's iconic:

struct pt_state pt_init (struct pt_range *range , unsigned int level ,
       struct pt_table_p *table );

πŸŽ€ ARGUMENTS πŸŽ€

  • range β€” the range pointer to embed in the state πŸ’«
  • level β€” the table level for the state, periodt πŸ“Š
  • table β€” pointer to the table memory at level πŸ‘‘

πŸ’… DESCRIPTION πŸ’…

It's literally a helper to initialize the on-stack pt_state from the walker arguments β€” that's the whole assignment, and it ate πŸ”₯

🌈 SEE ALSO 🌈

Kernel file: ./drivers/iommu/generic_pt/pt_iter.h 🧚

the full bestie lineup:


source/version: ./drivers/iommu/generic_pt β€’ date: October 2026 β€’ pt_init(9) β€” byeee, love u, hydrate πŸ’‹βœ¨

πŸ“¦ where this page comes from