Lines Matching refs:de
529 struct dirent *de;
541 while ((de = readdir(d)) && max_depth > 0) {
544 LOGV("looking at '%s'\n", de->d_name);
546 if ((de->d_type != DT_DIR && !(de->d_type == DT_LNK && follow_links)) ||
547 de->d_name[0] == '.') {
549 de->d_name, de->d_type, max_depth, follow_links);
552 LOGV("can descend into '%s'\n", de->d_name);
554 fd = openat(dfd, de->d_name, O_RDONLY | O_DIRECTORY);
556 LOGE("cannot openat %d '%s' (%d: %s)\n", dfd, de->d_name,
565 LOGV("opened '%s'\n", de->d_name);