Lines Matching defs:node
73 static int devfs_node(di_node_t node, void *arg);
79 static int clone(di_node_t node);
608 * If so, the new node will not be created (since the device is
610 * the new driver but not have a node - we need to warn the user
617 * walk the device tree checking each node
636 * called for each node in the device tree. We skip nodes that:
639 * 3. whose node name = binding name.
640 * 4. nexus nodes - the name of a generic nexus node would
645 * node away.
649 devfs_node(di_node_t node, void *arg)
660 if ((n_names = di_compatible_names(node, &compat_names)) <= 0)
664 * if the binding name and the node name match, then
665 * either no driver existed that could be bound to this node,
666 * or the driver name is the same as the node name.
668 binding_name = di_binding_name(node);
669 node_name = di_node_name(node);
678 if (di_driver_ops(node) & DI_BUS_OPS)
685 * away the node name for processing later.
688 devfsnm = di_devfs_path(node);
705 if ((new_entry->driver_name = strdup(di_driver_name(node)))
713 if (clone(node))
725 clone(di_node_t node)
729 while ((minor = di_minor_next(node, minor)) != DI_MINOR_NIL) {
835 dev_node(const char *node, const struct stat *node_stat, int flags,
841 if (readlink(node, linkbuf, MAXPATHLEN) == -1)
848 (void) fprintf(stderr, "\t%s\n", node);