tee_shm_get_page_offset(9)
β¨ tee_shm_get_page_offset β¨
Okay bestie, so this one is a kernel API manual page β like, the official docs vibe, section 9, kernel dev territory π β and it's all about one tiny little helper that tells you where a shared buffer actually starts relative to the page it lives on. It's giving "small function, big main character energy" π
πΈ NAME πΈ
tee_shm_get_page_offset β get shared buffer offset from page start β¨
π¦ SYNOPSIS π¦
size_t tee_shm_get_page_offset (struct tee_shm *shm );
π ARGUMENTS π
shmβ the shared memory handle π«Ά and yes, this is the thing that returns the page offset of the shared buffer. That's the whole job. It's literally right there.
π SEE ALSO π
This is the part where the page just drops the whole friend group, and honestly? Obsessed. Here's everyone:
- 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_free(9)tee_shm_get_va(9)tee_shm_get_pa(9)tee_shm_get_size(9)tee_shm_get_pages(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)
Fr fr, that's the whole page. No hidden options, no sneaky environment variables, no exit statuses β just a return value of type size_t and a whole lot of friends in SEE ALSO π
And that's a wrap, bestie π this little gem lives under ./include/linux, it's dated October 2026, and it's part of the Kernel API Manual β tee_shm_get_page_offset(9), 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