tee_shm_free(9)
π tee_shm_free(9) β Kernel API Manual π
okay bestie, welcome to tee_shm_free(9), straight out of the Kernel API Manual β¨ this one's short and sweet and honestly? iconic for it. no cap.
πΈ NAME πΈ
tee_shm_free β free shared memory. that's it. that's the whole vibe. she cleans up after herself π
π¦ SYNOPSIS π¦
void tee_shm_free (struct tee_shm *shm );
she returns void (nothing, zero, nada π«Ά) and she takes exactly one thing. one. singular. main character energy.
π ARGUMENTS π
shmβ handle to the shared memory you wanna free π§ this is the thing getting yeeted. hand her the handle and she handles it, iykyk.
β SEE ALSO β
like, the whole friend group honestly π all of these from the kernel file ./include/linux/tee_drv.h:
struct tee_context(9)struct tee_shm(9)tee_shm_alloc_kernel_buf(9)tee_shm_register_kernel_buf(9)tee_shm_register_fd(9)tee_shm_get_va(9)tee_shm_get_pa(9)tee_shm_get_size(9)tee_shm_get_pages(9)tee_shm_get_page_offset(9)tee_client_open_context(9)tee_client_close_context(9)tee_client_get_version(9)tee_client_open_session(9)tee_client_close_session(9)tee_client_system_session(9)tee_client_invoke_func(9)tee_client_cancel_req(9)struct tee_client_device(9)struct tee_client_driver(9)
go read them all, they're literally all connected π₯
ngl this page is tiny but she's doing her job and she's doing it well. give her the handle, she frees the memory. slay π
and that's the whole page bestie!! π sign-off time: this one lives at ./include/linux, and it's dated October 2026 β periodt, that's the whole source/version/date situation, 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