STRUCT MPT3_IOCTL_COMMAND(9)
π NAME π
okay so bestie, welcome to the Kernel API Manual entry for struct mpt3_ioctl_command β the generic mpt firmware passthru ioctl. itβs giving βone struct, lots of pointer fields,β and every single field is right here:
@hdrβ generic header.@timeoutβ command timeout in seconds. (if zero then use driver default value).@reply_frame_buf_ptrβ reply location.@data_in_buf_ptrβ destination for read.@data_out_buf_ptrβ data source for write.@sense_data_ptrβ sense data location.@max_reply_bytesβ maximum number of reply bytes to be sent to app.@data_in_sizeβ number bytes for data transfer in (read).@data_out_sizeβ number bytes for data transfer out (write).@max_sense_bytesβ maximum number of bytes for auto sense buffers.@data_sge_offsetβ offset in words from the start of the request message to the first SGL.
and the NAME line wraps up with @mf[1]; β yes, semicolon included, no cap π
β¨ SYNOPSIS β¨
the shape is literally this, copied exactly, no edits:
struct mpt3_ioctl_command {
struct mpt3_ioctl_header hdr;
uint32_t timeout;
void __user *reply_frame_buf_ptr;
void __user *data_in_buf_ptr;
void __user *data_out_buf_ptr;
void __user *sense_data_ptr;
uint32_t max_reply_bytes;
uint32_t data_in_size;
uint32_t data_out_size;
uint32_t max_sense_bytes;
uint32_t data_sge_offset;
uint8_t mf[1];
};
π Members π
the original page has this heading and then nothing under it. itβs giving mystery, but there are no member notes to add here, periodt.
π SEE ALSO π
Kernel file: ./drivers/scsi/mpt3sas/mpt3sas_ctl.h
all the struct besties, none skipped:
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_eventenable(9)struct MPT3_IOCTL_EVENTS(9)struct mpt3_ioctl_eventreport(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)
source/version: ./drivers/scsi/mpt3sas Β· date: October 2026 Β· page: struct mpt3_ioctl_command(9) β bye bestie, stay iconic π
π¦ 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