STRUCT MPI3MR_ALL_TGT_INFO(9)
π NAME π
okay so bestie, struct mpi3mr_all_tgt_info β and yes this is straight out of the Kernel API Manual β is literally the target device mapping info that the driver hands back to you. like, it's the receipts for every target in the driver's little inventory π no cap.
β¨ SYNOPSIS β¨
struct mpi3mr_all_tgt_info {
__u16 num_devices;
__u16 rsvd1;
__u32 rsvd2;
struct mpi3mr_device_map_info dmi[1];
};
look at her. iconic. the dmi[1] at the end? that's the main character energy, iykyk π
π¦ Members π¦
num_devicesβ a__u16telling you exactly how many devices are chilling in the driver's inventory. the headcount, fr fr πrsvd1β Reserved.__u16. not for you, bestie, it's reserved πrsvd2β Reserved.__u32. also not for you. also reserved. we respect her privacy πdmiβ Variable length array of mapping information of targets β¨ it's giving flexible array member, it's giving "the actual good stuff lives here" π
side note: the three reserved fields are literally reserved β don't go poking at them and expecting lore that isn't in the manpage π
πΈ SEE ALSO πΈ
Kernel file ./include/uapi/scsi/scsi_bsg_mpi3mr.h β aka the home base, go say hi π«Ά
and then the whole group chat of siblings, all of them, don't skip:
struct mpi3_driver_info_layout(9)struct mpi3mr_bsg_in_adpinfo(9)struct mpi3mr_bsg_adp_reset(9)struct mpi3mr_change_count(9)struct mpi3mr_device_map_info(9)struct mpi3mr_logdata_enable(9)struct mpi3mr_bsg_out_pel_enable(9)struct mpi3mr_logdata_entry(9)struct mpi3mr_bsg_in_log_data(9)struct mpi3mr_hdb_entry(9)struct mpi3mr_bsg_in_hdb_status(9)struct mpi3mr_bsg_out_repost_hdb(9)struct mpi3mr_bsg_out_upload_hdb(9)struct mpi3mr_bsg_out_refresh_hdb_triggers(9)struct mpi3mr_bsg_drv_cmd(9)struct mpi3mr_bsg_in_reply_buf(9)struct mpi3mr_buf_entry(9)struct mpi3mr_buf_entry_list(9)struct mpi3mr_bsg_mptcmd(9)struct mpi3mr_bsg_packet(9)
like twenty of them. a whole friend group. love that for them π
mwah π that's the whole page, go forth and read your kernel structs. this masterpiece lives over in ./include/uapi/scsi and it's stamped October 2026 β so like, mark your calendars bestie, slay π
β¨π
π¦ 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