Lines Matching refs:source

1182 	char		source[MAXPATHLEN];  in get_slash_devices_from_osDevName()  local
1194 strcpy(source, osDevName); in get_slash_devices_from_osDevName()
1203 if (source[0] != '/') { in get_slash_devices_from_osDevName()
1211 if (source[0] == '.' && source[1] == '/') { in get_slash_devices_from_osDevName()
1212 strcpy(scratch, source+2); in get_slash_devices_from_osDevName()
1214 strcpy(scratch, source); in get_slash_devices_from_osDevName()
1216 strcpy(source, pwd); in get_slash_devices_from_osDevName()
1217 (void) strcat(source, "/"); in get_slash_devices_from_osDevName()
1218 (void) strcat(source, scratch); in get_slash_devices_from_osDevName()
1224 while (cleanup_dotdot_path(source)) in get_slash_devices_from_osDevName()
1240 if (stat(source, &stbuf) == -1) { in get_slash_devices_from_osDevName()
1242 strstr(source, "/devices")) { in get_slash_devices_from_osDevName()
1249 strlen(source) + 1); in get_slash_devices_from_osDevName()
1252 source, strlen(source) + 1); in get_slash_devices_from_osDevName()
1257 if (lstat(source, &stbuf) == -1) { in get_slash_devices_from_osDevName()
1272 if (lstat(source, &stbuf) == -1) { in get_slash_devices_from_osDevName()
1286 if (stat(source, &stbuf) == -1) { in get_slash_devices_from_osDevName()
1289 if (lstat(source, &stbuf) == -1) { in get_slash_devices_from_osDevName()
1307 phys_path = (char *)calloc(1, strlen(source) + 1); in get_slash_devices_from_osDevName()
1309 (void) strncpy(phys_path, source, in get_slash_devices_from_osDevName()
1310 strlen(source) + 1); in get_slash_devices_from_osDevName()
1314 cnt = readlink(source, scratch, sizeof (scratch)); in get_slash_devices_from_osDevName()
1331 tmp = strrchr(source, '/'); in get_slash_devices_from_osDevName()
1339 (void) strcat(source, scratch); in get_slash_devices_from_osDevName()
1347 strcpy(source, scratch); in get_slash_devices_from_osDevName()