STRUCT UTP_UPIU_QUERY_V4_0(9)
π 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-4osf4β spec field B-5osf5β spec field B 6,7 (yes, that spacing is canon, don't come for me π)osf6β spec field DW 8,9osf7β 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.hstruct 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
- 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