tee_shm_get_pages(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… tee_shm_get_pages β€” the Kernel API Manual, but make it cute

okay so bestie, welcome to tee_shm_get_pages(9) β€” that's the section 9 (kernel API) page, and it's literally about getting the list of pages that hold a shared buffer. that's it, that's the vibe. πŸŽ€


✨ NAME ✨

tee_shm_get_pages β€” get list of pages that hold shared buffer. no cap, the whole personality of this function is right there in the name. πŸ¦‹


🌸 SYNOPSIS 🌸

struct page ** tee_shm_get_pages (struct tee_shm *shm , size_t
       *num_pages );

it gives you back a struct page ** β€” a pointer to the pages array, periodt. and yeah, it takes two things, let's get into them πŸ’–


πŸ‘‘ ARGUMENTS πŸ‘‘

  • shm β€” the shared memory handle. this is your vibe pass into the shared buffer world πŸ’…
  • num_pages β€” the number of pages will be stored there, and it returns a pointer to the pages array. like, both things happen through this one argument, she's doing double duty and she's iconic for it ✨

πŸ¦‹ SEE ALSO πŸ¦‹

oh bestie, this list is long and honestly it ate. everything here lives with the rest of the TEE crowd β€” kernel file ./include/linux/tee_drv.h is the one holding the whole friend group πŸ’œ


ngl the whole tee_shm_* and tee_client_* family is giving main character energy β€” if this page didn't answer your question, one of her twenty little siblings 100% will πŸ™ˆ

okay that's the page!! mwah πŸ’‹ this one shipped out of ./include/linux in October 2026, and it's filed under the tee_shm_get_pages(9) header up top β€” go be obsessed with your pages, bestie, you've earned it 🌈⭐🫢

πŸ“¦ where this page comes from