Lines Matching refs:d_name
263 if (strncmp(dep->d_name, "rst", SIZE_OF_RST) && in dotape()
264 strncmp(dep->d_name, "nrst", SIZE_OF_NRST)) in dotape()
275 nm = (char *)malloc(SIZE_OF_TMP + 1 + strlen(dep->d_name) + 1); in dotape()
279 (void) strcat(nm, dep->d_name); in dotape()
322 if (strncmp(dep->d_name, ".", 1) == 0) in dotape()
333 nm = (char *)malloc(SIZE_OF_RMT + 1 + strlen(dep->d_name) + 1); in dotape()
337 (void) strcat(nm, dep->d_name); in dotape()
341 nm = (char *)malloc(SIZE_OF_TMP + strlen(dep->d_name) + 1); in dotape()
345 (void) strcat(nm, dep->d_name); in dotape()
348 (void) sscanf(dep->d_name, "%d", &tape[i].number); in dotape()
470 if (strcmp(dep->d_name, "audio") && in doaudio()
471 strcmp(dep->d_name, "audioctl")) in doaudio()
482 nm = (char *)malloc(SIZE_OF_TMP + 1 + strlen(dep->d_name) + 1); in doaudio()
486 (void) strcat(nm, dep->d_name); in doaudio()
523 if (strncmp(dep->d_name, ".", 1) == 0) in doaudio()
535 strlen(dep->d_name) + 1); in doaudio()
539 (void) strcat(nm, dep->d_name); in doaudio()
543 strlen(dep->d_name) + 1); in doaudio()
547 (void) strcat(nm, dep->d_name); in doaudio()
550 (void) sscanf(dep->d_name, "%d", &audio[i].number); in doaudio()
677 if (strncmp(dep->d_name, "fd0", SIZE_OF_FD0) && in dofloppy()
678 strncmp(dep->d_name, "rfd0", SIZE_OF_RFD0) && in dofloppy()
679 strncmp(dep->d_name, "fd1", SIZE_OF_FD0) && in dofloppy()
680 strncmp(dep->d_name, "rfd0", SIZE_OF_RFD0)) in dofloppy()
690 nm = (char *)malloc(SIZE_OF_TMP + 1 + strlen(dep->d_name) + 1); in dofloppy()
694 (void) strcat(nm, dep->d_name); in dofloppy()
846 if (strncmp(dep->d_name, "sr", SIZE_OF_SR) && in docd()
847 strncmp(dep->d_name, "rsr", SIZE_OF_RSR)) in docd()
857 nm = (char *)malloc(SIZE_OF_TMP + 1 + strlen(dep->d_name) + 1); in docd()
861 (void) strcat(nm, dep->d_name); in docd()
906 if (strncmp(dep->d_name, ".", 1) == 0) in docd()
910 if (sscanf(dep->d_name, "c%dt%d", &ctrl, &id) != 2) in docd()
928 nm = (char *)malloc(SIZE_OF_DSK + 1 + strlen(dep->d_name) + 1); in docd()
932 (void) strcat(nm, dep->d_name); in docd()
957 if (strncmp(dep->d_name, ".", 1) == 0) in docd()
961 if (sscanf(dep->d_name, "c%dt%d", &ctrl, &id) != 2) in docd()
979 nm = (char *)malloc(SIZE_OF_RDSK + 1 + strlen(dep->d_name) + 1); in docd()
983 (void) strcat(nm, dep->d_name); in docd()
1114 if (strncmp(dep->d_name, ".", 1) == 0) in dormdisk()
1118 if (sscanf(dep->d_name, "c%dt%d", &ctrl, &id) != 2) in dormdisk()
1125 (strcmp(dep->d_name, rmdisk[j].name) == 0)) { in dormdisk()
1150 dep->d_name); in dormdisk()
1170 nm = (char *)malloc(SIZE_OF_DSK + 1 + strlen(dep->d_name) + 1); in dormdisk()
1174 (void) strcat(nm, dep->d_name); in dormdisk()