STRUCT UTP_UPIU_QUERY_V4_0(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct utp_upiu_query_v4_0(9) ✨

okay so bestie, welcome to the Kernel API Manual 🫢 β€” this is the whole entire page for struct utp_upiu_query_v4_0, and it's giving "upiu request buffer structure for query request >= UFS 4.0 spec." no cap, that's literally the NAME section and it's iconic πŸ’–


🌸 NAME 🌸

struct utp_upiu_query_v4_0 β€” the upiu request buffer structure for query request >= UFS 4.0 spec. periodt πŸ’…


✨ SYNOPSIS ✨

here's the whole glow-up, bestie, every field exactly as it lives in the kernel:

struct utp_upiu_query_v4_0 {
    __u8 opcode;
    __u8 idn;
    __u8 index;
    __u8 selector;
    __u8 osf3;
    __u8 osf4;
    __be16 osf5;
    __be32 osf6;
    __be32 osf7;
 };

look at her. main character struct energy πŸ‘‘ lowkey obsessed with how tidy that is.


πŸŽ€ Members πŸŽ€

okay so every field, one by one, with the exact spec wording so you don't get ate up in review:

  • opcode β€” command to perform B-0 πŸ¦‹
  • idn β€” a value that indicates the particular type of data B-1 πŸ’œ
  • index β€” Index to further identify data B-2 🌸
  • selector β€” Index to further identify data B-3 ⭐
  • osf3 β€” spec field B-4
  • osf4 β€” spec field B-5
  • osf5 β€” spec field B 6,7 (yes, that spacing is canon, don't come for me πŸ™ˆ)
  • osf6 β€” spec field DW 8,9
  • osf7 β€” spec field DW 10,11
ngl the osf names are just "spec field" placeholders β€” that's literally what the page says, so pls don't ask me to invent meanings, i would never lie to you like that 😭

πŸ‘€ SEE ALSO πŸ‘€

go read these next, they're the friend group this struct rolls with:

  • Kernel file ./include/uapi/scsi/scsi_bsg_ufs.h struct
  • utp_upiu_header(9)
  • struct utp_upiu_query(9)
  • struct utp_upiu_cmd(9)
  • struct utp_upiu_req(9)

iykyk πŸ”₯


that's the whole page, bestie β€” sourced from ./include/uapi/scsi, dated October 2026, filed under struct utp_upiu_query_v4_0(9). slay, go read a header file, ily πŸ’–πŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from