libnvme(9)

πŸ“¦ version 3.2, in arch rolling

πŸŽ€ NAME πŸŽ€

struct nvme_mi_vpd_mr_common β€” NVMe MultiRecord Area. bestie, this is the whole main-character struct of this page in the libnvme(9) API manual, and we are going to give every single member its moment. πŸ’…βœ¨


✨ SYNOPSIS ✨

okay so here is the exact struct, no cap, copied with love and zero edits:

       struct nvme_mi_vpd_mr_common {
           __u8 type;
           __u8 rf;
           __u8 rlen;
           __u8 rchksum;
           __u8 hchksum;
           union {
             struct nvme_mi_vpd_mra nmra;
             struct nvme_mi_vpd_ppmra ppmra;
             struct nvme_mi_vpd_tra tmra;
           };
        };

πŸ’… Members πŸ’…

these are the little fields living inside the struct, and yep we’re doing all of them because skipping members is not the vibe. 🫢

  • type β€” NVMe Record Type ID πŸ†”
  • rf β€” Record Format πŸŽ€
  • rlen β€” Record Length πŸ“
  • rchksum β€” Record Checksum βœ…
  • hchksum β€” Header Checksum βœ…
  • {unnamed_union} β€” anonymous πŸ‘» literally unnamed, and honestly iconic for that
  • nmra β€” NVMe MultiRecord Area πŸ’–
  • ppmra β€” NVMe PCIe Port MultiRecord Area 🌸
  • tmra β€” Topology MultiRecord Area πŸ¦‹

catch you in the libnvme(9) API manual, bestie β€” October 2026 edition, mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from