Symbol: S_IFMT
bin/cp/cp.c
402
switch (curr->fts_statp->st_mode & S_IFMT) {
bin/csh/file.c
447
switch (statb.st_mode & S_IFMT) {
bin/ls/print.c
334
switch (mode & S_IFMT) {
bin/mv/cp.c
344
switch (curr->fts_statp->st_mode & S_IFMT) {
bin/pax/ftree.c
450
switch (S_IFMT & arcn->sb.st_mode) {
bin/test/test.c
490
return ((s.st_mode & S_IFMT) == i);
distrib/special/more/more.c
446
if ((stbuf.st_mode & S_IFMT) == S_IFDIR) {
lib/libc/gen/devname.c
58
|| sb.st_rdev != dev || (sb.st_mode & S_IFMT) != type)
lib/libc/gen/fstab.c
193
if ((sbuf.st_size == 0) || ((sbuf.st_mode & S_IFMT) != S_IFREG)) {
lib/libc/gen/isfdtype.c
34
return ((sb.st_mode & S_IFMT) == fdtype);
lib/libc/stdio/fseek.c
134
(st.st_mode & S_IFMT) != S_IFREG) {
lib/libc/stdio/makebuf.c
104
return ((st.st_mode & S_IFMT) == S_IFREG && fp->_seek == __sseek ?
lib/libc/string/strmode.c
39
switch (mode & S_IFMT) {
lib/libcurses/curses.priv.h
272
#define S_ISDIR(mode) ((mode & S_IFMT) == S_IFDIR)
lib/libcurses/curses.priv.h
276
#define S_ISREG(mode) ((mode & S_IFMT) == S_IFREG)
lib/libfuse/fuse_ops.c
69
attr->st_mode = (attr->st_mode & S_IFMT) | (0777 & ~f->conf.umask);
lib/libutil/readlabel.c
82
switch (sbuf.st_mode & S_IFMT) {
libexec/ftpd/ftpd.c
1997
if ((st.st_mode&S_IFMT) == S_IFDIR) {
regress/sys/ffs/fstest.c
230
switch (sp->st_mode & S_IFMT) {
sbin/badsect/badsect.c
130
if (mknod(*argv, S_IFMT|S_IRUSR|S_IWUSR,
sbin/bioctl/bioctl.c
1345
if ((sb.st_mode & ~S_IFMT) != (S_IRUSR | S_IWUSR))
sbin/dump/traverse.c
512
switch (DIP(dp, di_mode) & S_IFMT) {
sbin/swapctl/swapctl.c
426
if ((st.st_mode & S_IFMT) == rejecttype)
sys/arch/amd64/stand/rdboot/cmd.c
389
if ((sb.st_mode & S_IFMT) != S_IFDIR)
sys/arch/amd64/stand/rdboot/cmd.c
434
putchar("-fc-d-b---l-s-w-"[(sb->st_mode & S_IFMT) >> 12]);
sys/arch/octeon/stand/rdboot/cmd.c
385
if ((sb.st_mode & S_IFMT) != S_IFDIR)
sys/arch/octeon/stand/rdboot/cmd.c
430
putchar("-fc-d-b---l-s-w-"[(sb->st_mode & S_IFMT) >> 12]);
sys/arch/powerpc64/stand/rdboot/cmd.c
383
if ((sb.st_mode & S_IFMT) != S_IFDIR)
sys/arch/powerpc64/stand/rdboot/cmd.c
428
putchar("-fc-d-b---l-s-w-"[(sb->st_mode & S_IFMT) >> 12]);
sys/kern/vfs_subr.c
88
S_IFSOCK, S_IFIFO, S_IFMT,
sys/kern/vfs_syscalls.c
1551
switch (mode & S_IFMT) {
sys/kern/vfs_syscalls.c
1552
case S_IFMT: /* used by badsect to flag bad sectors */
sys/kern/vfs_syscalls.c
2314
if (mode & ~(S_IFMT | ALLPERMS))
sys/kern/vfs_syscalls.c
2356
if (mode & ~(S_IFMT | ALLPERMS))
sys/miscfs/fuse/fuse_vnops.c
467
vap->va_mode = st->mode & ~S_IFMT;
sys/stand/boot/cmd.c
450
if ((sb.st_mode & S_IFMT) != S_IFDIR)
sys/stand/boot/cmd.c
485
putchar("-fc-d-b---l-s-w-"[(sb->st_mode & S_IFMT) >> 12]);
sys/sys/vnode.h
228
#define IFTOVT(mode) (iftovt_tab[((mode) & S_IFMT) >> 12])
usr.bin/bgplg/misc.c
53
(stbuf.st_mode & ~S_IFMT) == 0)
usr.bin/cvs/file.c
1024
(stb1.st_mode & S_IFMT) != (stb2.st_mode & S_IFMT)) {
usr.bin/cvs/file.c
515
switch (st.st_mode & S_IFMT) {
usr.bin/cvs/repository.c
137
switch (st.st_mode & S_IFMT) {
usr.bin/cvs/util.c
393
switch (st.st_mode & S_IFMT) {
usr.bin/diff/diffreg.c
430
(stb1.st_mode & S_IFMT) != (stb2.st_mode & S_IFMT))
usr.bin/file/file.c
507
switch (inf->msg->sb.st_mode & S_IFMT) {
usr.bin/file/file.c
518
if (iflag && (inf->msg->sb.st_mode & S_IFMT) != S_IFREG) {
usr.bin/file/file.c
523
switch (inf->msg->sb.st_mode & S_IFMT) {
usr.bin/find/function.c
1498
return ((entry->fts_statp->st_mode & S_IFMT) == plan->m_data);
usr.bin/ftp/ftp.c
1042
if ((st.st_mode & S_IFMT) != S_IFREG) {
usr.bin/ftp/ftp.c
660
(st.st_mode & S_IFMT) != S_IFREG) {
usr.bin/mail/lex.c
81
switch (stb.st_mode & S_IFMT) {
usr.bin/mandoc/mandocdb.c
597
if ((ff->fts_statp->st_mode & S_IFMT) != S_IFREG)
usr.bin/rdist/client.c
784
switch (statp->st_mode & S_IFMT) {
usr.bin/rdistd/server.c
1249
int mode = stb.st_mode & S_IFMT;
usr.bin/rdistd/server.c
292
switch (statb->st_mode & S_IFMT) {
usr.bin/rdistd/server.c
615
switch (stb.st_mode & S_IFMT) {
usr.bin/ssh/scp.c
1372
switch (stb.st_mode & S_IFMT) {
usr.bin/stat/stat.c
711
switch (st->st_mode & S_IFMT) {
usr.bin/stat/stat.c
732
switch (st->st_mode & S_IFMT) {
usr.bin/tic/tic.c
466
} else if ((mode = (sb.st_mode & S_IFMT)) == S_IFDIR
usr.bin/uudecode/uudecode.c
274
switch (st.st_mode & S_IFMT) {
usr.sbin/amd/amd/afs_ops.c
327
} else if ((stb.st_mode & S_IFMT) != S_IFDIR) {
usr.sbin/amd/amd/host_ops.c
138
if (stat(dir, &stb) < 0 || (stb.st_mode & S_IFMT) != S_IFDIR) {
usr.sbin/amd/amd/util.c
550
(stb.st_mode & S_IFMT) == S_IFDIR ? 0 : error_so_far;
usr.sbin/makefs/cd9660.c
1804
to->node->inode->st.st_mode = to->node->inode->st.st_mode & ~(S_IFMT);
usr.sbin/makefs/cd9660.c
1852
tfsnode->type &= ~(S_IFMT);
usr.sbin/makefs/ffs.c
855
inode_type(DIP(din, mode) & S_IFMT),
usr.sbin/makefs/walk.c
114
if (S_ISSOCK(stbuf.st_mode & S_IFMT))
usr.sbin/makefs/walk.c
204
cur->type = stbuf->st_mode & S_IFMT;
usr.sbin/makefs/walk.c
273
switch (mode & S_IFMT) {
usr.sbin/mtree/compare.c
352
switch(type & S_IFMT) {
usr.sbin/pstat/pstat.c
577
type = ip->i_ffs1_mode & S_IFMT;
usr.sbin/pstat/pstat.c
677
type = np->n_vattr.va_mode & S_IFMT;
usr.sbin/rbootd/parseconf.c
324
(statb.st_mode & S_IFMT) != S_IFREG)
usr.sbin/sasyncd/conf.y
366
((st.st_mode & S_IFMT) != S_IFREG) ||