nvme_mi_admin_identify_ns - Man Page

Perform an Admin identify command for a namespace

Synopsis

int nvme_mi_admin_identify_ns (nvme_mi_ctrl_t ctrl , __u32 nsid , struct nvme_id_ns *ns );

Arguments

ctrl

Controller to process identify command

nsid

namespace ID

ns

Namespace identification to populate

Description

Perform an Identify (namespace) command, setting the namespace id data in ns. The namespace is expected to active and allocated.

Return

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

Info

November 2024 libnvme API manual