Lines Matching defs:dir_entry
974 struct dirent *dir_entry; /* Device directory entry */
1003 dir_entry = readdir(dir_fd);
1004 if (dir_entry == NULL) {
1015 if ((strcmp(dir_entry->d_name, ".") == 0) ||
1016 (strcmp(dir_entry->d_name, "..") == 0)) {
1019 file_len = strlen(dir_entry->d_name);
1030 dir_entry->d_name);
1033 strcpy(dev_entry->name, dir_entry->d_name);
1261 struct dirent *dir_entry; /* Device directory entry */
1300 dir_entry = readdir(dir_fd);
1301 if (dir_entry == NULL) {
1312 if ((strcmp(dir_entry->d_name, ".") == 0) ||
1313 (strcmp(dir_entry->d_name, "..") == 0)) {
1316 file_len = strlen(dir_entry->d_name);
1324 strcpy(&device_path[dir_len], dir_entry->d_name);