STRUCT LEAPRAID_IOCTL_HEADER(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct leapraid_ioctl_header(9) πŸ’–

okay bestie, welcome to the Kernel API Manual, and today's main character is a lil struct called struct leapraid_ioctl_header β€” literally the IOCTL command header, no cap. it's giving "small but crucial" energy ✨


πŸŽ€ SYNOPSIS πŸŽ€

here's the whole vibe, verbatim, don't touch:

struct leapraid_ioctl_header {
    u32 adapter_id;
    u32 port_number;
    u32 max_data_size;
 };

that's it. three u32s and a dream 🫢


🌸 Members 🌸

  • adapter_id β€” the adapter identifier, iykyk. it's literally which adapter we're talking about πŸ’…
  • port_number β€” the port identifier. yes, the port. identified. periodt.
  • max_data_size β€” maximum data size for transfer. that's the ceiling, bestie, don't exceed it πŸ”₯

πŸ¦‹ SEE ALSO πŸ¦‹

go read these next, they're all in the same friend group:

  • Kernel file ./drivers/scsi/leapraid/leapraid_app.c
  • struct leapraid_ioctl_diag_reset(9)
  • struct leapraid_ioctl_pci_info(9)
  • struct leapraid_ioctl_adapter_info(9)
  • struct leapraid_ioctl_command(9)

ngl this page is short but it ate. no bugs noted, no warnings, just pure struct excellence πŸ‘‘

mwah πŸ’‹ that's the whole page! source livin' at ./drivers/scsi/leapraid, dated October 2026, and it's still struct leapr...ioctl_header(9) in spirit β€” the manual name is Kernel API Manual, and yeah, the truncation in that header is iconic in its own way 😭 go forth and ioctl, bestie 🌈⭐

πŸ“¦ where this page comes from