qcomtee_objref_to_arg(9)
πΈ 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 π
qcomtee_context_add_qtee_object(9)qcomtee_context_del_qtee_object(9)qcomtee_objref_from_arg(9)qcomtee_params_to_args(9)qcomtee_params_from_args(9)qcomtee_object_invoke(9)qcomtee_supp_recv(9)qcomtee_supp_send(9)qcomtee_get_qtee_feature_list(9)qcomtee_remove(9)
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
- 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