Home
last modified time | relevance | path

Searched refs:subpath (Results 1 – 7 of 7) sorted by relevance

/titanic_50/usr/src/lib/libbc/libc/gen/common/
H A Dftw.c115 char *subpath, *component; local
171 subpath = malloc((unsigned)(n+MAXNAMLEN+2));
172 if(subpath == NULL) {
179 (void)strcpy(subpath, path);
180 if(subpath[0] != '\0' && subpath[n-1] != '/')
181 subpath[n++] = '/';
182 component = &subpath[n];
210 rc = ftw(subpath, fn, depth-1);
212 free(subpath);
224 free(subpath);
[all …]
/titanic_50/usr/src/cmd/backup/dump/
H A Dlftw.c141 char *subpath, *component; in lf_xftw() local
219 subpath = malloc((unsigned)(sublen+1)); /* +1 for NUL */ in lf_xftw()
220 if (subpath == NULL) { in lf_xftw()
228 (void) strcpy(subpath, path); in lf_xftw()
229 if (subpath[0] != '\0' && subpath[n-1] != '/') in lf_xftw()
230 subpath[n++] = '/'; in lf_xftw()
231 component = &subpath[n]; in lf_xftw()
233 sublen -= component - subpath; in lf_xftw()
262 rc = lf_xftw(subpath, fn, depth-1, statfn); in lf_xftw()
264 free(subpath); in lf_xftw()
[all …]
/titanic_50/usr/src/lib/libc/port/gen/
H A D_xftw.c144 char *subpath; in fwalk() local
215 subpath = malloc(n + strlen(direntp->d_name) + 2); in fwalk()
216 if (subpath == 0) { in fwalk()
221 (void) strcpy(subpath, path); in fwalk()
222 if (subpath[0] != '\0' && subpath[n-1] != '/') in fwalk()
223 subpath[n++] = '/'; in fwalk()
226 (void) strlcpy(&subpath[n], direntp->d_name, MAXNAMELEN); in fwalk()
235 free(subpath); in fwalk()
244 rc = fwalk(subpath, fn, depth-1, vp); in fwalk()
246 free(subpath); in fwalk()
[all …]
/titanic_50/usr/src/lib/sun_sas/common/
H A Ddevlink_disco.c160 char *subpath; in lookupLink() local
202 subpath = NULL; in lookupLink()
203 subpath = strstr(buf, path); in lookupLink()
205 if (subpath != NULL) { in lookupLink()
212 if (strcmp(subpath, tmpPath) == 0) { in lookupLink()
/titanic_50/usr/src/lib/libtsol/common/
H A Dgetpathbylabel.c98 subpath(char *full, char *sub) in subpath() function
268 if (subpath(globalpath, mnt->mnt_mountp) != 0) in getnfspathbyautofs()
382 if (subpath(globalpath, mnt->mnt_mountp) != 0) in getglobalpath()
/titanic_50/usr/src/cmd/fs.d/ufs/df/
H A Ddf.c79 static int subpath(char *, char *);
933 subpath(char *full, char *sub) in subpath() function
/titanic_50/usr/src/uts/intel/io/acpica/
H A Dchanges.txt11980 the Scope() operator could not be optimized if the namepath was a subpath