Lines Matching defs:pathbuf
974 char *pathbuf;
987 pathbuf = kmem_alloc(MAXPATHLEN, KM_SLEEP);
988 retval = copyinstr(path, pathbuf, MAXPATHLEN, &pathsz);
990 kmem_free(pathbuf, MAXPATHLEN);
993 devpath = i_ddi_strdup(pathbuf, KM_SLEEP);
994 kmem_free(pathbuf, MAXPATHLEN);
1057 char *pathbuf;
1066 pathbuf = kmem_alloc(MAXPATHLEN, KM_SLEEP);
1067 error = copyinstr(path, pathbuf, MAXPATHLEN, &pathsz);
1069 kmem_free(pathbuf, MAXPATHLEN);
1072 devpath = i_ddi_strdup(pathbuf, KM_SLEEP);
1073 kmem_free(pathbuf, MAXPATHLEN);
1087 char *pathbuf;
1096 pathbuf = kmem_alloc(MAXPATHLEN, KM_SLEEP);
1097 retval = copyinstr(path, pathbuf, MAXPATHLEN, &pathsz);
1099 kmem_free(pathbuf, MAXPATHLEN);
1102 devpath = i_ddi_strdup(pathbuf, KM_SLEEP);
1103 kmem_free(pathbuf, MAXPATHLEN);