tee_device_put(9)
π tee_device_put(9) β kernel API manual, bestie edition
okay so welcome to tee_device_put β¨ this one's from the Kernel API Manual, and it's genuinely such a small little function that it's almost shy about it. Let's get into it.
πΈ NAME πΈ
tee_device_put β decreases the user count for a tee_device. yes that's it. that's the whole job. it's giving "one line of job description, zero drama." π
β¨ SYNOPSIS β¨
void tee_device_put (struct tee_device *teedev );
returns nothing (void, so no refunds, no return values, no surprises π), and takes exactly one thing: a pointer to a struct tee_device.
π¦ ARGUMENTS π¦
teedevβ pointer to thetee_device. that's the whole arg list. one (1) pointer. iconic minimalism. π
π SEE ALSO π
this is the part where the manpage goes absolutely feral with the cross-references, so buckle up bestie, we're listing all of them, no skips, fr fr π
- 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_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_is_dynamic(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)
like. that is a lot of friends. tee_device_put stays booked and busy, highkey the most social function in the TEE subsystem π«Ά
ngl theget/putpairing energy here is real βtee_device_get(9)takes a reference,tee_device_putgives it back. keep that vibe check in mind, iykyk π
anyway that's the whole page, mwah, go forth and balance your refcounts π§ββοΈπ
this absolute cutie of a manpage lives in ./include/linux, it's dated October 2026, and yes the source is ./include/linux too β documented straight from the source, slay β¨π
tee_device_put(9) β October 2026 β ./include/linux π
π¦ 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