Lines Matching refs:d_name
381 if (strstr(ep->d_name, eaname) != NULL) {
383 cwdbuf, ADv2_DIRNAME, ep->d_name);
384 if ((unlink(ep->d_name)) != 0) {
386 cwdbuf, ADv2_DIRNAME, ep->d_name, strerror(errno));
612 if (DIR_DOT_OR_DOTDOT(ep->d_name))
615 if (STRCMP(ep->d_name, ==, ".Parent"))
618 if ((lstat(ep->d_name, &st)) < 0) {
620 cwdbuf, ADv2_DIRNAME, ep->d_name, strerror(errno));
627 ep->d_name, cwdbuf, ADv2_DIRNAME);
632 if (check_eafile_in_adouble(ep->d_name) != 0)
636 strcpy(pname + 3, ep->d_name);
645 cwdbuf, ADv2_DIRNAME, ep->d_name);
651 if ((unlink(ep->d_name)) != 0) {
653 cwdbuf, ADv2_DIRNAME, ep->d_name);
892 if (DIR_DOT_OR_DOTDOT(ep->d_name))
896 if ((name = check_netatalk_dirs(ep->d_name)) != NULL) {
904 if ((name = check_special_dirs(ep->d_name)) != NULL) {
911 if (STRCMP(ep->d_name, == , ADv2_DIRNAME))
914 if ((ret = lstat(ep->d_name, &st)) < 0) {
916 cwdbuf, ep->d_name, strerror(errno));
928 dbd_log(LOGDEBUG, "Ignoring symlink %s/%s", cwdbuf, ep->d_name);
930 ret = check_symlink(ep->d_name, &adflags);
934 dbd_log(LOGSTD, "Error checking symlink %s/%s", cwdbuf, ep->d_name);
938 dbd_log(LOGSTD, "Bad filetype: %s/%s", cwdbuf, ep->d_name);
940 if ((unlink(ep->d_name)) != 0) {
941 dbd_log(LOGSTD, "Error removing: %s/%s: %s", cwdbuf, ep->d_name, strerror(errno));
968 if ( -1 == (encoding_ok = check_name_encoding(ep->d_name)) ) {
977 adfile_ok = check_adfile(ep->d_name, &st);
981 cnid = check_cnid(ep->d_name, did, &st, adfile_ok, adflags);
992 cnid, cwdbuf, ep->d_name);
1008 check_eafiles(ep->d_name);
1015 strcat(cwdbuf, ep->d_name);
1021 if (0 != chdir(ep->d_name)) {