STRUCT SSAM_NOTIFIER_BLOCK(9)
π NAME π
okay bestie, welcome to the struct ssam_notifier_block(9) page from the Kernel API Manual β yes, that manual. This struct is literally the base notifier block for SSAM event notifications. It's giving foundational, and we're obsessed. β¨
πΈ SYNOPSIS πΈ
Here's the exact shape of it, no edits, no cap:
struct ssam_notifier_block {
struct list_head node;
ssam_notifier_fn_t fn;
int priority;
};
π Members π
nodeβ the node for the list of notifiers. Yes bestie, it's the list-link member. π«Άfnβ the callback function of this notifier. This function takes the respective notifier block and event as input and should return a notifier value. That notifier value can either be obtained from the flags provided inenum ssam_notif_flags, converted from a standard error value viassam_notifier_from_errno, or a combination of both (e.g.ssam_notifier_from_errno(e) | SSAM_NOTIF_HANDLED). Iconic callback behavior, honestly. πpriorityβ priority value determining the order in which notifier callbacks will be called. A higher value means higher priority, i.e. the associated callback will be executed earlier than other (lower priority) callbacks. So yes, bigger number = earlier callback, periodt. π₯
π¦ SEE ALSO π¦
Go peek at these, bestie β every single reference, exactly as it appears:
- Kernel file
./include/linux/surface_aggregator/controller.h enum ssam_event_flags(9)struct ssam_event(9)enum ssam_request_flags(9)struct ssam_request(9)struct ssam_response(9)struct ssam_request_sync(9)ssam_request_sync_set_data(9)ssam_request_sync_set_resp(9)ssam_request_sync_wait(9)ssam_request_do_sync_onstack(9)__ssam_retry(9)ssam_retry(9)struct ssam_request_spec(9)struct ssam_request_spec_md(9)SSAM_DEFINE_SYNC_REQUEST_N(9)SSAM_DEFINE_SYNC_REQUEST_W(9)SSAM_DEFINE_SYNC_REQUEST_R(9)SSAM_DEFINE_SYNC_REQUEST_WR(9)SSAM_DEFINE_SYNC_REQUEST_MD_N(9)SSAM_DEFINE_SYNC_REQUEST_MD_W(9)SSAM_DEFINE_SYNC_REQUEST_MD_R(9)SSAM_DEFINE_SYNC_REQUEST_MD_WR(9)enum ssam_notif_flags(9)ssam_notifier_from_errno(9)ssam_notifier_to_errno(9)struct ssam_event_registry(9)struct ssam_event_id(9)enum ssam_event_mask(9)SSAM_EVENT_REGISTRY(9)enum ssam_event_notifier_flags(9)struct ssam_event_notifier(9)ssam_notifier_unregister(9)
mwah π
this cutie came from ./include/linux/surface_aggreg..., dated October 2026, and it's the struct ssam_notifier_block(9) page. Bye bestie, go slay those notifiers! π«Άπ
π¦ 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