STRUCT LOADER_XFER_QUERY(9)
π struct loader_xfer_query(9) β the Kernel API Manual page you didn't know you needed
okay so picture this: you're deep in the Kernel API Manual (yes, that's the manual, we're fancy here) and you land on this little cutie. It's struct loader_xfer_query, and it's the ISHTP firmware loader transfer query packet. That's it. That's the whole vibe. π
Bestie, it's literally just a struct. Two fields. Tiny. Iconic. Let's get into it.
β¨ SYNOPSIS β¨
here's the whole thing, no cap, copy it exactly:
struct loader_xfer_query {
__le32 header;
__le32 image_size;
};
that's the entire serve. two __le32s and a dream. π¦
πΈ Members πΈ
time for the vibe check on each field, one by one:
headerβ the header of the message. that's it, that's the job. it's a header. of the message. π«Άimage_sizeβ the size of the image. the way it just tells you how big the image is... lowkey doing the most by doing the least. β¨
both of them are __le32, in case you missed it β little-endian 32-bit, periodt.
π SEE ALSO π
okay so there's a whole friend group and you will be meeting them. first up, the source file they all live in:
- Kernel file
./drivers/hid/intel-ish-hid/ishtp/loader.h
and then the extended squad, in order, no one gets left out (iykyk):
union loader_msg_header(9)struct loader_version(9)struct loader_capability(9)struct loader_xfer_query_ack(9)struct loader_xfer_fragment(9)struct loader_xfer_fragment_ack(9)struct fragment_dscrpt(9)struct loader_xfer_dma_fragment(9)struct loader_start(9)struct loader_start_ack(9)struct ish_firmware_variant(9)ishtp_loader_work(9)struct ish_global_manifest(9)
fr fr go read them, they're all main character energy in their own way. π₯
ngl this page is short but she ate. two fields, one file path, thirteen (13) SEE ALSO entries, and absolutely zero notes, bugs, or exit statuses β so don't come for me, there was nothing else to tell you. π
and that's the whole page, bestie! π§ sign-off time: this one lives over in ./drivers/hid/intel-ish-hid/ishtp, dated October 2026. mwah π
β
π¦ 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