Lines Matching defs:node

37  * Get the preferred minor node for the given path.
181 * child smp ndoes or child node or pathinfo.
214 * Finds attached device(target) from devinfo node.
217 get_attached_devices_info(di_node_t node, struct sun_sas_port *port_ptr)
244 if ((devpath = di_devfs_path(node)) == NULL) {
250 if ((di_instance(node) == -1) || di_retired(node)) {
252 "dev node (%s) returned instance of -1 or is retired. "
257 state = di_state(node);
258 /* when node is not attached and online, set the state to offline. */
262 "dev node (%s) is either OFFLINE or DETACHED",
272 if ((unit_address = di_bus_addr(node)) != NULL) {
300 if (di_prop_lookup_strings(DDI_DEV_T_ANY, node, "attached-port",
370 * port and node wwn or a matching device path
433 rval = di_prop_lookup_strings(DDI_DEV_T_ANY, node,
437 charptr = di_driver_name(node);
532 if (di_prop_lookup_ints(DDI_DEV_T_ANY, node, "lun",
551 if (di_prop_lookup_int64(DDI_DEV_T_ANY, node, "lun64",
564 if (di_prop_lookup_ints(DDI_DEV_T_ANY, node,
568 mapping_ptr->entry.ScsiId.ScsiTargetNumber = di_instance(node);
585 if (di_prop_lookup_strings(DDI_DEV_T_ANY, node, "devid",
636 * Finds attached device(target) from pathinfo node.
672 /* when node is not attached and online, set the state to offline. */
676 "path node (%s) is either OFFLINE or FAULT state",
684 "client node of path (%s) is retired. Skipping.",
812 * port and node wwn or a matching device path
1062 devtree_attached_devices(di_node_t node, struct sun_sas_port *port_ptr)
1069 if ((nodechild = di_child_node(node)) == DI_NODE_NIL) {
1071 "No devinfo child on the HBA port node.");
1074 if ((path = di_path_phci_next_path(node, path)) ==
1077 "No pathinfo node on the HBA port node.");
1098 path = di_path_phci_next_path(node, path);