Symbol: S_IFDIR
bin/cp/cp.c
455
case S_IFDIR:
bin/csh/file.c
281
case S_IFDIR:
bin/ls/print.c
461
case S_IFDIR:
bin/pax/ftree.c
660
case S_IFDIR:
bin/pax/tar.c
551
arcn->sb.st_mode |= S_IFDIR;
bin/pax/tar.c
900
arcn->sb.st_mode |= S_IFDIR;
bin/rcp/rcp.c
354
case S_IFDIR:
crypto/dist/ipsec-tools/src/racoon/eaytest.c
531
if (!(sb.st_mode & S_IFDIR)) {
distrib/utils/more/os.c
268
if ((statbuf.st_mode & S_IFMT) == S_IFDIR) {
lib/libc/gen/setmode.c
149
if (omode & (S_IFDIR|S_IXUSR|S_IXGRP|S_IXOTH))
lib/libc/string/strmode.c
61
case S_IFDIR: /* directory */
lib/libperfuse/ops.c
101
0, S_IFREG, S_IFDIR, S_IFBLK, S_IFCHR, S_IFLNK,
lib/libpuffs/subr.c
250
case S_IFDIR:
lib/libpuffs/subr.c
314
mode |= S_IFDIR;
lib/librumpuser/rumpuser_file.c
86
case S_IFDIR:
libexec/ftpd/cmds.c
738
case S_IFDIR:
sbin/fdisk/fdisk.c
484
(sb.st_mode & S_IFMT) == S_IFDIR) {
sbin/mount_qemufwcfg/fwcfg.c
105
st->st_mode = S_IFDIR | fwcfg_dir_mask;
sbin/mount_qemufwcfg/fwcfg.c
89
st->st_mode = S_IFDIR | fwcfg_dir_mask;
sbin/mount_qemufwcfg/virtdir.c
108
tp->dir.st_mode = S_IFDIR | 0755;
sbin/restore/interactive.c
759
stp->st_mode = S_IFDIR;
share/examples/puffs/icfs/icfs.c
192
if ((sb.st_mode & S_IFDIR) == 0)
share/examples/puffs/pnullfs/pnullfs.c
93
if ((sb.st_mode & S_IFDIR) == 0)
share/examples/puffs/rot13fs/rot13fs.c
144
if ((sb.st_mode & S_IFDIR) == 0)
share/examples/refuse/dbfs/dbfs.c
63
st->st_mode = S_IFDIR | 0755;
share/examples/refuse/dmesgfs/dmesgfs.c
73
st->st_mode = (S_IFDIR | 0755);
share/examples/refuse/fanoutfs/fanoutfs.c
204
st->st_mode = S_IFDIR | 0755;
share/examples/refuse/ian/ian/ian.c
135
st->st_mode = S_IFDIR | 0755;
share/examples/refuse/icfs/icfs.c
106
st->st_mode = S_IFDIR | 0755;
share/examples/refuse/icfs/icfs.c
566
case S_IFDIR:
share/examples/refuse/id3fs/id3fs.c
61
st->st_mode = S_IFDIR | 0755;
share/examples/refuse/pcifs/pcifs.c
57
st->st_mode = S_IFDIR | 0755;
share/examples/refuse/virtdir/virtdir.c
118
tp->dir.st_mode = S_IFDIR | 0755;
sys/arch/hppa/stand/common/lif.c
226
sb->st_mode = 0755 | (fp->f_isdir? S_IFDIR: 0); /* XXX */
sys/arch/ia64/stand/efi/libefi/efifs.c
252
sb->st_mode |= S_IFDIR;
sys/arch/ia64/stand/efi/libefi/efifs_ls.c
140
|| (sb.st_mode & S_IFMT) != S_IFDIR) {
sys/arch/ia64/stand/efi/libefi/efifs_ls.c
168
if ((sb.st_mode & S_IFMT) != S_IFDIR) {
sys/fs/cd9660/cd9660_node.c
156
inop->inode.iso_mode = S_IFDIR;
sys/fs/efs/efs_subr.c
358
KASSERT((ei->ei_mode & S_IFMT) == S_IFDIR);
sys/fs/efs/efs_vfsops.c
411
case S_IFDIR:
sys/fs/filecorefs/filecore_utils.c
218
m |= S_IFDIR | S_IXUSR | S_IXGRP | S_IXOTH;
sys/fs/hfs/hfs_vnops.c
637
vap->va_mode = (S_IFDIR | HFS_DEFAULT_DIR_MODE);
sys/fs/udf/udf_subr.c
4173
return S_IFDIR;
sys/kern/vfs_subr.c
161
0, S_IFREG, S_IFDIR, S_IFBLK, S_IFCHR, S_IFLNK,
sys/kern/vfs_vnops.c
776
mode |= S_IFDIR;
sys/lib/libsa/dosfs.c
406
(S_IFDIR | 0555) : (S_IFREG | 0444);
sys/lib/libsa/ls.c
104
|| (sb.st_mode & S_IFMT) != S_IFDIR) {
sys/lib/libsa/ls.c
133
if ((sb.st_mode & S_IFMT) != S_IFDIR) {
sys/lib/libsa/nfs.c
894
0, S_IFREG, S_IFDIR, S_IFBLK, S_IFCHR, S_IFLNK, 0 };
tests/lib/libc/gen/t_glob.c
160
st->st_mode = S_IFDIR | 0755;
usr.bin/find/function.c
1810
mask = S_IFDIR;
usr.bin/fstat/fstat.c
1396
ftype = S_IFDIR;
usr.bin/fstat/ptyfs.c
91
fsp->mode |= S_IFDIR;
usr.bin/grep/util.c
206
if (s == S_IFDIR && dirbehave == DIR_SKIP)
usr.bin/mail/lex.c
232
case S_IFDIR:
usr.bin/make/dir.c
1314
if ((cst.cst_mode & S_IFMT) != S_IFDIR) {
usr.bin/rdist/docmd.c
468
case S_IFDIR:
usr.bin/rdist/server.c
1315
case S_IFDIR:
usr.bin/rdist/server.c
148
recvf(cp, S_IFDIR);
usr.bin/rdist/server.c
383
case S_IFDIR:
usr.bin/rdist/server.c
736
case S_IFDIR:
usr.bin/rdist/server.c
805
if (type == S_IFDIR) {
usr.bin/stat/stat.c
960
case S_IFDIR: sdata = "/"; break;
usr.bin/stat/stat.c
983
case S_IFDIR: sdata = "Directory"; break;
usr.sbin/makefs/cd9660.c
1966
to->node->inode->st.st_mode |= S_IFDIR;
usr.sbin/makefs/cd9660.c
2014
tfsnode->type |= S_IFDIR;
usr.sbin/makefs/cd9660.c
2061
temp->node->type |= S_IFDIR;
usr.sbin/makefs/cd9660/cd9660_write.c
276
!(writenode->node->type & S_IFDIR)) {
usr.sbin/makefs/ffs.c
647
if (node->type == S_IFDIR)
usr.sbin/makefs/udf.c
725
case S_IFDIR:
usr.sbin/makefs/udf.c
756
case S_IFDIR:
usr.sbin/makefs/udf.c
934
case S_IFDIR:
usr.sbin/makefs/v7fs/v7fs_estimate.c
140
case S_IFDIR:
usr.sbin/makefs/v7fs/v7fs_populate.c
218
case S_IFDIR:
usr.sbin/makefs/walk.c
493
if (dirnode->type != S_IFDIR)
usr.sbin/makefs/walk.c
594
if (curfsnode->type == S_IFDIR) {
usr.sbin/makefs/walk.c
609
if (curfsnode->type != S_IFDIR)
usr.sbin/makefs/walk.c
731
assert(cur->type == S_IFDIR);
usr.sbin/mtree/misc.c
257
return S_IFDIR;
usr.sbin/mtree/misc.c
292
case S_IFDIR:
usr.sbin/sysinst/target.c
668
return target_test(S_IFDIR, path);
usr.sbin/sysinst/util.c
1677
{ S_IFDIR, "/etc" },
usr.sbin/sysinst/util.c
1684
{ S_IFDIR, "/dev" },
usr.sbin/sysinst/util.c
270
return file_mode_match(path, S_IFDIR);
usr.sbin/tcpdchk/tcpdchk.c
48
#define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
usr.sbin/tcpdmatch/tcpdmatch.c
47
#define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)