STRUCT FW_CDEV_EVENT_COMMON(9)
π NAME
struct fw_cdev_event_common(9) β from the Kernel API Manual, bestie: this is literally the common part of all fw_cdev_event_* types. It's the shared little doorway for the generic bits, no matter which specific event type you're holding. β¨
π©· SYNOPSIS
okay so the struct is giving:
struct fw_cdev_event_common {
__u64 closure;
__u32 type;
};
π§© Members
closureβ For arbitrary use by userspace π It's your little carry-on slot, no questions asked.typeβ Discriminates thefw_cdev_event_*types π This is the label on the tin, iykyk.
πΈ Description
This struct may be used to access generic members of all fw_cdev_event_* types regardless of the specific type. So when you don't know or care which event flavor you're staring at, this is the common doorway. πͺβ¨
Data passed in the closure field for a request will be returned in the corresponding event. Big main-character energy: you send it out, it comes back to you. π
It is big enough to hold a pointer on all platforms. No cap β pointer-sized on every platform, so your arbitrary little value can literally be a pointer if that's the vibe. π«Ά
The ioctl used to set closure depends on the type of event. So yeah, which ioctl you use is not one-size-fits-all β do the vibe check on the event type, bestie. π
π SEE ALSO
Kernel file ./include/uapi/linux/firewire-cdev.h and the whole sibling squad:
struct fw_cdev_event_bus_reset(9)struct fw_cdev_event_response(9)struct fw_cdev_event_response2(9)struct fw_cdev_event_request(9)struct fw_cdev_event_request2(9)struct fw_cdev_event_request3(9)struct fw_cdev_event_iso_interrupt(9)struct fw_cdev_event_iso_interrupt_mc(9)struct fw_cdev_event_iso_resource(9)struct fw_cdev_event_phy_packet(9)struct fw_cdev_event_phy_packet2(9)union fw_cdev_event(9)struct fw_cdev_get_info(9)struct fw_cdev_send_request(9)struct fw_cdev_send_response(9)struct fw_cdev_allocate(9)struct fw_cdev_deallocate(9)struct fw_cdev_initiate_bus_reset(9)struct fw_cdev_add_descriptor(9)struct fw_cdev_remove_descriptor(9)struct fw_cdev_create_iso_context(9)struct fw_cdev_set_iso_channels(9)struct fw_cdev_iso_packet(9)struct fw_cdev_queue_iso(9)struct fw_cdev_start_iso(9)struct fw_cdev_stop_iso(9)struct fw_cdev_flush_iso(9)struct fw_cdev_get_cycle_timer(9)struct fw_cdev_get_cycle_timer2(9)struct fw_cdev_allocate_iso_resource(9)struct fw_cdev_send_stream_packet(9)struct fw_cdev_send_phy_packet(9)struct fw_cdev_receive_phy_packets(9)
okay that's the page, bestie β sourced from ./include/uapi/linux, dated October 2026, filed under struct fw_cdev_event_common(9). mwah πβ¨
π¦ 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