Symbol: S_IFDIR
bin/cp/cp.c
418
case S_IFDIR:
bin/ls/print.c
417
if ((mode & S_IFMT) == S_IFDIR) {
bin/ls/print.c
425
case S_IFDIR:
bin/ls/print.c
498
case S_IFDIR:
bin/mkdir/mkdir.c
179
else if ((sb.st_mode & S_IFMT) != S_IFDIR) {
bin/pax/ftree.c
430
case S_IFDIR:
bin/pax/tar.c
434
arcn->sb.st_mode |= S_IFDIR;
bin/pax/tar.c
452
arcn->sb.st_mode |= S_IFDIR;
bin/pax/tar.c
781
arcn->sb.st_mode |= S_IFDIR;
crypto/openssh/scp.c
1426
case S_IFDIR:
games/fortune/fortune/fortune.c
736
return (sbuf.st_mode & S_IFDIR);
lib/libc/gen/setmode.c
134
if (omode & (S_IFDIR|S_IXUSR|S_IXGRP|S_IXOTH))
lib/libc/string/strmode.c
43
case S_IFDIR: /* directory */
libexec/tftpd/tftpd.c
248
if ((sb.st_mode & S_IFDIR) &&
sbin/dump/traverse.c
391
case S_IFDIR:
sbin/fsck/preen.c
299
case S_IFDIR:
sbin/newfs/fscopy.c
147
case S_IFDIR:
sbin/newfs/fscopy.c
259
case S_IFDIR:
sbin/tunefs/tunefs.c
111
if (fs == NULL && (st.st_mode & S_IFMT) == S_IFDIR)
stand/lib/cd9660.c
592
sb->st_mode |= S_IFDIR;
stand/lib/dosfs.c
359
sb->st_mode = f->de.attr & FA_DIR ? S_IFDIR | 0555 : S_IFREG | 0444;
stand/lib/hammer1.c
369
return(S_IFDIR);
stand/lib/hammer2.c
804
return(S_IFDIR);
stand/lib/hammer2.c
856
hf->mode = 0755 | S_IFDIR;
stand/lib/nfs.c
672
0, S_IFREG, S_IFDIR, S_IFBLK, S_IFCHR, S_IFLNK, 0 };
sys/kern/vfs_subr.c
103
0, S_IFREG, S_IFDIR, S_IFBLK, S_IFCHR, S_IFLNK,
sys/kern/vfs_syscalls.c
2362
case S_IFDIR: /* special directories support for HAMMER */
sys/kern/vfs_vnops.c
872
mode |= S_IFDIR;
sys/vfs/isofs/cd9660/cd9660_node.c
253
inop->inode.iso_mode = S_IFDIR;
sys/vfs/smbfs/smbfs_vfsops.c
162
(S_IRWXU|S_IRWXG|S_IRWXO)) | S_IFDIR;
usr.bin/fetch/fetch.c
1159
if (sb.st_mode & S_IFDIR)
usr.bin/find/function.c
1522
mask = S_IFDIR;
usr.bin/fstat/fstat.h
60
return S_IFDIR;
usr.bin/fstat/msdosfs.c
113
fsp->mode |= denode.de_Attributes & ATTR_DIRECTORY ? S_IFDIR : S_IFREG;
usr.bin/stat/stat.c
879
case S_IFDIR: sdata = "/"; break;
usr.bin/stat/stat.c
900
case S_IFDIR: sdata = "Directory"; break;
usr.bin/uudecode/uudecode.c
268
case S_IFDIR:
usr.bin/whereis/whereis.c
320
if ((sb.st_mode & S_IFMT) != S_IFDIR)
usr.bin/whereis/whereis.c
339
(sb.st_mode & S_IFMT) != S_IFDIR ||
usr.bin/whereis/whereis.c
547
(sb.st_mode & S_IFMT) == S_IFDIR) {
usr.bin/xinstall/xinstall.c
381
if (target_sb->st_mode & S_IFDIR && rmdir(to_name) ==
usr.bin/xinstall/xinstall.c
430
if (target_sb->st_mode & S_IFDIR && rmdir(to_name) == -1) {
usr.bin/xinstall/xinstall.c
628
if (to_sb.st_mode & S_IFDIR && rmdir(to_name) == -1)
usr.sbin/config/main.c
137
else if ((buf.st_mode & S_IFMT) != S_IFDIR) {
usr.sbin/cpucontrol/cpucontrol.c
129
return (st.st_mode & S_IFDIR);
usr.sbin/cron/lib/misc.c
196
if (!(sb.st_mode & S_IFDIR))
usr.sbin/cron/lib/misc.c
212
if (!(sb.st_mode & S_IFDIR))
usr.sbin/lpr/lpr/lpr.c
709
if ((statb.st_mode & S_IFMT) == S_IFDIR) {
usr.sbin/makefs/cd9660.c
1893
to->node->inode->st.st_mode |= S_IFDIR;
usr.sbin/makefs/cd9660.c
1941
tfsnode->type |= S_IFDIR;
usr.sbin/makefs/cd9660.c
1988
temp->node->type |= S_IFDIR;
usr.sbin/makefs/cd9660/cd9660_write.c
277
!(writenode->node->type & S_IFDIR)) {
usr.sbin/makefs/ffs.c
690
if (node->type == S_IFDIR)
usr.sbin/makefs/hammer2.c
996
if (node->type == S_IFDIR)
usr.sbin/makefs/makefs.c
311
case S_IFDIR: /* walk the tree */
usr.sbin/makefs/mtree.c
1119
node = create_node(".", S_IFDIR, NULL, &mtree_global);
usr.sbin/makefs/mtree.c
669
node->type = S_IFDIR;
usr.sbin/makefs/mtree.c
749
type = (node->symlink != NULL) ? S_IFLNK : S_IFDIR;
usr.sbin/makefs/mtree.c
907
if (node->type != S_IFDIR) {
usr.sbin/makefs/mtree.c
928
type = (def == false || IS_DOT(name)) ? S_IFDIR : 0;
usr.sbin/makefs/mtree.c
946
if (node->type != S_IFDIR)
usr.sbin/makefs/mtree.c
951
node = create_node(".", S_IFDIR, parent, parent);
usr.sbin/makefs/walk.c
358
if (dirnode->type != S_IFDIR)
usr.sbin/makefs/walk.c
453
if (curfsnode->type == S_IFDIR) {
usr.sbin/makefs/walk.c
468
if (curfsnode->type != S_IFDIR)
usr.sbin/makefs/walk.c
590
assert (cur->type == S_IFDIR);
usr.sbin/mtree/misc.c
248
return S_IFDIR;
usr.sbin/mtree/misc.c
283
case S_IFDIR: