Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

nvme_lookup_ctrl - Lookup nvme_ctrl_t object

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

Description

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.

Name

nvme_lookup_ctrl - Lookup nvme_ctrl_t object

Return

Controller instance August 2025 nvme_lookup_ctrl nvme_lookup_ctrl(2)

Synopsis

nvme_ctrl_tnvme_lookup_ctrl(nvme_subsystem_ts,constchar*transport,constchar*traddr,constchar*host_traddr,constchar*host_iface,constchar*trsvcid,nvme_ctrl_tp);

See Also