summaryrefslogtreecommitdiffstats
path: root/doc/man/nvme_lookup_subsystem.2
blob: c397efeaab89147a0b878bad2f76e3476ef4c3b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
.TH "nvme_lookup_subsystem" 9 "nvme_lookup_subsystem" "October 2024" "libnvme API manual" LINUX
.SH NAME
nvme_lookup_subsystem \- Lookup nvme_subsystem_t object
.SH SYNOPSIS
.B "nvme_subsystem_t" nvme_lookup_subsystem
.BI "(struct nvme_host *h "  ","
.BI "const char *name "  ","
.BI "const char *subsysnqn "  ");"
.SH ARGUMENTS
.IP "h" 12
\fInvme_host_t\fP object
.IP "name" 12
Name of the subsystem (may be NULL)
.IP "subsysnqn" 12
Subsystem NQN
.SH "DESCRIPTION"
Lookup a \fInvme_subsystem_t\fP object in \fIh\fP base on \fIname\fP (if present)
and \fIsubsysnqn\fP or create one if not found.
.SH "RETURN"
nvme_subsystem_t object