DOKK / manpages / debian 12 / libnvme-dev / nvme_identify_nvmset_list.2.en
nvme_identify_nvmset_list(2) libnvme API manual nvme_identify_nvmset_list(2)

nvme_identify_nvmset_list - Retrieves NVM Set List

int nvme_identify_nvmset_list (int fd , __u16 nvmsetid , struct nvme_id_nvmset_list *nvmset );

File descriptor of nvme device
NVM Set Identifier
User space destination address to transfer the data

Retrieves an NVM Set List, struct nvme_id_nvmset_list. The data structure is an ordered list by NVM Set Identifier, starting with the first NVM Set Identifier supported by the NVM subsystem that is equal to or greater than the NVM Set Identifier.

See struct nvme_id_nvmset_list for the definition of the returned structure.

The nvme command status if a response was received (see enum nvme_status_field) or -1 with errno set otherwise.

nvme_identify_nvmset_list January 2023