libnvme(9)
π NAME
okay so bestie, gather round β this is struct libnbft_info, and it's literally the parsed NBFT table data. that's it, that's the vibe. it's the struct where all your NBFT goodness lives after somebody did the parsing for you β¨
(this whole page lives in the libnvme API manual, section 9 β iykyk π )
β¨ SYNOPSIS
struct libnbft_info {
char *filename;
__u8 *raw_nbft;
ssize_t raw_nbft_size;
struct libnbft_host host;
struct libnbft_hfi **hfi_list;
struct libnbft_security **security_list;
struct libnbft_discovery **discovery_list;
struct libnbft_subsystem_ns **subsystem_ns_list;
};
like, look at her. eight fields. main character energy, no cap π
π Members
okay here's the rundown, one by one, no skipping, we don't do that here π«Ά
filenameβ the path to the NBFT table. where she lives, basically πraw_nbftβ the original NBFT table contents, untouched, in all her raw glory. the receipts, fr fr πraw_nbft_sizeβ the size ofraw_nbft. gotta know how much raw we're working with πhostβ the Host Descriptor, and lowkey it should match other NBFTs. like, matching fits = iconic, mismatched = π©hfi_listβ the HFI Descriptor List. it's a null-terminated array, so when you hit null, you're done, periodt βsecurity_listβ the Security Profile Descriptor List, also a null-terminated array. security? we love her π‘οΈβ¨discovery_listβ the Discovery Descriptor List, null-terminated array again. go find your stuff bestie πsubsystem_ns_listβ the SSNS Descriptor List, and yes, null-terminated array, the pattern is very much giving consistency π
quick vibe check: those last four are all null-terminated arrays β that's four separate "stop when you see null" situations, don't forget it π
and that's the whole page, bestie, you ate that ππ
sign-off time: this was struct libnbft_info out of the libnvme(9)</> API Manual, dated October 2026 β go forth and parse responsibly π§π
π¦ 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