tee_protmem...c_pool_alloc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– tee_protmem_static_pool_alloc β€” like, the Kernel API Manual page ✨

okay so bestie, welcome to tee_protmem...c_pool_alloc(9) from the Kernel API Manual, we're literally in the <rainbow>kernel API manual</rainbow> rn and this one is a lil niche but so good. iykyk 🫢


🌸 NAME 🌸

tee_protmem_static_pool_alloc β€” create a protected memory manager πŸ’… (yes that's the whole job, and yes she eats)


✨ SYNOPSIS ✨

struct tee_protmem_pool * tee_protmem_static_pool_alloc (phys_addr_t paddr , size_t size );

like β€” she takes two args and hands you back a struct tee_protmem_pool *. no cap. πŸ¦‹


πŸŽ€ ARGUMENTS πŸŽ€

  • paddr β€” the physical address where the pool starts, fr fr. that's the beginning of the vibe.
  • size β€” how big the pool is, measured in bytes. the whole size in bytes situation. πŸ“

🧚 RETURN 🧚

you get a pointer to a 'struct tee_protmem_pool' … or an ERR_PTR if it failed 😭 so like, check that pointer, bestie, don't just rawdog it into the next function. errors are giving plot twist energy and you need to catch them πŸ’€


πŸ‘‘ SEE ALSO πŸ‘‘

the whole friend group, plus the kernel file she lives in:

like, that's the entire group chat and i'm obsessed with every single one of them 🫢✨


ok that's the whole page, no notes, she's iconic, she's main character energy, periodt πŸ’œ

and finally, the lil sign-off: this absolute baddie of a page comes from the ./include/linux source tree and is dated October 2026, filed under tee_protmem...c_pool_alloc(9). πŸŽ€βœ¨ slay, go read the rest of the kernel API manual, ily, bye πŸ’–

πŸ“¦ where this page comes from