Lines Matching defs:node
325 * of the xenstore node containing the device configuration
738 char *type, *node = NULL, *xsname = NULL;
753 node = xdcp->node_fe;
758 node = xdcp->node_be;
761 node = xdcp->node_fe;
765 if (node == NULL)
777 ndi_devi_alloc_sleep(parent, node, DEVI_SID_NODEID, &dip);
781 * node name, so we set the node name to the 'model' of the
786 * binding based on the node name.
794 clen = strlen(node) + strlen(type) + 2;
796 (void) snprintf(c[0], clen, "%s,%s", node, type);
1131 * We'll try to remove the devinfo node of this device if the
1150 (xenbus_read(XBT_NULL, pdp->xd_hp_watch.node, "",
1206 strfree((char *)xxwp->xxw_watch.node);
1234 xxwp->xxw_cb(dip, xxwp->xxw_watch.node, xxwp->xxw_arg);
1276 xvdi_add_xb_watch_handler(dev_info_t *dip, const char *dir, const char *node,
1284 ASSERT((dip != NULL) && (dir != NULL) && (node != NULL));
1287 n = strlen(dir) + 1 + strlen(node) + 1;
1291 (void) strlcat(path, node, n);
1296 xxw_new->xxw_watch.node = path;
1329 ASSERT(strcmp(xxwp->xxw_watch.node, path) != 0);
1330 if (strcmp(xxwp->xxw_watch.node, path) != 0)
1440 if (dev->otherend_watch.node != NULL) {
1457 if (dev->otherend_watch.node != NULL)
1458 kmem_free((void *)dev->otherend_watch.node,
1459 strlen(dev->otherend_watch.node) + 1);
1460 dev->otherend_watch.node = NULL;
1493 if (pdp->xd_hp_watch.node == NULL) {
1505 pdp->xd_hp_watch.node = path;
1527 /* Unwatch for changes to "hotplug-status" node for backend device. */
1528 if (pdp->xd_hp_watch.node != NULL) {
1543 if (pdp->xd_hp_watch.node != NULL) {
1544 kmem_free((void *)pdp->xd_hp_watch.node,
1545 strlen(pdp->xd_hp_watch.node) + 1);
1546 pdp->xd_hp_watch.node = NULL;
1622 if (pdp->xd_bepath_watch.node == NULL) {
1633 pdp->xd_bepath_watch.node = path;
1638 pdp->xd_bepath_watch.node = NULL;
1655 if (pdp->xd_bepath_watch.node != NULL) {
1660 kmem_free((void *)(pdp->xd_bepath_watch.node),
1661 strlen(pdp->xd_bepath_watch.node) + 1);
1662 pdp->xd_bepath_watch.node = NULL;
1776 w->node = path;
1929 ASSERT(pdp->xd_hp_watch.node != NULL);
2260 * This is currently the only chance to delete a devinfo node, which
2315 (void) xenbus_read(XBT_NULL, pdp->xd_hp_watch.node, "",