libnvme(9)
π 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 atenum tcg_l0_ruby_flagsπ iykyknum_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
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms