Debian Codegraph @

doc/man/nvme_ctrl_config_match.2

raw
1 .TH "nvme_ctrl_config_match" 9 "nvme_ctrl_config_match" "November 2025" "libnvme API manual" LINUX
2 .SH NAME
3 nvme_ctrl_config_match \- Check if ctrl @c matches config params
4 .SH SYNOPSIS
5 .B "bool" nvme_ctrl_config_match
6 .BI "(struct nvme_ctrl *c " ","
7 .BI "const char *transport " ","
8 .BI "const char *traddr " ","
9 .BI "const char *trsvcid " ","
10 .BI "const char *subsysnqn " ","
11 .BI "const char *host_traddr " ","
12 .BI "const char *host_iface " ");"
13 .SH ARGUMENTS
14 .IP "c" 12
15 An existing controller instance
16 .IP "transport" 12
17 Transport name
18 .IP "traddr" 12
19 Transport address
20 .IP "trsvcid" 12
21 Transport service identifier
22 .IP "subsysnqn" 12
23 Subsystem NQN
24 .IP "host_traddr" 12
25 Host transport address
26 .IP "host_iface" 12
27 Host interface name
28 .SH "DESCRIPTION"
29 Check that controller \fIc\fP matches parameters: \fItransport\fP, \fItraddr\fP,
30 \fItrsvcid\fP, \fIsubsysnqn\fP, \fIhost_traddr\fP, and \fIhost_iface\fP. Parameters set
31 to NULL will be ignored.
32 .SH "RETURN"
33 true if there's a match, false otherwise.