STRUCT SSAM_EVENT_QUEUE(9)
β¨ struct ssam_event_queue(9) β¨
okay so bestie, welcome to the Kernel API Manual entry for struct ssam_event_queue β it's literally the queue that gets your received events all the way to done. no cap, that's the whole vibe. π
π NAME π
struct ssam_event_queue β queue for completing received events. that's it, that's the queen. π
πΈ SYNOPSIS πΈ
struct ssam_event_queue {
struct ssam_cplt *cplt;
spinlock_t lock;
struct list_head head;
struct work_struct work;
};
ok do not come for me about the spacing on that last brace β I copied it exactly, character for character, because the facts are sacred even when the vibes are immaculate. π«Ά
π« MEMBERS π«
cpltβ the reference to the completion system that this queue is active on. like, this is the friend group your queue belongs to. π¦lockβ the lock for any operation on the queue. every single thing you do to this queue goes through here first. no sneaking. πheadβ the list-head of the queue. this is where the actual lineup of stuff lives. main character list energy. πworkβ thestruct work_structthat's out here performing the completion work for this queue. like the one friend who actually does the tasks. πͺ
π SEE ALSO π
Kernel file ./drivers/platform/surface/aggregator/controller.h β go read the source, bestie, iykyk. π
and also, the whole squad:
struct ssh_seq_counter(9)struct ssh_rqid_counter(9)struct ssam_nf_head(9)struct ssam_nf(9)struct ssam_event_item(9)struct ssam_event_target(9)struct ssam_cplt(9)enum ssam_controller_state(9)struct ssam_controller_caps(9)struct ssam_controller(9)ssam_controller_receive_buf(9)ssam_controller_write_wakeup(9)
β¨ that's the whole page, babe β¨ this lil beauty comes from the Kernel API Manual, pulled out of ./drivers/platform/surface/agg..., dated October 2026, and yes the title bar still says struct ssam_event_queue(9) because the title never changes, only we do. 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