nvme_mi_adm...id_ctrl_list(2)
β¨ nvme_mi_admin_identify_nsid_ctrl_list β¨
okay so bestie, this one lives in the libnvme API manual (section 2, the syscalls-and-friends girlies) and it is literally the glow-up you need when you want to ask a controller "hey, who's on your list for this namespace?"
π NAME π
nvme_mi_admin_identify_nsid_ctrl_list β Perform an Admin identify for a controller list with specific namespace ID π¦
πΈ SYNOPSIS πΈ
int nvme_mi_admin_identify_nsid_ctrl_list (nvme_mi_ctrl_t ctrl , __u32 nsid , __u16 cntid , struct nvme_ctrl_list *list );
π ARGUMENTS π
ctrlβ the Controller you're sending this identify command to. she's the main character here, periodt πnsidβ the Namespace identifier. which namespace are we talking about, bestie? β¨cntidβ the Controller ID that says where the list should start. like, "begin the roll call at this ID" π€listβ the list data to populate. you hand her an empty lil container and she fills it up π«Ά
π DESCRIPTION π
Perform an Identify command, for the controller list for nsid, starting with IDs greater than or equal to cntid. no cap, that's the whole vibe β you give her a namespace and a starting controller ID, and she pulls the list from there onward π
Will return an error if the length of the response data (from the controller) is not a full NVME_IDENTIFY_DATA_SIZE, so id will be fully populated on success. like, it's all-or-nothing, she does NOT do half-populated data, that's giving unserious π
β οΈ heads up bestie: if the response length isn't exactlyNVME_IDENTIFY_DATA_SIZE, it's error o'clock. but on success? fully populatedid. slay.
See: struct nvme_ctrl_list
β RETURN β
The nvme command status if a response was received (see enum nvme_status_field) or -1 with errno set otherwise.
so like β real status if the controller actually answered, and if she ghosted you, it's -1 plus errno telling you why π
and that's the whole page, bestie, we ate and left no crumbs π₯
July 2026 Β· libnvme API manual Β· nvme_mi_admin_identify_nsid_ctrl_list(2) β mwah, love u, go identify some controllers ππ§πΈ
π¦ where this page comes from
- ubuntu stonking: libnvme-dev 1.16.2-1build1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms