STRUCT SSAM_NF(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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