Searched refs:subpath (Results 1 - 7 of 7) sorted by relevance
/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | ftw.c | 115 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); [all...] |
/illumos-gate/usr/src/cmd/backup/dump/ |
H A D | lftw.c | 141 char *subpath, *component; local 219 subpath = malloc((unsigned)(sublen+1)); /* +1 for NUL */ 220 if (subpath == NULL) { 228 (void) strcpy(subpath, path); 229 if (subpath[0] != '\0' && subpath[n-1] != '/') 230 subpath[n++] = '/'; 231 component = &subpath[n]; 233 sublen -= component - subpath; 262 rc = lf_xftw(subpath, f [all...] |
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | _xftw.c | 144 char *subpath; local 215 subpath = malloc(n + strlen(direntp->d_name) + 2); 216 if (subpath == 0) { 221 (void) strcpy(subpath, path); 222 if (subpath[0] != '\0' && subpath[n-1] != '/') 223 subpath[n++] = '/'; 226 (void) strlcpy(&subpath[n], direntp->d_name, MAXNAMELEN); 235 free(subpath); 244 rc = fwalk(subpath, f [all...] |
/illumos-gate/usr/src/lib/sun_sas/common/ |
H A D | devlink_disco.c | 160 char *subpath; local 202 subpath = NULL; 203 subpath = strstr(buf, path); 205 if (subpath != NULL) { 212 if (strcmp(subpath, tmpPath) == 0) {
|
/illumos-gate/usr/src/lib/libtsol/common/ |
H A D | getpathbylabel.c | 78 * pref is a substring of full. To be a subpath, it cannot cover a 92 * Return zero iff the path named by sub is a leading subpath 98 subpath(char *full, char *sub) function 268 if (subpath(globalpath, mnt->mnt_mountp) != 0) 382 if (subpath(globalpath, mnt->mnt_mountp) != 0)
|
/illumos-gate/usr/src/boot/sys/boot/fdt/ |
H A D | fdt_loader_cmd.c | 1336 char *path = *pathp, *name = NULL, *subpath = NULL; local 1338 subpath = strrchr(path, '/'); 1339 if (subpath == NULL) { 1344 *subpath = '\0'; 1348 name = subpath + 1;
|
/illumos-gate/usr/src/cmd/fs.d/ufs/df/ |
H A D | df.c | 79 static int subpath(char *, char *); 913 * pref is a substring of full. To be a subpath, it cannot cover a 927 * Return zero iff the path named by sub is a leading subpath 933 subpath(char *full, char *sub) function
|
Completed in 69 milliseconds