STRUCT MPI3MR_ALL_TGT_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 __u16 telling 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