nvme_init_g..._config_list(9)

πŸ“¦ version 3.2, in arch rolling

πŸ’… 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