STRUCT SSAM_REQUEST_SPEC(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct ssam_request_spec(9) β€” a Kernel API Manual moment ✨

okay bestie, listen up, because this one is literally the blue-print for a SAM request and it's giving "template energy" in the best way 🫢


✨ NAME ✨

struct ssam_request_spec β€” the Blue-print specification of a SAM request. yes, with a capital B and a hyphen, that's how the kernel rolls πŸ’…


🌸 SYNOPSIS 🌸

struct ssam_request_spec {
    u8 target_category;
    u8 target_id;
    u8 command_id;
    u8 instance_id;
    u8 flags;
 };
ngl this struct is tiny but she is important, so let's meet the members one by one πŸŽ€

πŸ¦‹ Members πŸ¦‹

  • target_category β€” the Category of the request's target. peep enum ssam_ssh_tc for the deets ✨
  • target_id β€” the ID of the request's target, straightforward icon behavior πŸ‘‘
  • command_id β€” the Command ID of the request. that's her whole thing πŸ’œ
  • instance_id β€” the Instance ID of the request's target. yes it's separate from target_id, don't come for me πŸ™ˆ
  • flags β€” the Flags for the request. go look at enum ssam_request_flags for the full menu πŸ“

πŸ’– Description πŸ’–

so Blue-print specification for a SAM request. this struct describes the unique static parameters of a request (i.e. its type) without specifying any of its instance-specific data (e.g. the payload). think of it as the vibe check of the request, not the whole personality 😌

it's literally intended to be used as the base for defining simple request functions via the SSAM_DEFINE_SYNC_REQUEST_x family of macros. that's the whole point, that's the assignment, periodt πŸ”₯


🌈 SEE ALSO 🌈

yeah that's a lot of cross-refs, but she's connected, iykyk πŸ’€ go read them, they're all iconic in their own right 🧚

k bye bestie, this page came from ./include/linux/surface_aggreg... and it's dated October 2026 β€” mwah, slay, go write some sync requests πŸ’…πŸ’–β­

πŸ“¦ where this page comes from