STRUCT UTP_UPIU_REQ(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct utp_upiu_req β€” the general upiu request structure πŸ’–

okay so bestie, this is manual page 9 from the Kernel API Manual for struct utp_upiu_req. It’s the general upiu request structure, and we’re about to give every single member a full vibe check. no skipping, no cap. πŸ’…βœ¨

🌸 NAME 🌸

struct utp_upiu_req β€” general upiu request structure. 🫢

πŸ¦‹ SYNOPSIS πŸ¦‹

the way this struct is laid out is iconic, and every character stays exactly where it belongs:

       struct utp_upiu_req {
           struct utp_upiu_header header;
           union {
             struct utp_upiu_cmd             sc;
             struct utp_upiu_query           qr;
             struct utp_upiu_query           uc;
           };
        };

πŸ’… Members πŸ’…

okay these members are giving main character energy, and every one of them matters:

  • header β€” UPIU header structure, DW-0 to DW-2. πŸ‘‘
  • {unnamed_union} β€” anonymous. literally an anonymous union, bestie. 🫢
  • sc β€” fields structure for scsi command, DW-3 to DW-7. πŸ”₯
  • qr β€” fields structure for query request, DW-3 to DW-7. 🌈
  • uc β€” use utp_upiu_query to host the 4 dwords of uic command. πŸ’œ

πŸŽ€ SEE ALSO πŸŽ€

Kernel file ./include/uapi/scsi/scsi_bsg_ufs.h struct utp_upiu_header(9), struct utp_upiu_query(9), struct utp_upiu_query_v4_0(9), struct utp_upiu_cmd(9). lowkey obsessed with these cross-refs, fr fr. πŸ¦‹


cute sign-off πŸ’Œ: source/version is ./include/uapi/scsi, date is October 2026, and the manual is struct utp_upiu_req(9). periodt. πŸ’–

πŸ“¦ where this page comes from