libnvme(9)

πŸ“¦ version 3.2, in arch rolling

πŸ’– NAME

Okay bestie, meet struct tcg_l0_opal_v2 β€” the Opal SSC V2.00 feature with ID 0x0203. This lil’ page comes straight from the libnvme API Manual, aka libnvme(9), and it’s giving β€œtiny struct, very specific lore” energy. 🫢

✨ SYNOPSIS ✨

       struct tcg_l0_opal_v2 {
           __be16 base_comid;
           __be16 num_comids;
           __u8 flags;
           __be16 num_locking_sp_admin_auth;
           __be16 num_locking_sp_user_auth;
           __u8 initial_cpin_sid_ind;
           __u8 initial_cpin_sid_revert;
           __u8 rsvd11[5];
        };

🧚 Members

  • base_comid β€” Base ComID
  • num_comids β€” Number of ComIDs
  • flags β€” Flags, see enum tcg_l0_opal_v2_flags
  • num_locking_sp_admin_auth β€” Number of Locking SP Admin authorities
  • num_locking_sp_user_auth β€” Number of Locking SP User authorities
  • initial_cpin_sid_ind β€” Initial C_PIN_SID PIN indicator
  • initial_cpin_sid_revert β€” Behavior of C_PIN_SID PIN upon TPer revert
  • rsvd11 β€” Reserved

🌸 Description

This struct is defined by TCG Opal SSC 2.02, section 3.1.1.5. That’s the whole tea β€” go check that section for the full vibe. πŸ“


✨ Sign-off time, bestie: this page is dated October 2026, it lives under struct tcg_l0_opal_v2, and it belongs to libnvme(9). periodt πŸ’…πŸ«Ά

πŸ“¦ where this page comes from