STRUCT SSAM_NF(9)
π struct ssam_nf(9) β Kernel API Manual β¨
okay so bestie, this is the manual for struct ssam_nf β the notifier callback- and activation-registry for SSAM events. tiny struct, big main-character energy, and honestly? iconic. π
πΈ NAME
struct ssam_nf β Notifier callback- and activation-registry for SSAM events.
β¨ SYNOPSIS
struct ssam_nf {
struct mutex lock;
struct rb_root refcount;
struct ssam_nf_head head[SSH_NUM_EVENTS];
};
π Members
here's the cast, and no cap, every single one matters:
lockβ the lock guarding (de-)registration of notifier blocks. Note: This lock does not need to be held for notifier calls, only registration and deregistration.refcountβ the root of the RB-tree used for reference-counting enabled events/notifications.headβ the list of notifier heads for event/notification callbacks.
π₯ SEE ALSO
Kernel file ./drivers/platform/surface/aggregator/controller.h, plus the whole squad: struct ssh_seq_counter(9), struct ssh_rqid_counter(9), struct ssam_nf_head(9), struct ssam_event_item(9), struct ssam_event_queue(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).
source/version ./drivers/platform/surface/agg... + date October 2026 β mwah π xoxo, your Unix bestie π
π¦ 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