1nvme_lookup_ctrl(9) libnvme API manual nvme_lookup_ctrl(9)
2
3
4
6 nvme_lookup_ctrl - Lookup nvme_ctrl_t object
7
9 nvme_ctrl_t nvme_lookup_ctrl (nvme_subsystem_t s , const char *transā
10 port , const char *traddr , const char *host_traddr , const char
11 *host_iface , const char *trsvcid , nvme_ctrl_t p );
12
14 s nvme_subsystem_t object
15
16 transport Transport name
17
18 traddr Transport address
19
20 host_traddr Host transport address
21
22 host_iface Host interface name
23
24 trsvcid Transport service identifier
25
26 p Previous controller instance
27
29 Lookup a controller in s based on transport, traddr, host_traddr,
30 host_iface, and trsvcid. transport must be specified, other fields may
31 be required depending on the transport. A new object is created if none
32 is found. If p is specified the lookup will start at p instead of the
33 first controller.
34
36 Controller instance
37
38
39
40April 2022 nvme_lookup_ctrl nvme_lookup_ctrl(9)