@@ -300,54 +300,6 @@ nvme_path_t nvme_namespace_first_path(nvme_ns_t ns);
300300 */
301301nvme_path_t nvme_namespace_next_path (nvme_ns_t ns , nvme_path_t p );
302302
303- /**
304- * nvme_lookup_ctrl() - Lookup nvme_ctrl_t object
305- * @s: &nvme_subsystem_t object
306- * @transport: Transport name
307- * @traddr: Transport address
308- * @host_traddr: Host transport address
309- * @host_iface: Host interface name
310- * @trsvcid: Transport service identifier
311- * @p: Previous controller instance
312- *
313- * Lookup a controller in @s based on @transport, @traddr,
314- * @host_traddr, @host_iface, and @trsvcid. @transport must be specified,
315- * other fields may be required depending on the transport. A new
316- * object is created if none is found. If @p is specified the lookup
317- * will start at @p instead of the first controller.
318- *
319- * Return: Controller instance
320- */
321- nvme_ctrl_t nvme_lookup_ctrl (nvme_subsystem_t s , const char * transport ,
322- const char * traddr , const char * host_traddr ,
323- const char * host_iface , const char * trsvcid ,
324- nvme_ctrl_t p );
325-
326- /**
327- * nvme_ctrl_find() - Locate an existing controller
328- * @s: &nvme_subsystem_t object
329- * @transport: Transport name
330- * @traddr: Transport address
331- * @trsvcid: Transport service identifier
332- * @subsysnqn: Subsystem NQN
333- * @host_traddr: Host transport address
334- * @host_iface: Host interface name
335- *
336- * Lookup a controller in @s based on @transport, @traddr, @trsvcid,
337- * @subsysnqn, @host_traddr, and @host_iface. @transport must be specified,
338- * other fields may be required depending on the transport. Parameters set
339- * to NULL will be ignored.
340- *
341- * Unlike nvme_lookup_ctrl(), this function does not create a new object if
342- * an existing controller cannot be found.
343- *
344- * Return: Controller instance on success, NULL otherwise.
345- */
346- nvme_ctrl_t nvme_ctrl_find (nvme_subsystem_t s , const char * transport ,
347- const char * traddr , const char * trsvcid ,
348- const char * subsysnqn , const char * host_traddr ,
349- const char * host_iface );
350-
351303/**
352304 * nvme_ctrl_config_match() - Check if ctrl @c matches config params
353305 * @c: An existing controller instance
0 commit comments