nvme_lookup_ctrl2
Lookup nvme_ctrl_t object
Usage
nvme_ctrl_t nvme_lookup_ctrl (nvme_subsystem_t s , const char *transport , const char *traddr , const char *host_traddr , const char *host_iface , const char *trsvcid , nvme_ctrl_t p );
Arguments
s
|
nvme_subsystem_t object |
|---|---|
transport
|
Transport name |
traddr
|
Transport address |
host_traddr
|
Host transport address |
host_iface
|
Host interface name |
trsvcid
|
Transport service identifier |
p
|
Previous controller instance |
Overview
Lookup a controller in s based on transport, traddr, host_traddr, host_iface, and trsvcid. transport must be specified, other fields may be required depending on the transport. A new object is created if none is found. If p is specified the lookup will start at p instead of the first controller.
Return
Controller instance
Releases
2 releases since Debian 12 (Bookworm); the text changed 1 time.