Symbol: DT_DIR
fs/9p/vfs_dir.c
54
rettype = DT_DIR;
fs/adfs/dir.c
258
if (!dir_emit(ctx, "..", 2, dir.parent_id, DT_DIR))
fs/afs/dynroot.c
312
cell->dynroot_ino, DT_DIR))
fs/afs/dynroot.c
318
cell->dynroot_ino + 1, DT_DIR))
fs/coda/dir.c
336
case CDT_DIR: dt = DT_DIR; break;
fs/exfat/dir.c
273
(de.attr & EXFAT_ATTR_SUBDIR) ? DT_DIR : DT_REG))
fs/ext4/ext4.h
2920
DT_UNKNOWN, DT_REG, DT_DIR, DT_CHR, DT_BLK, DT_FIFO, DT_SOCK, DT_LNK
fs/ext4/inline.c
1478
if (!dir_emit(ctx, ".", 1, inode->i_ino, DT_DIR))
fs/ext4/inline.c
1485
if (!dir_emit(ctx, "..", 2, parent_ino, DT_DIR))
fs/fat/dir.c
692
(de->attr & ATTR_DIR) ? DT_DIR : DT_REG))
fs/freevxfs/vxfs_lookup.c
206
if (!dir_emit(ctx, "..", 2, VXFS_INO(ip)->vii_dotdot, DT_DIR))
fs/fs_dirent.c
11
[FT_DIR] = DT_DIR,
fs/fs_dirent.c
52
[DT_DIR] = FT_DIR,
fs/gfs2/inode.c
1467
return gfs2_dir_mvino(ip, &gfs2_qdotdot, ndip, DT_DIR);
fs/gfs2/inode.c
530
dent->de_type = cpu_to_be16(DT_DIR);
fs/gfs2/inode.c
535
dent->de_type = cpu_to_be16(DT_DIR);
fs/gfs2/ops_fstype.c
426
inode = gfs2_inode_lookup(sb, DT_DIR, no_addr, 0,
fs/hfs/dir.c
126
be32_to_cpu(entry.dir.DirID), DT_DIR))
fs/hfs/dir.c
94
be32_to_cpu(entry.thread.ParID), DT_DIR))
fs/hfsplus/dir.c
182
be32_to_cpu(entry.thread.parentID), DT_DIR))
fs/hfsplus/dir.c
222
be32_to_cpu(entry.folder.id), DT_DIR))
fs/hpfs/dir.c
144
if (!dir_emit(ctx, "..", 2, hpfs_inode->i_parent_dir, DT_DIR))
fs/jffs2/build.c
186
if (fd->type == DT_DIR) {
fs/jffs2/build.c
83
if (fd->type == DT_DIR) {
fs/jffs2/dir.c
559
rd->type = DT_DIR;
fs/jffs2/fs.c
306
if (fd->type == DT_DIR && fd->ino)
fs/jfs/jfs_dtree.c
2814
if (!dir_emit(ctx, ".", 1, ip->i_ino, DT_DIR))
fs/jfs/jfs_dtree.c
2821
if (!dir_emit(ctx, "..", 2, PARENT(ip), DT_DIR))
fs/jfs/jfs_dtree.c
2850
if (!dir_emit(ctx, ".", 1, ip->i_ino, DT_DIR))
fs/jfs/jfs_dtree.c
2859
if (!dir_emit(ctx, "..", 2, PARENT(ip), DT_DIR))
fs/ntfs3/dir.c
326
dt_type = (fname->dup.fa & FILE_ATTRIBUTE_DIRECTORY) ? DT_DIR : DT_REG;
fs/omfs/dir.c
359
d_type = (oi->i_type == OMFS_DIR) ? DT_DIR : DT_REG;
fs/openpromfs/inode.c
281
if (!dir_emit(ctx, ".", 1, inode->i_ino, DT_DIR))
fs/openpromfs/inode.c
289
dp->parent->unique_id), DT_DIR))
fs/openpromfs/inode.c
305
child->unique_id, DT_DIR))
fs/romfs/super.c
94
DT_UNKNOWN, DT_DIR, DT_REG, DT_LNK, DT_BLK, DT_CHR, DT_SOCK, DT_FIFO
fs/smb/client/inode.c
285
fattr->cf_dtype = DT_DIR;
fs/smb/client/inode.c
926
fattr->cf_dtype = DT_DIR;
fs/smb/client/readdir.c
199
fattr->cf_dtype = DT_DIR;
fs/squashfs/dir.c
28
DT_UNKNOWN, DT_DIR, DT_REG, DT_LNK, DT_BLK, DT_CHR, DT_FIFO, DT_SOCK
fs/tracefs/event_inode.c
662
if (!dir_emit(ctx, name, strlen(name), ino, DT_DIR))
fs/ubifs/dir.c
541
return DT_DIR;
fs/ufs/util.h
172
de->d_u.d_44.d_type = DT_DIR;
fs/vboxsf/dir.c
71
d_type = DT_DIR;
fs/xfs/xfs_dir2_readdir.c
27
DT_UNKNOWN, DT_REG, DT_DIR, DT_CHR, DT_BLK,
fs/xfs/xfs_dir2_readdir.c
87
if (!dir_emit(ctx, ".", 1, dp->i_ino, DT_DIR))
fs/xfs/xfs_dir2_readdir.c
97
if (!dir_emit(ctx, "..", 2, ino, DT_DIR))
fs/zonefs/super.c
767
base_ino + ztype, DT_DIR))
fs/zonefs/super.c
775
base_ino + ztype, DT_DIR))
include/linux/fs.h
3571
file->f_path.dentry->d_inode->i_ino, DT_DIR);
include/linux/fs.h
3576
d_parent_ino(file->f_path.dentry), DT_DIR);
include/trace/misc/fs.h
17
{ DT_DIR, "DIR" }, \
tools/hv/hv_fcopy_uio_daemon.c
440
if (entry->d_type == DT_DIR && strcmp(entry->d_name, ".") != 0 &&
tools/hv/hv_fcopy_uio_daemon.c
75
if (entry->d_type == DT_DIR && strcmp(entry->d_name, ".") != 0 &&
tools/lib/api/io_dir.h
102
return dent->d_type == DT_DIR;
tools/lib/api/io_dir.h
98
dent->d_type = DT_DIR;
tools/mm/slabinfo.c
1249
case DT_DIR:
tools/perf/builtin-buildid-cache.c
99
if (dent->d_type != DT_DIR)
tools/perf/builtin-script.c
3508
if ((lang_dirent->d_type == DT_DIR || \
tools/perf/builtin-script.c
3516
if (script_dirent->d_type != DT_DIR && \
tools/perf/tests/tests-scripts.c
250
if (ent->d_type != DT_DIR) {
tools/perf/ui/browsers/scripts.c
196
if (lang_dirent->d_type != DT_DIR &&
tools/perf/ui/browsers/scripts.c
221
if (script_dirent->d_type == DT_DIR)
tools/perf/util/cpumap.c
603
if (dent1->d_type != DT_DIR || sscanf(dent1->d_name, "node%u", &mem) < 1)
tools/perf/util/dlfilter.c
621
if (entry->d_type == DT_DIR || n < 4 ||
tools/perf/util/drm_pmu.c
496
if (proc_entry->d_type != DT_DIR ||
tools/perf/util/evsel.c
3880
if ((d->d_type != DT_DIR) ||
tools/perf/util/evsel.c
3916
if (proc_entry->d_type != DT_DIR ||
tools/perf/util/symbol.c
1948
if (d->d_type != DT_DIR)
tools/perf/util/synthetic-events.c
614
if (dent->d_type != DT_DIR)
tools/perf/util/trace-event-info.c
157
if (dent->d_type == DT_DIR && \
tools/perf/util/tracepoint.h
13
if (evt_dirent->d_type == DT_DIR && \
tools/perf/util/tracepoint.h
20
if (sys_dirent->d_type == DT_DIR && \
tools/testing/selftests/alsa/conf.c
258
if (dirent->d_type == DT_DIR)
tools/testing/selftests/mm/vm_util.c
329
if (entry->d_type != DT_DIR)
tools/testing/selftests/powerpc/dscr/dscr_sysfs_test.c
45
if (!(dp->d_type & DT_DIR))
tools/testing/selftests/proc/fd-001-lookup.c
116
assert(de->d_type == DT_DIR);
tools/testing/selftests/proc/fd-001-lookup.c
120
assert(de->d_type == DT_DIR);
tools/testing/selftests/proc/fd-003-kthread.c
106
assert(de->d_type == DT_DIR);
tools/testing/selftests/proc/fd-003-kthread.c
110
assert(de->d_type == DT_DIR);
tools/testing/selftests/proc/proc-subset-pid.c
109
assert(de->d_type == DT_DIR);
tools/testing/selftests/proc/proc-subset-pid.c
91
assert(de->d_type == DT_DIR);
tools/testing/selftests/proc/proc-subset-pid.c
95
assert(de->d_type == DT_DIR);
tools/testing/selftests/proc/read.c
108
case DT_DIR:
tools/testing/selftests/proc/read.c
82
assert(de->d_type == DT_DIR);
tools/testing/selftests/proc/read.c
86
assert(de->d_type == DT_DIR);
tools/tracing/rtla/src/utils.c
290
if (proc_entry->d_type != DT_DIR)
tools/verification/rv/src/in_kernel.c
569
if (ep->d_type != DT_DIR || ep->d_name[0] == '.')