Lines Matching refs:iocpath
232 char iocpath[MAXPATHLEN]; in dc_mkhndl() local
257 (void) strcpy(iocpath, path); in dc_mkhndl()
270 if ((chop = strrchr(iocpath, ':')) != NULL) in dc_mkhndl()
273 if (strlcat(iocpath, devctl_minorname, MAXPATHLEN) >= in dc_mkhndl()
279 (void) printf("DEVCTL_PM_BUS: iocpath %s\n", iocpath); in dc_mkhndl()
289 if ((iocpath_dup = strdup(iocpath)) == NULL) { in dc_mkhndl()
324 (void) strlcat(iocpath, ":", MAXPATHLEN); in dc_mkhndl()
328 strlcpy_size = strlcat(iocpath, devctl_target_raw, in dc_mkhndl()
331 strlcpy_size = strlcat(iocpath, minorname, MAXPATHLEN); in dc_mkhndl()
339 iocpath); in dc_mkhndl()
354 if ((chop = strrchr(iocpath, ':')) != NULL) in dc_mkhndl()
357 if (strlcat(iocpath, devctl_minorname, MAXPATHLEN) >= in dc_mkhndl()
381 if ((chop = strrchr(iocpath, '/')) == NULL) { in dc_mkhndl()
416 if (strlcat(iocpath, devctl_minorname, MAXPATHLEN) >= in dc_mkhndl()
431 (void) printf("dc_mkhndl: iocpath %s ", iocpath); in dc_mkhndl()
437 if (stat(iocpath, &sb) == 0) { in dc_mkhndl()
462 dcp->fd = open(iocpath, oflags); in dc_mkhndl()