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