ENUM SSAM_EVENT_MASK(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

enum ssam_event_mask β€” the little flag squad that tells the kernel how to match events to notifiers. And yes bestie, we're in the Kernel API Manual today, buckle up πŸŽ€


✨ SYNOPSIS ✨

enum ssam_event_mask {
    SSAM_EVENT_MASK_TARGET ,
    SSAM_EVENT_MASK_INSTANCE ,
    SSAM_EVENT_MASK_NONE ,
    SSAM_EVENT_MASK_STRICT

};

🌸 Constants 🌸

okay so these are the four mood boards an event mask can serve πŸ’…

  • SSAM_EVENT_MASK_TARGET β€” so on top of filtering by target category, it also only runs the notifier callback for events whose target ID matches the one of the registry you used to enable/disable the event. picky, but in a cute way 🎯
  • SSAM_EVENT_MASK_INSTANCE β€” same deal, but instead of the registry: on top of filtering by target category, it only runs the notifier callback for events with an instance ID matching the instance ID you used when enabling the event. matching fits, periodt πŸ’«
  • SSAM_EVENT_MASK_NONE β€” no extra rules, no extra vibes: run the callback for any event with a matching target category. Do not do any additional filtering. it's giving chill ✌️
  • SSAM_EVENT_MASK_STRICT β€” do all the filtering above. all of it. every single layer. highkey the maximalist option πŸ‘‘

πŸ¦‹ SEE ALSO πŸ¦‹

so you can keep the whole friend group together, these all live in the kernel file ./include/linux/surface_aggregator/controller.h too 🫢


that's the whole page, no crumbs left πŸ’– this one came from ./include/linux/surface_aggreg... and it's dated October 2026 β€” go off, calendar icon πŸ—“οΈβœ¨ ily, study hard, and remember: strict mode is a lifestyle πŸ‘‘πŸ’…

πŸ“¦ where this page comes from