STRUCT LEAPRAID_IOCTL_HEADER(9)
π 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
- 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