Searched refs:S_IFMT (Results 51 - 75 of 101) sorted by relevance

12345

/freebsd-current/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_diff.c158 switch (what & S_IFMT) {
314 fmode = fsb.zs_mode & S_IFMT;
315 tmode = tsb.zs_mode & S_IFMT;
/freebsd-current/contrib/ntp/sntp/libevent/sample/
H A Dhttp-server.c27 #define S_ISDIR(x) (((x) & S_IFMT) == S_IFDIR)
/freebsd-current/usr.sbin/setfmac/
H A Dsetfmac.c415 (ftsent->fts_statp->st_mode & S_IFMT) != ent->mode)
/freebsd-current/contrib/libevent/sample/
H A Dhttp-server.c27 #define S_ISDIR(x) (((x) & S_IFMT) == S_IFDIR)
/freebsd-current/sbin/newfs/
H A Dnewfs.c330 if ((st.st_mode & S_IFMT) != S_IFCHR) {
/freebsd-current/crypto/heimdal/appl/ftp/ftpd/
H A Dls.c127 #if !defined(_S_IFMT) && defined(S_IFMT)
128 #define _S_IFMT S_IFMT
/freebsd-current/usr.bin/stat/
H A Dstat.c861 switch (st->st_mode & S_IFMT) {
881 switch (st->st_mode & S_IFMT) {
/freebsd-current/contrib/dialog/
H A Deditbox.c66 (sb.st_mode & S_IFMT) != S_IFREG)
H A Dfselect.c508 if ((sb.st_mode & S_IFMT) == S_IFDIR)
/freebsd-current/contrib/lib9p/backend/
H A Dfs.c1410 else if ((st->st_mode & S_IFMT) != (mode & S_IFMT))
2255 switch (mode & S_IFMT) {
2258 mode = (mode & S_IFMT) | (mode & 0777); /* ??? */
/freebsd-current/contrib/tcsh/
H A Dsh.file.c283 switch (statb.st_mode & S_IFMT) {
/freebsd-current/crypto/openssh/
H A Ddefines.h178 # define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK)
/freebsd-current/crypto/openssl/providers/implementations/storemgmt/
H A Dfile_store.c41 # define S_ISDIR(a) (((a) & S_IFMT) == S_IFDIR)
/freebsd-current/usr.bin/grep/
H A Dutil.c304 s = sb.st_mode & S_IFMT;
/freebsd-current/sbin/dump/
H A Dmain.c697 if (stat(cp, &sb) == 0 && (sb.st_mode & S_IFMT) == S_IFCHR)
/freebsd-current/usr.sbin/lpr/lpr/
H A Dlpr.c703 if ((statb.st_mode & S_IFMT) == S_IFDIR) {
/freebsd-current/stand/libsa/
H A Dpkgfs.c409 if ((sb->st_mode & S_IFMT) == 0) {
/freebsd-current/contrib/bmake/
H A Dmake.h197 # define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
/freebsd-current/usr.sbin/makefs/
H A Dffs.c934 ino, din, isfile, inode_type(DIP(din, mode) & S_IFMT),
998 inode_type(DIP(din, mode) & S_IFMT),
H A Dcd9660.c1886 to->node->inode->st.st_mode = to->node->inode->st.st_mode & ~(S_IFMT);
1934 tfsnode->type &= ~(S_IFMT);
/freebsd-current/usr.sbin/lpr/lpd/
H A Dprintjob.c628 if ((stb.st_mode & S_IFMT) == S_IFLNK && fstat(fi, &stb) == 0 &&
1018 if ((stb.st_mode & S_IFMT) == S_IFLNK && fstat(sfd, &stb) == 0 &&
/freebsd-current/usr.bin/diff/
H A Ddiffreg.c487 (stb1.st_mode & S_IFMT) != (stb2.st_mode & S_IFMT))
/freebsd-current/contrib/kyua/utils/fs/
H A Doperations_test.cpp93 if ((s.st_mode & S_IFMT) == expected_type) {
/freebsd-current/contrib/pjdfstest/
H A Dpjdfstest.c588 switch (sp->st_mode & S_IFMT) {
/freebsd-current/crypto/openssl/ssl/
H A Dssl_cert.c33 # define S_ISDIR(a) (((a) & S_IFMT) == S_IFDIR)

Completed in 473 milliseconds

12345