STRUCT MPI3MR_HDB_ENTRY(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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

okay so bestie, we're deep in the Kernel API Manual today and this one is literally the host diag buffer entry β€” yes, that one. it's giving "small struct, big responsibilities" and honestly? iconic. let's get into it 🫢


✨ NAME ✨

struct mpi3mr_hdb_entry β€” host diag buffer entry. that's it, that's the whole vibe. a single entry in the host diagnostic buffer. no cap πŸ’…


🌸 SYNOPSIS 🌸

struct mpi3mr_hdb_entry {
    __u8 buf_type;
    __u8 status;
    __u8 trigger_type;
    __u8 rsvd1;
    __u16 size;
    __u16 rsvd2;
    __u64 trigger_data;
    __u32 rsvd3;
    __u32 rsvd4;
 };

look at her. all those __u8s lined up like a little squad πŸŽ€ and yes, the closing brace really does have that extra space in front of it in the original β€” we don't fix, we respect 😌


πŸ¦‹ Members πŸ¦‹

  • buf_type β€” the buffer type. what kind of buffer are we even talking about? this tells you. main character field ngl πŸ‘‘
  • status β€” the buffer status. the vibe check of the buffer, fr fr.
  • trigger_type β€” the trigger type. because things gotta get triggered somehow ✨
  • rsvd1 β€” reserved. not for you, bestie πŸ™ˆ
  • size β€” the buffer size. how big is the buffer? this. that's the whole answer.
  • rsvd2 β€” reserved. again. hands off πŸ’…
  • trigger_data β€” trigger specific data. the actual payload of the trigger, iykyk πŸ”₯
  • rsvd3 β€” reserved. we're three for three on the "don't touch" pile.
  • rsvd4 β€” reserved. the final boss of reserved fields πŸ’€
lowkey obsessed with how many reserved fields there are. the kernel said "leave room for the future" and she MEANT it 🌈

⭐ SEE ALSO ⭐

kernel file ./include/uapi/scsi/scsi_bsg_mpi3mr.h and the whole friend group:

  • 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_all_tgt_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_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)

that's a lot of siblings but they all ate, periodt πŸ“


and that's the page!! sourced straight from ./include/uapi/scsi, dated October 2026 β€” go off, future manual πŸ’œ stay hydrated, read your headers, and remember: reserved means reserved 😭✨

πŸ“¦ where this page comes from