nvme_subsystem_lookup_namespace - Man Page

lookup namespace by NSID

Synopsis

nvme_ns_t nvme_subsystem_lookup_namespace (struct nvme_subsystem *s , __u32 nsid );

Arguments

s

nvme_subsystem_t object

nsid

Namespace id

Return

nvme_ns_t of the namespace with id nsid in subsystem s

Info

November 2022 libnvme API manual