Lines Matching refs:connection
64 * Build a hotplug information snapshot. The path, connection,
68 getinfo(const char *path, const char *connection, uint_t flags, hp_node_t *retp)
78 dprintf("getinfo: path=%s, connection=%s, flags=0x%x\n", path,
79 (connection == NULL) ? "NULL" : connection, flags);
86 if ((rv = copy_devinfo(basepath, connection, flags, &root)) != 0) {
136 copy_devinfo(const char *path, const char *connection, uint_t flags,
154 * If a connection is specified, just copy immediate hotplug info.
157 if (connection != NULL)
158 rv = copy_hotplug(NULL, di_root, connection, flags, &hp_root);
237 * If a connection is specified, the results are limited only
238 * to the branch associated with that specific connection.
241 copy_hotplug(hp_node_t parent, di_node_t dev, const char *connection,
261 * If a connection is specified and it matches a virtual port,
262 * this will build the branch associated with that connection.
274 * a specific connection is being sought.
276 if ((connection == NULL) && (di_hp_depends_on(hp) != -1))
279 /* If a connection is specified, ignore non-matching ports */
280 if ((connection != NULL) &&
281 (strcmp(di_hp_name(hp), connection) != 0))
290 /* Add port node to connection list */
303 * If a connection is specified, the results will be limited
304 * only to the branch associated with that connection.
312 /* If a connection is specified, ignore non-matching ports */
313 if ((connection != NULL) &&
314 (strcmp(di_hp_name(hp), connection) != 0))
323 /* Add connector node to connection list */