libnvme(9)

πŸ“¦ version 3.2, in arch rolling

πŸ’Ž libnvme(9) β€” API Manual πŸ’Ž

okay bestie, so this page is from the libnvme API manual, and it's about one very specific little struct, and honestly it's giving "niche but iconic" πŸŽ€


✨ NAME ✨

struct tcg_l0_ruby β€” the Ruby SSC feature, and its feature code is 0x0304 πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

here's the whole thing laid out, no cap, character for character:

struct tcg_l0_ruby {
    __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 πŸ’…

these are the fields, one by one, and yes we're doing all of them:

  • base_comid β€” the Base ComID, like the starting point of the ComID situation πŸ”₯
  • num_comids β€” the Number of ComIDs. how many we got? this many πŸ’œ
  • flags β€” the Flags, and if you wanna know what they mean, go look at enum tcg_l0_ruby_flags πŸ‘€ iykyk
  • 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 β€” the Initial C_PIN_SID PIN indicator ⭐
  • initial_cpin_sid_revert β€” the Behavior of C_PIN_SID PIN upon TPer revert 😭 (yes, that's the actual thing it tracks)
  • rsvd11 β€” Reserved. it's just sitting there, being reserved, main character energy but make it __u8 rsvd11[5]; πŸ’€

🌈 Description 🌈

so where does this whole thing come from? TCG Ruby SSC 1.00, section 3.1.1.5. literally that's the citation, periodt πŸ“š

ngl bestie, if you're cross-referencing this against the spec, section 3.1.1.5 is your bestie. go off πŸ’–

okay that's the whole page!! 🧚 source/version vibes: this is struct tcg_l0_ruby inside libnvme(9), dated October 2026 β€” mwah, slay, bye πŸ“πŸ’œ

πŸ“¦ where this page comes from