STRUCT LOADER_XFER_FRAGMENT(9)
π struct loader_xfer_fragment(9) π
okay so bestie, gather round β this is a page from the Kernel API Manual, and today's main character is struct loader_xfer_fragment, aka the ISHTP firmware loader transfer fragment. yes that's a mouthful, no i will not be shortening it, it's iconic. π
β¨ NAME β¨
struct loader_xfer_fragment β the ISHTP firmware loader transfer fragment. that's it, that's the vibe. π¦
πΈ SYNOPSIS πΈ
struct loader_xfer_fragment {
__le32 header;
__le32 xfer_mode;
__le32 offset;
__le32 size;
__le32 is_last;
};
look at her. five little __le32 fields, living her best life. so clean. so demure. π
π Members π
headerβ the header of the message. literally just the header, she's the opening act. β¨xfer_modeβ the transfer mode. it's giving "how are we doing this" energy. π₯offsetβ the offset. yes bestie, the offset. we love a good offset. πsizeβ the size. how big is the thing? this field knows. πis_lastβ is last. that's the whole description. is it last? find out here. π«Ά
π SEE ALSO π
okay this is the friend group, and they're all linked from the kernel file ./drivers/hid/intel-ish-hid/ishtp/loader.h β say hi to:
- union
loader_msg_header(9) struct loader_xfer_query(9)struct loader_version(9)struct loader_capability(9)struct loader_xfer_query_ack(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)
not a single one skipped, because we do not leave members of the struct squad behind. ππ
ngl bestie, this is documentation for kernel structs, so read the types carefully β__le32means little-endian 32-bit and you should not be out here treating it like a plainint. fr fr. π
and that's the page! sourced from ./drivers/hid/intel-ish-hid/ishtp, dated October 2026, and it's the struct loader_xfer_fragment(9) page signing off. 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