Lines Matching defs:node_type
56 * NOTE: We save the node_type in the state structure. The node_type string
63 char *node_type; /* stable node_type copy */
712 if (dstatep->node_type)
713 kmem_free(dstatep->node_type,
714 strlen(dstatep->node_type) + 1);
1370 char *node_type;
1513 dmdp->node_type, NULL) != DDI_SUCCESS) {
1559 char *node_type;
1562 * Solaris may directly hang the node_type off the minor node
1563 * (without making a copy). Since we free the node_type
1571 DDI_PROP_DONTPASS, "node-type", &node_type) != 0) {
1575 if (node_type) {
1576 dstatep->node_type = kmem_alloc(
1577 strlen(node_type) + 1, KM_SLEEP);
1578 (void) strcpy(dstatep->node_type, node_type);
1580 ddi_prop_free(node_type);
1584 (INST_TO_MINOR(instance)), dstatep->node_type, NULL) !=
1586 if (dstatep->node_type) {
1587 kmem_free(dstatep->node_type,
1588 strlen(dstatep->node_type) + 1);
1589 dstatep->node_type = NULL;