STRUCT OPTEE_CALL_QUEUE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct optee_call_queue(9) β€” like, the OP-TEE call queue management era

okay so bestie, welcome to the Kernel API Manual page for struct optee_call_queue, and no cap, this lil struct is the whole group chat moderator for OP-TEE calls. it's giving backstage-pass energy. let's get into it πŸ’–


✨ NAME ✨

struct optee_call_queue β€” OP-TEE call queue management. that's it, that's the vibe. she manages the queue, she runs the queue, she is the queue πŸŽ€


🌸 SYNOPSIS 🌸

here's the whole struct, exactly as she comes, no edits, no notes:

struct optee_call_queue {
    struct mutex mutex;
    struct list_head waiters;
    int total_thread_count;
    int free_thread_count;
    int sys_thread_req_count;
 };

like, gaze upon her. five fields. immaculate. πŸ”₯


πŸ‘‘ Members πŸ‘‘

okay so each of these is a whole personality, let's meet the cast:

  • mutex β€” serializes access to this struct. she's the bouncer at the door fr, one thread in at a time, no cutting the line πŸ’…
  • waiters β€” list of threads waiting to enter OP-TEE. literally the line outside the club, everybody hoping to get let in πŸ™ˆ
  • total_thread_count β€” overall number of thread context in OP-TEE, or 0. so it's the full headcount, and yes, 0 is a valid answer, she can be empty 🫢
  • free_thread_count β€” number of threads context free in OP-TEE. the available ones. the unoccupied ones. the "come on in, we have room" ones ✨
  • sys_thread_req_count β€” number of registered system thread sessions. the system thread girlies who signed up and are officially on the list πŸ¦‹

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/tee/optee/optee_private.h struct optee_call_waiter(9)
  • struct optee_supp(9)
  • struct optee_pcpu(9)
  • struct optee_smc(9)
  • struct optee_ffa(9)
  • struct optee_revision(9)
  • struct optee_ops(9)
  • struct optee(9)

like a whole friend group, honestly. go read them all, iykyk ⭐


and that's the page, bestie!! mwah πŸ’– this one lives in ./drivers/tee/optee and the version/date stamp on it is October 2026 β€” so yeah, she's from the future, main character energy only πŸ‘‘βœ¨πŸŽ€

πŸ“¦ where this page comes from