STRUCT SSAM_SPAN(9)
π¦ 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
enum ssh_frame_type(9)struct ssh_frame(9)enum ssh_payload_type(9)struct ssh_command(9)SSH_MESSAGE_LENGTH(9)SSH_COMMAND_MESSAGE_LENGTH(9)SSH_MSGOFFSET_FRAME(9)SSH_MSGOFFSET_COMMAND(9)ssh_crc(9)ssh_rqid_next_valid(9)ssh_rqid_to_event(9)ssh_rqid_is_event(9)ssh_tc_to_rqid(9)ssh_tid_to_index(9)ssh_tid_is_valid(9)enum ssam_ssh_tid(9)enum ssh_packet_base_priority(9)SSH_PACKET_PRIORITY(9)ssh_packet_priority_get_try(9)ssh_packet_priority_get_base(9)struct ssh_packet_ops(9)struct ssh_packet(9)ssh_packet_set_data(9)struct ssh_request_ops(9)struct ssh_request(9)to_ssh_request(9)ssh_request_get(9)ssh_request_put(9)ssh_request_set_data(9)
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
- 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