scmi_initial...events_queue(9)
π scmi_initial...events_queue β from the Kernel API Manual β¨
okay bestie, this is page scmi_initial...events_queue(9) and honestly? it's a little cutie. a tiny little function that just sets up a buffer for you. no drama, no cap. π
πΈ NAME πΈ
scmi_initialize_events_queue β literally just allocates and initializes a kfifo buffer. that's it. that's the whole thing. slay.
β¨ SYNOPSIS β¨
int scmi_initialize_events_queue (struct scmi_notify_instance *ni ,
struct events_queue *equeue , size_t sz );
yes it returns an int, and yes those are the exact three things it wants. copy-paste responsibly π
π¦ ARGUMENTS π¦
niβ a reference to the notification instance you're working with. like, which notifier are we talking about, bestie?equeueβ theevents_queueyou want to initialize. this is the one getting the glow-up β¨szβ the size of thekfifobuffer to allocate. how much room are we giving it, fr fr
π§ DESCRIPTION π§
so basically: it allocates a buffer for the kfifo and then initializes it. allocate, initialize, done. main character behavior only π
β RETURN β
0on Success π«Ά
(that's it. just the zero. no cap.)
π₯ SEE ALSO π₯
okay this list is long and it ATE, so buckle up bestie π
Kernel file ./drivers/firmware/arm_scmi/notify.c Theory of operation(9), struct scmi_notify_instance(9), struct events_queue(9), struct scmi_event_header(9), struct scmi_registered_events_desc(9), struct scmi_registered_event(9), struct scmi_event_handler(9), scmi_lookup_and_call_event_chain(9), scmi_process_event_header(9), scmi_process_event_payload(9), scmi_events_dispatcher(9), scmi_notify(9), scmi_kfifo_free(9), scmi_allocate_registered_events_desc(9), scmi_register_protocol_events(9), scmi_deregister_protocol_events(9), scmi_allocate_event_handler(9), scmi_free_event_handler(9), scmi_bind_event_handler(9), scmi_valid_pending_handler(9), scmi_register_event_handler(9), __scmi_event_handler_get_ops(9), scmi_get_active_handler(9), __scmi_enable_evt(9), scmi_put_handler_unlocked(9), scmi_event_handler_enable_events(9), scmi_notifier_register(9), scmi_notifier_unregister(9), scmi_devm_notifier_register(9), scmi_devm_notifier_unregister(9), scmi_protocols_late_init(9), scmi_notification_init(9), scmi_notification_quiesce(9), scmi_notification_exit(9)
and that's the page!! π this little icon lives over in ./drivers/firmware/arm_scmi, dated October 2026, and it's serving Kernel API Manual energy from the very first line to the last. bye bestie, go initialize something π¦β¨
π¦ 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