tee_shm_is_dynamic(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… tee_shm_is_dynamic(9) β€” the vibe check for dynamic shared memory

Okay bestie, welcome to the Kernel API Manual ✨ β€” yes that's the whole manual name, we're not doing the giant header banner today, we're just vibing straight into the good stuff.


🌸 NAME

tee_shm_is_dynamic β€” lowkey just checks whether a shared memory object is the dynamic kind 🫢

So like, if you ever find yourself holding a struct tee_shm * and wondering "is this one of the dynamic ones or not", this is literally the function for you. No cap.


πŸŽ€ SYNOPSIS

bool tee_shm_is_dynamic (struct tee_shm *shm );

Yep that's it. One argument, returns a bool, done. She's simple, she's iconic, she minds her own business πŸ’–


πŸ¦‹ ARGUMENTS

  • shm β€” shared memory handle 🧚 the actual struct tee_shm pointer you're asking about. Hand it over and let the function do its little investigation.

⭐ RETURN

Returns true if the object is dynamic shared memory β€” that's the whole answer, bestie. If it's dynamic, true; if it's not, well, not true. The hedges are doing the work, we don't make claims the source doesn't make πŸ”₯

No ERR_PTR shenanigans, no negative returns, just a clean little boolean truth-telling moment πŸ‘‘


🌈 SEE ALSO

Settle in, this is a whole friend group 🫢. All of these live near the kernel file ./include/linux/tee_core.h:

All 25 of them, present and accounted for πŸ’… iykyk.

Lowkey a reminder: this page lives under ./include/linux, and the doc crew stamped it October 2026. If anything there ever contradicts what you just read, the source wins β€” no cap 😭

That's the whole page, bestie! Go forth, check your shared memory kinds, and slay πŸ’œβœ¨πŸŽ€ No notes, periodt.

πŸ“¦ where this page comes from