nvme_init_g..._config_list(9)
π nvme_init_get_log_support_cap_config_list β libnvme API manual
okay bestie, buckle up, because this one is a mouthful of a function name and i need you to say it with your whole chest. it lives in the libnvme API manual and it's genuinely so much simpler than it looks, i promise π«Ά
β¨ NAME β¨
nvme_init_get_log_support_cap_config_list β literally just initializes the passthru command for the Supported Capacity Configuration List. that's it. that's the whole vibe. π
πΈ SYNOPSIS πΈ
void nvme_init_get_log_support_cap_config_list (struct
libnvme_passthru_cmd *cmd , __u16 domid , struct
nvme_supported_cap_config_list_log *cap );
she returns void, so no "did it work?" moment β she just does the thing and moves on, main character energy fr π
π¦ ARGUMENTS π¦
cmdβ the passthru command you're gonna use. hand her the buffer, she fills it in. simple as that β¨domidβ Domain Identifier selection, if supported. it's a__u16, so be normal about it πcapβ the user address where the supported capabilities config list gets stored. point her at your spot and she'll drop the goods there π
π DESCRIPTION π
so what does she actually do? she initializes the passthru command buffer for the Get Log command, with the LID value set to:
NVME_LOG_LID_SUPPORTED_CAP_CONFIG_LIST
that's the whole description. no hidden lore, no secret caveats, no "undefined behaviour if you sneeze" warnings β just vibes and a log ID. iconic of her honestly π
ngl this is one of those functions where the name is 10x scarier than the function. you're literally just prepping a buffer. slay πβ¨
π a lil sign-off π
that's the whole page, bestie! this gem comes to you from the libnvme API manual, dated October 2026 β so yes, she's from the future and she's still just initializing passthru buffers. some things never change ππ«Ά
go forth and initialize β¨π§ββοΈπ
π¦ 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