Lines Matching refs:iocpath
230 char iocpath[MAXPATHLEN]; in dc_mkhndl() local
255 (void) strcpy(iocpath, path); in dc_mkhndl()
268 if ((chop = strrchr(iocpath, ':')) != NULL) in dc_mkhndl()
271 if (strlcat(iocpath, devctl_minorname, MAXPATHLEN) >= in dc_mkhndl()
277 (void) printf("DEVCTL_PM_BUS: iocpath %s\n", iocpath); in dc_mkhndl()
287 if ((iocpath_dup = strdup(iocpath)) == NULL) { in dc_mkhndl()
322 (void) strlcat(iocpath, ":", MAXPATHLEN); in dc_mkhndl()
326 strlcpy_size = strlcat(iocpath, devctl_target_raw, in dc_mkhndl()
329 strlcpy_size = strlcat(iocpath, minorname, MAXPATHLEN); in dc_mkhndl()
337 iocpath); in dc_mkhndl()
352 if ((chop = strrchr(iocpath, ':')) != NULL) in dc_mkhndl()
355 if (strlcat(iocpath, devctl_minorname, MAXPATHLEN) >= in dc_mkhndl()
379 if ((chop = strrchr(iocpath, '/')) == NULL) { in dc_mkhndl()
414 if (strlcat(iocpath, devctl_minorname, MAXPATHLEN) >= in dc_mkhndl()
429 (void) printf("dc_mkhndl: iocpath %s ", iocpath); in dc_mkhndl()
435 if (stat(iocpath, &sb) == 0) { in dc_mkhndl()
460 dcp->fd = open(iocpath, oflags); in dc_mkhndl()