NVME_INIT_IDENTIFY_DOMAIN_LIST-LIBNVME3(2)

πŸ“¦ version 3.2, in arch rolling

πŸ’… nvme_init_id..._domain_list(9) β€” libnvme API manual, bestie edition πŸŽ€

okay so this is one of those little function pages from the libnvme API manual, section 9, and honestly? she's short, she's sweet, she does exactly one thing. let's get into it ✨


🌸 NAME 🌸

nvme_init_identify_domain_list β€” Initialize passthru command for Domain list

like... that's it, that's her whole job. she sets up the passthru command so you can go get the Domain list. slay. πŸ’…


✨ SYNOPSIS ✨

void nvme_init_identify_domain_list (struct libnvme_passthru_cmd *cmd ,
__u16 domid , struct nvme_id_domain_list *list );

three args, returns void, no drama. copy it exactly, don't get creative with it 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • cmd β€” the Command data structure you're initializing. this is the one getting set up, bestie, hand her over πŸ’–
  • domid β€” the Domain ID. it's a __u16, it's the domain, it's giving very specific 🌈
  • list β€” the user space destination address where the data gets transferred. yes, your memory, your problem, so make sure it's real πŸ™ˆ

πŸ‘‘ DESCRIPTION πŸ‘‘

ngl this one's a one-liner and I respect it. it initializes the passthru command buffer for the Identify command, and it does that with the CNS value NVME_IDENTIFY_CNS_DOMAIN_LIST.

so: passthru command buffer β†’ initialized β†’ Identify command β†’ CNS NVME_IDENTIFY_CNS_DOMAIN_LIST. iconic, no cap, that's the whole vibe check βœ…

fr fr do not go inventing your own CNS value here β€” the whole point is that this function already picked it for you πŸ’€

🧚 sign-off 🧚

and that's the page!! this lil cutie comes from the libnvme API manual and the date on it is October 2026 β€” so yeah, go forth and initialize your domain lists, main character energy only πŸ‘‘πŸ’œπŸŒ·

πŸ“¦ where this page comes from