teedev_close_context(9)
π teedev_close_context(9) π
okay so bestie, welcome to the Kernel API Manual β yes the whole manual, we're in the kernel section of the docs, and this little page is about one very specific function in the TEE (Trusted Execution Environment) corner of the tree. it's short, it's sweet, it's giving "one job and it does it" π
β¨ NAME β¨
teedev_close_context β closes a struct tee_context π«Ά
like, that's the whole pitch. the name literally tells you what it does, no cap.
πΈ SYNOPSIS πΈ
void teedev_close_context (struct tee_context *ctx );
notice the return type is void, so it's not gonna hand you back a value to obsess over β it just does the thing and dips β¨
π¦ ARGUMENTS π¦
ctxβ thestruct tee_contextyou want to close. that's it. that's the argument. hand it over and let the function cook π
π SEE ALSO π
okay so this is the part where the manpage flexes its whole friend group π β the source lives in the kernel file ./include/linux/tee_core.h, and here's everyone it wants you to go read next:
- 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_is_dynamic(9)tee_shm_put(9)tee_shm_get_id(9)tee_shm_get_from_id(9)teedev_open(9)teedev_ctx_get(9)teedev_ctx_put(9)
fr fr that's a whole squad β especially teedev_open(9), the literal opposite-energy bestie of this function. go say hi π and while you're at it, teedev_ctx_get(9) and teedev_ctx_put(9) are right there too, iykyk π
reminder bestie: the whole clause in the original is "Kernel file ./include/linux/tee_core.h" β that's where the tea is actually at, so peek there if you want the real source vibes π§
and that's the page!! π literally four sections and a dream. this icon was served up from ./include/linux and dated October 2026 β so yeah, mark your calendars, the future is now, slay πβ mwah π
π¦ 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