ufshcd_prep...ery_req_upiu(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay bestie, so ufshcd_prepare_utp_query_req_upiu β€” say that five times fast, i can't either β€” is the Kernel API Manual girlie whose whole job is: fill the utp_transfer_req_desc for a query request. that's it. that's the gig. she's a filler, she's a preparer, she's lowkey carrying the UTP layer 🫢✨


🌸 SYNOPSIS 🌸

void ufshcd_prepare_utp_query_req_upiu (struct ufs_hba *hba , struct scsi_cmnd *cmd , u8 upiu_flags );

like, she returns nothing (void), she takes three things, and she does not miss. periodt πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • hba β€” the UFS hba. your host bus adapter main character. UFS hba. that's the whole description, she's not wordy, respect it πŸ‘‘
  • cmd β€” a SCSI command pointer. the actual request that's about to get dressed up in UTP clothing πŸ’ƒ
  • upiu_flags β€” flags. u8. that's it. that's the vibe check. flags πŸ”₯

πŸ¦‹ SEE ALSO πŸ¦‹

no fr, this section is the guest list β€” every single friend of the family is here, and we are NOT cutting anyone from the invite list, that would be rude 😭 so here they all are, live from the kernel file ./drivers/ufs/core/ufshcd.c:

ngl that's a whole friend group and they ALL showed up to the party πŸ’€ every single one stays on the list, i don't make the rules (i do, and the rule is: no detail left behind) πŸ’–

and that's the whole page bestie!! this little love letter lives in ./drivers/ufs/core, dated October 2026, and it's brought to you by the ufshcd_prep...ery_req_upiu(9) girlies from the Kernel API Manual β€” mwah, slay, go read some source code πŸ§šπŸ’œ

πŸ“¦ where this page comes from