Lines Matching refs:nodename
55 char *nodename; /* DEVCTL_DEVICE handles only */
89 if (DCP(hdl)->nodename != NULL)
90 free(DCP(hdl)->nodename);
229 char *nodename, *unitsep, *minorsep, *chop;
296 nodename = chop + 1;
301 tok = strtok(nodename, "@");
374 * The components are passed as nodename and unitaddr
384 nodename = chop + 1;
385 unitsep = strchr(nodename, '@');
386 minorsep = strchr(nodename, ':');
395 * copy the nodename and unit address
397 if (((dcp->nodename = malloc(MAXNAMELEN)) == NULL) ||
406 (void) snprintf(dcp->nodename, MAXNAMELEN, "%s", nodename);
1134 devctl_ddef_alloc(char *nodename, int flags)
1139 if ((nodename == NULL) || *nodename == '\0') {
1155 * add the nodename of the new device to the list
1157 if (nvlist_add_string(nvlp, DC_DEVI_NODENAME, nodename) != 0) {
1164 (void) printf("devctl_ddef_alloc: node %s nvp %p\n", nodename,
1362 iocdata.c_nodename = dcp->nodename;