Scroll to navigation

nvme_mi_admin_identify_allocated_ns_list(9) libnvme API manual nvme_mi_admin_identify_allocated_ns_list(9)

NAME

nvme_mi_admin_identify_allocated_ns_list - Perform an Admin identify for an allocated namespace list

SYNOPSIS

int nvme_mi_admin_identify_allocated_ns_list (nvme_mi_ctrl_t ctrl , __u32 nsid , struct nvme_ns_list *list );

ARGUMENTS

Controller to process identify command
Namespace ID to specify list start
List data to populate

DESCRIPTION

Perform an Identify command, for the allocated namespace list starting with IDs greater than or equal to nsid. Specify NVME_NSID_NONE for the start of the list.

Will return an error if the length of the response data (from the controller) is not a full NVME_IDENTIFY_DATA_SIZE, so list will be be fully populated on success.

See: struct nvme_ns_list

RETURN

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

nvme_mi_admin_identify_allocated_ns_list February 2024