tee_shm_is_dynamic(9)
π 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 actualstruct tee_shmpointer 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:
struct tee_device(9)struct tee_driver_ops(9)struct tee_desc(9)struct tee_protmem_pool(9)struct tee_protmem_pool_ops(9)tee_device_alloc(9)tee_device_register(9)tee_device_unregister(9)tee_device_get(9)tee_device_put(9)tee_device_set_dev_groups(9)tee_session_calc_client_uuid(9)struct tee_shm_pool(9)struct tee_shm_pool_ops(9)tee_shm_pool_free(9)tee_protmem_static_pool_alloc(9)tee_get_drvdata(9)tee_shm_alloc_priv_buf(9)tee_shm_put(9)tee_shm_get_id(9)tee_shm_get_from_id(9)teedev_open(9)teedev_close_context(9)teedev_ctx_get(9)teedev_ctx_put(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms