Lines Matching refs:iocpath
228 char iocpath[MAXPATHLEN];
253 (void) strcpy(iocpath, path);
266 if ((chop = strrchr(iocpath, ':')) != NULL)
269 if (strlcat(iocpath, devctl_minorname, MAXPATHLEN) >=
275 (void) printf("DEVCTL_PM_BUS: iocpath %s\n", iocpath);
283 * "a,raw" string, as the minor node name, to the iocpath.
285 if ((iocpath_dup = strdup(iocpath)) == NULL) {
320 (void) strlcat(iocpath, ":", MAXPATHLEN);
324 strlcpy_size = strlcat(iocpath, devctl_target_raw,
327 strlcpy_size = strlcat(iocpath, minorname, MAXPATHLEN);
334 (void) printf("DEVCTL_PM_DEV: iocpath %s\n",
335 iocpath);
350 if ((chop = strrchr(iocpath, ':')) != NULL)
353 if (strlcat(iocpath, devctl_minorname, MAXPATHLEN) >=
377 if ((chop = strrchr(iocpath, '/')) == NULL) {
412 if (strlcat(iocpath, devctl_minorname, MAXPATHLEN) >=
427 (void) printf("dc_mkhndl: iocpath %s ", iocpath);
433 if (stat(iocpath, &sb) == 0) {
458 dcp->fd = open(iocpath, oflags);