Symbol: S_IFMT
bin/chmod/chmod.c
203
S_IFMT) | newmode, m2);
bin/chmod/chmod.c
206
(p->fts_statp->st_mode & S_IFMT) |
bin/cp/cp.c
586
switch (curr_stat->st_mode & S_IFMT) {
bin/cp/utils.c
128
if ((sb.st_mode & S_IFMT) != (fs->st_mode & S_IFMT)) {
bin/ls/print.c
497
if ((mode & S_IFMT) == S_IFDIR) {
bin/ls/print.c
504
switch (mode & S_IFMT) {
bin/ls/print.c
624
switch (mode & S_IFMT) {
bin/pax/ftree.c
439
switch(S_IFMT & arcn->sb.st_mode) {
crypto/heimdal/appl/ftp/ftpd/ls.c
127
#if !defined(_S_IFMT) && defined(S_IFMT)
crypto/heimdal/appl/ftp/ftpd/ls.c
128
#define _S_IFMT S_IFMT
crypto/heimdal/lib/roken/glob.c
511
#if defined(S_IFLNK) && defined(S_IFMT)
crypto/heimdal/lib/roken/glob.c
512
#define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK)
crypto/krb5/src/util/profile/prof_file.c
31
#define S_ISDIR(x) (((x) & S_IFMT) == S_IFDIR)
crypto/krb5/src/util/profile/prof_file.c
341
if ((st.st_mode & S_IFMT) != S_IFREG)
crypto/krb5/src/util/support/mkstemp.c
56
#if defined S_IFMT
crypto/krb5/src/util/support/mkstemp.c
57
#define S_ISDIR(MODE) (((MODE) & S_IFMT) == S_IFDIR)
crypto/openssh/defines.h
178
# define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK)
crypto/openssh/openbsd-compat/strmode.c
46
switch (mode & S_IFMT) {
crypto/openssh/scp.c
1424
switch (stb.st_mode & S_IFMT) {
crypto/openssl/apps/lib/opt.c
1275
#define S_ISDIR(a) (((a) & S_IFMT) == S_IFDIR)
crypto/openssl/crypto/conf/conf_def.c
36
#define S_ISDIR(a) (((a) & S_IFMT) == S_IFDIR)
crypto/openssl/engines/e_loader_attic.c
48
#define S_ISDIR(a) (((a) & S_IFMT) == S_IFDIR)
crypto/openssl/include/internal/e_os.h
77
#ifndef S_IFMT
crypto/openssl/providers/implementations/storemgmt/file_store.c
42
#define S_ISDIR(a) (((a) & S_IFMT) == S_IFDIR)
crypto/openssl/ssl/ssl_cert.c
36
#define S_ISDIR(a) (((a) & S_IFMT) == S_IFDIR)
lib/libc/stdio/fseek.c
172
(st.st_mode & S_IFMT) != S_IFREG) {
lib/libc/stdio/makebuf.c
110
return ((st.st_mode & S_IFMT) == S_IFREG && fp->_seek == __sseek ?
lib/libc/stdio/makebuf.c
97
*couldbetty = (st.st_mode & S_IFMT) == S_IFCHR;
lib/libc/string/strmode.c
40
switch (mode & S_IFMT) {
lib/libprocstat/common_kvm.c
133
vn->vn_mode = (devfs_dirent.de_mode & ~S_IFMT) | S_IFCHR;
libexec/flua/lfs/lfs.c
258
mode = (sb->st_mode & S_IFMT);
libexec/flua/lfs/lfs.c
288
snprintf(buf, sizeof(buf), "%o", sb->st_mode & ~S_IFMT);
libexec/rbootd/parseconf.c
334
(statb.st_mode & S_IFMT) != S_IFREG)
sbin/bsdlabel/bsdlabel.c
434
i = sb.st_mode & S_IFMT;
sbin/dump/main.c
697
if (stat(cp, &sb) == 0 && (sb.st_mode & S_IFMT) == S_IFCHR)
sbin/dump/traverse.c
498
switch (DIP(dp, di_mode) & S_IFMT) {
sbin/fsck_ffs/setup.c
372
if ((statb.st_mode & S_IFMT) != S_IFCHR &&
sbin/fsck_ffs/setup.c
373
(statb.st_mode & S_IFMT) != S_IFBLK) {
sbin/fsck_ffs/utilities.c
72
switch(stblock.st_mode & S_IFMT) {
sbin/mount_nullfs/mount_nullfs.c
104
if ((target_stat.st_mode & S_IFMT) !=
sbin/mount_nullfs/mount_nullfs.c
105
(mountpoint_stat.st_mode & S_IFMT))
sbin/newfs/newfs.c
332
if ((st.st_mode & S_IFMT) != S_IFCHR) {
stand/libsa/pkgfs.c
412
if ((sb->st_mode & S_IFMT) == 0) {
sys/compat/linux/linux_misc.c
875
switch (args->mode & S_IFMT) {
sys/compat/linux/linux_misc.c
917
switch (args->mode & S_IFMT) {
sys/compat/linux/linux_util.c
238
sb->st_mode &= ~S_IFMT;
sys/fs/fuse/fuse_internal.c
330
vp_cache_at->va_mode = attr->mode & ~S_IFMT;
sys/fs/tarfs/tarfs_vfsops.c
512
num < 0 || num > (S_IFMT|ALLPERMS)) {
sys/kern/vfs_subr.c
160
S_IFSOCK, S_IFIFO, S_IFMT, S_IFMT
sys/kern/vfs_syscalls.c
1437
switch (mode & S_IFMT) {
sys/kern/vfs_syscalls.c
1484
switch (mode & S_IFMT) {
sys/sys/vnode.h
425
#define IFTOVT(mode) (iftovt_tab[((mode) & S_IFMT) >> 12])
tools/tools/nvmf/nvmfd/devices.c
116
switch (sb.st_mode & S_IFMT) {
usr.bin/bintrans/uudecode.c
274
switch (st.st_mode & S_IFMT) {
usr.bin/diff/diffreg.c
499
(stb1.st_mode & S_IFMT) != (stb2.st_mode & S_IFMT))
usr.bin/find/function.c
1667
return (entry->fts_statp->st_mode & S_IFMT) == plan->m_data;
usr.bin/find/printf.c
279
switch (sp->st_mode & S_IFMT) {
usr.bin/grep/util.c
327
s = sb.st_mode & S_IFMT;
usr.bin/stat/stat.c
889
switch (st->st_mode & S_IFMT) {
usr.bin/stat/stat.c
909
switch (st->st_mode & S_IFMT) {
usr.bin/whereis/whereis.c
322
if ((sb.st_mode & S_IFMT) != S_IFDIR)
usr.bin/whereis/whereis.c
360
(sb.st_mode & S_IFMT) != S_IFDIR ||
usr.bin/whereis/whereis.c
452
(sb.st_mode & S_IFMT) == S_IFREG &&
usr.bin/whereis/whereis.c
565
(sb.st_mode & S_IFMT) == S_IFDIR) {
usr.sbin/lpr/lpd/printjob.c
1018
if ((stb.st_mode & S_IFMT) == S_IFLNK && fstat(sfd, &stb) == 0 &&
usr.sbin/lpr/lpd/printjob.c
628
if ((stb.st_mode & S_IFMT) == S_IFLNK && fstat(fi, &stb) == 0 &&
usr.sbin/lpr/lpr/lpr.c
703
if ((statb.st_mode & S_IFMT) == S_IFDIR) {
usr.sbin/makefs/cd9660.c
1890
to->node->inode->st.st_mode = to->node->inode->st.st_mode & ~(S_IFMT);
usr.sbin/makefs/cd9660.c
1938
tfsnode->type &= ~(S_IFMT);
usr.sbin/makefs/ffs.c
1054
inode_type(DIP(din, mode) & S_IFMT),
usr.sbin/makefs/ffs.c
990
ino, din, isfile, inode_type(DIP(din, mode) & S_IFMT),
usr.sbin/makefs/makefs.c
311
switch (sb.st_mode & S_IFMT) {
usr.sbin/makefs/mtree.c
437
n->inode->st.st_mode = (n->inode->st.st_mode & ~S_IFMT) | n->type;
usr.sbin/makefs/mtree.c
594
st->st_mode &= S_IFMT;
usr.sbin/makefs/mtree.c
725
st->st_mode = (st->st_mode & ~S_IFMT) | node->type;
usr.sbin/makefs/mtree.c
764
st->st_mode = (st->st_mode & ~S_IFMT) | node->type;
usr.sbin/makefs/walk.c
169
if (S_ISSOCK(stbuf.st_mode & S_IFMT)) {
usr.sbin/makefs/walk.c
248
cur->type = stbuf->st_mode & S_IFMT;
usr.sbin/mountd/mountd.c
3914
switch (sb.st_mode & S_IFMT) {
usr.sbin/setfmac/setfmac.c
415
(ftsent->fts_statp->st_mode & S_IFMT) != ent->mode)
usr.sbin/watch/watch.c
244
if ((sb.st_mode & S_IFMT) != S_IFCHR)