ureq_select(9)
π ureq_select(9) π
okay so welcome to the Kernel API Manual, bestie β this is the ureq_select(9) page, and itβs literally about selecting the next request in a context. No cap, itβs giving βsmall function, important jobβ energy. π
π NAME π
ureq_select β select the next request in a context. periodt. β¨
β¨ SYNOPSIS β¨
struct qcomtee_ureq * ureq_select (struct qcomtee_context_data *ctxdata
, size_t ubuf_size , int num_params );
π«Ά ARGUMENTS π«Ά
ctxdataβ context data for a context to pop a request from. Thatβs the context weβre working with, iykyk.ubuf_sizeβ size of the available buffer forUBUFparameters. Thatβs the buffer size number, fr fr.num_paramsβ number of entries for theTEEparameter array. Thatβs the count of array entries, no cap.
π¦ DESCRIPTION π¦
So hereβs the vibe: it checks if num_params is large enough to fit the next request arguments. It also checks if ubuf_size is large enough to fit IB buffer arguments. Thatβs the whole size-check moment, and itβs highkey important. β¨
π CONTEXT π
The caller should hold qcomtee_context_data->reqs_lock.
bestie, this is the lock situation: the caller should hold qcomtee_context_data->reqs_lock. Do not skip the lock vibe check. π
π« RETURN π«
On success, it returns a request; on failure, it returns NULL and ERR_PTR. So yeah β success gets you a request, failure gets you NULL and ERR_PTR. π
π 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)qcomtee_user_param_to_object(9)qcomtee_cb_params_from_args(9)qcomtee_cb_params_to_args(9)qcomtee_user_object_select(9)qcomtee_user_object_submit(9)
xoxo, your kernel bestie π β from the ./drivers/tee/qcomtee source/version, dated October 2026, with ureq_select(9) signing off πβ¨
π¦ 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