logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

nvme_ctrl_find - Locate an existing controller

Arguments

s nvme_subsystem_t object transport Transport name traddr Transport address trsvcid Transport service identifier subsysnqn Subsystem NQN host_traddr Host transport address host_iface Host interface name

Description

Lookup a controller in s based on transport, traddr, trsvcid, subsysnqn, host_traddr, and host_iface. transport must be specified, other fields may be required depending on the transport. Parameters set to NULL will be ignored. Unlike nvme_lookup_ctrl, this function does not create a new object if an existing controller cannot be found.

Name

nvme_ctrl_find - Locate an existing controller

Return

Controller instance on success, NULL otherwise. August 2025 nvme_ctrl_find nvme_ctrl_find(2)

Synopsis

nvme_ctrl_tnvme_ctrl_find(nvme_subsystem_ts,constchar*transport,constchar*traddr,constchar*trsvcid,constchar*subsysnqn,constchar*host_traddr,constchar*host_iface);

See Also