STRUCT PRIMITIVE_TASK_CONTEXT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

Okay so this is struct primitive_task_context β€” and it's in the Kernel API Manual, bestie, so like, take it seriously πŸ’…. It's the SCU hardware definition that the driver uses when it wants to send a primitive on the link. That's it, that's the whole vibe.


✨ SYNOPSIS ✨

Here's the whole struct, character for character, no cap:

struct primitive_task_context {
    u32 control;
    u32 sequence;
    u32 reserved0;
    u32 reserved1;
    u32 reserved2;
    u32 reserved3;
 };

Like, six u32 fields and one of them is actually doing something meaningful. Respect the reserved girlies, they're just there for space 🫢.


πŸ’… Members πŸ’…

So the Members section is out here giving absolutely nothing β€” the original page leaves it empty 😭. No member descriptions listed, no little per-field blurbs. It's giving mysterious. It's giving "the struct speaks for itself." Fr fr, that's just how it is β€” I'm not gonna invent details that aren't there πŸ™ˆ.

What we do know from the synopsis: control and sequence are named, and reserved0 through reserved3 are the reserved ones ✨. That's the whole roster.


πŸ”Ž SEE ALSO πŸ”Ž

Go check out the kernel file ./drivers/scsi/isci/scu_task_context.h πŸ‘‘ β€” that's where this thing lives. And the whole extended friend group:

  • enum scu_ssp_task_type(9)
  • enum scu_sata_task_type(9)
  • struct ssp_task_context(9)
  • struct stp_task_context(9)
  • struct smp_task_context(9)
  • struct scu_sgl_element(9)
  • struct scu_sgl_element_pair(9)
  • struct transport_snapshot(9)
  • struct scu_task_context(9)

Literally a whole squad of context structs and enums, all hanging out together in the SCSI/ISCI corner of the kernel. Obsessed πŸ¦‹.

Quick reminder bestie: it's primitive_task_context in the NAME and SYNOPSIS, but the page title shows up as struct prim...task_context(9) β€” that's just the man page truncating the long name. Same struct, no drama πŸ’–.

Okay so that's the whole page, mwah πŸ’œ. Straight from ./drivers/scsi/isci, dated October 2026, and the page is struct prim...task_context(9) β€” eat your heart out, kernel docs βœ¨πŸŽ€πŸŒΈ.

πŸ“¦ where this page comes from