1nvme_ctrl_find(9) libnvme API manual nvme_ctrl_find(9)
2
3
4
6 nvme_ctrl_find - Locate an existing controller
7
9 nvme_ctrl_t nvme_ctrl_find (nvme_subsystem_t s , const char *transport
10 , const char *traddr , const char *trsvcid , const char *subsysnqn ,
11 const char *host_traddr , const char *host_iface );
12
14 s nvme_subsystem_t object
15
16 transport Transport name
17
18 traddr Transport address
19
20 trsvcid Transport service identifier
21
22 subsysnqn Subsystem NQN
23
24 host_traddr Host transport address
25
26 host_iface Host interface name
27
29 Lookup a controller in s based on transport, traddr, trsvcid, subsysâ
30 nqn, host_traddr, and host_iface. transport must be specified, other
31 fields may be required depending on the transport. Parameters set to
32 NULL will be ignored.
33
34 Unlike nvme_lookup_ctrl, this function does not create a new object if
35 an existing controller cannot be found.
36
38 Controller instance on success, NULL otherwise.
39
40
41
42October 2023 nvme_ctrl_find nvme_ctrl_find(9)