ufshcd_mcq_sqe_search(9)
π NAME π
okay bestie, meet ufshcd_mcq_sqe_search from the Kernel API Manual π
. Itβs literally here to search for the command in the submission queue. If the command is in the submission queue and not issued to the device yet, nullify the sqe so the host controller will skip fetching the sqe. slay, but make it kernel-safe β¨.
β¨ SYNOPSIS β¨
bool ufshcd_mcq_sqe_search (struct ufs_hba *hba , struct ufs_hw_queue
*hwq , int task_tag );
π ARGUMENTS π
hbaβ per adapter instance. like, the adapterβs whole main-character setup π.hwqβ Hardware Queue to be searched. this queue is getting the vibe check π.task_tagβ The commandβs task tag. the little name tag on the command π·οΈ.
π₯ RETURN π₯
Returns true if the SQE containing the command is present in the SQ (not fetched by the controller); returns false if the SQE is not in the SQ. so: true = SQE is present in the SQ, false = itβs not π.
π SEE ALSO π
Kernel file: ./drivers/ufs/core/ufs-mcq.c π¦
ufshcd_mcq_config_mac(9)ufshcd_mcq_req_to_hwq(9)ufshcd_mcq_queue_cfg_addr(9)ufshcd_get_hba_mac(9)ufshcd_mcq_sq_cleanup(9)ufshcd_mcq_nullify_sqe(9)ufshcd_mcq_abort(9)
signing off from ./drivers/ufs/core, stamped October 2026, with ufshcd_mcq_sqe_search(9) up in the header πβ¨
π¦ 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