STRUCT SSAM_SPAN(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ struct ssam_span(9) β€” Kernel API Manual πŸ¦‹

okay so bestie, welcome to the Kernel API Manual page for struct ssam_span(9). we are talking about a reference to a buffer region, and it is giving β€œI know a guy who owns the actual buffer” energy. let’s get into it πŸ’…

✨ NAME ✨

struct ssam_span β€” reference to a buffer region. that’s the name, that’s the vibe, no cap πŸ’–

🌸 SYNOPSIS 🌸

the whole struct is literally this, character for character:

       struct ssam_span {
           u8 *ptr;
           size_t len;
        };

not me being obsessed with a two-field struct, but here we are πŸŽ€

πŸŽ€ Members πŸŽ€

  • ptr β€” pointer to the buffer region. it’s the β€œwhere” of the situation πŸ‘€
  • len β€” length of the buffer region. it’s the β€œhow much” of the situation πŸ“

πŸ’– Description πŸ’–

A struct ssam_span is a reference to a (non-owned) buffer segment, consisting of pointer and length. that’s the whole plot, bestie.

Use of this struct indicates non-owned data, i.e. data of which the life-time is managed (i.e. it is allocated/freed) via another pointer. so like, this struct is not the owner; it’s just the reference, and the lifetime is somebody else’s responsibility. no cap. 🫢

πŸ”₯ SEE ALSO πŸ”₯

okay so if you want the whole cinematic universe, here’s the related-entities friend group πŸ’…

Kernel file: ./include/linux/surface_aggregator/serial_hub.h


that’s the whole page, bestie πŸ’– sign-off time: source/version ./include/linux/surface_aggreg..., date October 2026, and the page is struct ssam_span(9). mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from