1nvme_identify_ns_descs(9)     libnvme API manual     nvme_identify_ns_descs(9)
2
3
4

NAME

6       nvme_identify_ns_descs - Retrieves namespace descriptor list
7

SYNOPSIS

9       int   nvme_identify_ns_descs   (int   fd   ,   __u32   nsid   ,  struct
10       nvme_ns_id_desc *descs );
11

ARGUMENTS

13       fd          File descriptor of nvme device
14
15       nsid        The namespace id to retrieve descriptors
16
17       descs       User space destination address to transfer the data
18

DESCRIPTION

20       A list of Namespace Identification Descriptor structures is returned to
21       the host for the namespace specified in the Namespace Identifier (NSID)
22       field if it is an active NSID.
23
24       The  data  returned  is  in  the  form   of   an   array   of   'struct
25       nvme_ns_id_desc'.
26
27       See  struct  nvme_ns_id_desc  for the definition of the returned struc‐
28       ture.
29

RETURN

31       The nvme command status if a response was received (see enum  nvme_sta‐
32       tus_field) or -1 with errno set otherwise.
33
34
35
36October 2023                nvme_identify_ns_descs   nvme_identify_ns_descs(9)
Impressum