STRUCT MPT3_IOCTL_EVENTENABLE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct mpt3_ioctl_eventenable(9) β€” a Kernel API Manual moment πŸŽ€

okay bestie, so this is a page straight out of the Kernel API Manual, and ngl it's a little one, but she's iconic in her own quiet way. This struct is literally the "hey, start/stop recording the drama" switch for events. periodt. ✨


✨ NAME ✨

struct mpt3_ioctl_eventenable β€” enable/disable event capturing

so like, her whole job is turning the event recording on and off. that's it, that's the vibe πŸ¦‹

the two things she's working with:

  • @hdr β€” generic header 🌸
  • @event_types β€” toggle off/on type of events to be captured πŸ”₯

🫢 SYNOPSIS 🫢

struct mpt3_ioctl_eventenable {
    struct mpt3_ioctl_header hdr;
    uint32_t event_types[4];
 };

ok so look at her. two members, one little header bestie and a whole array of uint32_t β€” four of them, no more no less β€” and that array is your toggle panel. so clean. so square. we stan πŸ’œ


🧚 Members 🧚

heads up bestie: the original page leaves this section literally empty β€” the member details are all up in NAME, which we already covered. no gatekeeping, nothing hidden here, it's genuinely just an empty room. πŸ™ˆ
  • hdr β€” a struct mpt3_ioctl_header, the generic header. the little name tag she wears πŸ’…
  • event_types[4] β€” a uint32_t array of length 4. each slot toggles off/on a type of events to be captured ⭐

🌈 SEE ALSO 🌈

go check out her friends, fr fr β€” they're all in the kernel file ./drivers/scsi/mpt3sas/mpt3sas_ctl.h:

  • struct mpt3_ioctl_header(9)
  • struct mpt3_ioctl_diag_reset(9)
  • struct mpt3_ioctl_pci_info(9)
  • struct mpt3_ioctl_iocinfo(9)
  • struct mpt3_ioctl_eventquery(9)
  • struct MPT3_IOCTL_EVENTS(9)
  • struct mpt3_ioctl_eventreport(9)
  • struct mpt3_ioctl_command(9)
  • struct mpt3_ioctl_btdh_mapping(9)
  • struct mpt3_diag_register(9)
  • struct mpt3_diag_unregister(9)
  • struct mpt3_diag_query(9)
  • struct mpt3_diag_release(9)
  • struct mpt3_diag_read_buffer(9)
  • struct mpt3_addnl_diag_query(9)
  • struct mpt3_enable_diag_sbr_reload(9)
  • struct mpt3_passthru_command(9)

like, the whole friend group showed up. main character energy from every single one πŸ‘‘


that's the whole page, bestie β€” short and slay. this one lives in ./drivers/scsi/mpt3sas and the date on it is October 2026, so go forth and enable/disable those events responsibly πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from