qcomtee_objref_to_arg(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay bestie, welcome to qcomtee_objref_to_arg(9) from the Kernel API Manual ✨ this one is literally β€œConvert OBJREF parameter to QTEE argument.” πŸ’…

tiny vibe check: OBJREF parameter in, QTEE argument out. That’s the whole assignment. 🫢

✨ SYNOPSIS ✨

int qcomtee_objref_to_arg (struct qcomtee_arg *arg , struct tee_param
       *param , struct tee_context *ctx );

πŸ’… ARGUMENTS πŸ’…

  • arg β€” the QTEE argument. πŸŽ€
  • param β€” the TEE parameter.
  • ctx β€” the context in which the conversion should happen. πŸŒ€

πŸ¦‹ DESCRIPTION πŸ¦‹

So this function assumes param is an OBJREF β€” like, that’s the premise, bestie, pls respect it 😭.

It does not set arg.type; the caller should initialize it to a correct enum qcomtee_arg_type value. Yes, that part is on you πŸ’–.

It gets the object’s refcount in arg; the caller should manage to put it afterward. So don’t forget the cleanup arc, because this function is not doing the put for you, periodt. πŸ‘‘

πŸŽ€ RETURN πŸŽ€

On success, returns 0; on failure, returns < 0. That’s it. Slay. ✨

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./drivers/tee/qcomtee/call.c β€” yes, go look at the source, it’s giving main character energy πŸ‘‘


and that’s the whole page, bestie πŸ’– this little icon came from ./drivers/tee/qcomtee, and it’s dated October 2026 πŸŽ€

πŸ“¦ where this page comes from