STRUCT LOADER_XFER_FRAGMENT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 β€” __le32 means little-endian 32-bit and you should not be out here treating it like a plain int. 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