qcomtee_cb_params_from_args(9)
π qcomtee_cb_params_from_args(9) β like, the Kernel API Manual page, bestie β¨
Okay so sit down, grab a strawberry drink π, because we're reading the manual page for qcomtee_cb_params_from_args(9) from the Kernel API Manual. Yes it's a whole function name. Yes I'm obsessed. Let's get into it π«Ά
πΈ NAME πΈ
qcomtee_cb_params_from_args β converts QTEE arguments into TEE parameters. That's the whole gig. It's giving translator energy, no cap π
β¨ SYNOPSIS β¨
int qcomtee_cb_params_from_args (struct tee_param *params , struct
qcomtee_arg *u , int num_params , void __user *ubuf_addr , size_t
ubuf_size , struct tee_context *ctx );
Look at all those arguments. Six of them. She's high maintenance and we love that for her π
π ARGUMENTS π
paramsβ the TEE parameters. This is where the converted stuff comes out, bestie πuβ the QTEE arguments. The source material, if you will πnum_paramsβ literally just how many elements are in that parameter array. Count them. Be accurate π§ubuf_addrβ a user buffer, and it's the one holding the args of typeQCOMTEE_ARG_TYPE_IB. Like, that specific type, okay? πubuf_sizeβ the size of that user buffer. Big buffer energy πΈctxβ the context where this whole conversion situation is supposed to happen π¦
π DESCRIPTION π
So the way this works is: it expects params to already have enough entries for u. Like, enough room. Do not show up with a too-small array, that's not the vibe π
And the entries in params? They're of type TEE_IOCTL_PARAM_ATTR_TYPE_NONE. That's just how it is. Periodt β¨
π₯ RETURN π₯
- β On success β returns the number of input parameters. Slay.
- π On failure β returns a value that's
< 0. So like, negative. Check for it, ngl.
π¦ SEE ALSO π¦
- Kernel file
./drivers/tee/qcomtee/user_obj.c - User Objects aka Supplicants(9)
struct qcomtee_user_object(9)enum qcomtee_req_state(9)ureq_dequeue(9)ureq_select(9)qcomtee_user_param_to_object(9)qcomtee_cb_params_to_args(9)β yes, her reverse sister, iconic πqcomtee_user_object_select(9)qcomtee_user_object_submit(9)
π Little sign-off from the source: this page lives in ./drivers/tee/qcomtee, and it's dated October 2026. Mark your calendars, bestie ποΈπ
Go forth and convert those args. You got this, main character ππ
π¦ 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