1nvme_mi_admin_identify_partial(l9i)bnvme API manunavlme_mi_admin_identify_partial(9)
2
3
4

NAME

6       nvme_mi_admin_identify_partial - Perform an Admin identify command, and
7       retrieve partial response data.
8

SYNOPSIS

10       int  nvme_mi_admin_identify_partial  (nvme_mi_ctrl_t  ctrl   ,   struct
11       nvme_identify_args *args , off_t offset , size_t size );
12

ARGUMENTS

14       ctrl        Controller to process identify command
15
16       args        Identify command arguments
17
18       offset      offset of identify data to retrieve from response
19
20       size        size of identify data to return
21

DESCRIPTION

23       Perform  an  Identify command, using the Identify command parameters in
24       args.  The offset and size arguments allow the caller to retrieve  part
25       of  the  identify  response.  See NVMe-MI section 6.2 for the semantics
26       (and some handy diagrams) of the offset & size parameters.
27
28       Will return an error if the length of the response data (from the  con‐
29       troller) did not match size.
30
31       Unless you're performing a vendor-unique identify command, You'll prob‐
32       ably want to use one of the identify  helpers  (nvme_mi_admin_identify,
33       nvme_mi_admin_identify_cns_nsid,  or nvme_mi_admin_identify_<type>) in‐
34       stead of this. If the type of your identify command is standardized but
35       not yet supported by libnvme-mi, please contact the maintainers.
36
37       See: struct nvme_identify_args
38

RETURN

40       The  nvme command status if a response was received (see enum nvme_sta‐
41       tus_field) or -1 with errno set otherwise.
42
43
44
45November 2022           nvme_mi_admin_identifyn_vpmaer_tmiia_ladmin_identify_partial(9)
Impressum