Searched refs:S_IFMT (Results 76 - 100 of 148) sorted by relevance

123456

/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/unit/atf-src/atf-c/detail/
H A Dfs.c560 int type = st->m_sb.st_mode & S_IFMT;
612 return st->m_sb.st_mode & ~S_IFMT;
/netbsd-6-1-5-RELEASE/external/bsd/less/dist/
H A Dfilename.c45 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
48 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
/netbsd-6-1-5-RELEASE/usr.sbin/makefs/
H A Dwalk.c131 if (S_ISSOCK(stbuf.st_mode & S_IFMT)) {
233 cur->type = stbuf->st_mode & S_IFMT;
/netbsd-6-1-5-RELEASE/share/examples/refuse/icfs/
H A Dicfs.c363 add_entry(&tree, name, ((mode & S_IFMT) == S_IFCHR) ? 'c' : 'b');
565 switch (st.st_mode & S_IFMT) {
/netbsd-6-1-5-RELEASE/bin/cp/
H A Dcp.c443 switch (curr->fts_statp->st_mode & S_IFMT) {
/netbsd-6-1-5-RELEASE/external/bsd/pkg_install/dist/create/
H A Dbuild.c208 if ((st.st_mode & S_IFMT) == S_IFLNK) {
/netbsd-6-1-5-RELEASE/external/cddl/osnet/dist/uts/common/fs/zfs/sys/
H A Dzfs_znode.h131 #define IFTODT(mode) (((mode) & S_IFMT) >> 12)
/netbsd-6-1-5-RELEASE/usr.sbin/crash/
H A Dcrash.c378 if ((sb.st_mode & S_IFMT) != S_IFREG) { /* XXX ksyms */
/netbsd-6-1-5-RELEASE/usr.sbin/sup/source/
H A Dsupfilesrv.c1212 if (x < 0 || (sbuf.st_mode & S_IFMT) != (t->Tmode & S_IFMT)) {
1216 switch (t->Tmode & S_IFMT) {
1905 && (sb.st_mode & (S_IFMT | S_IEXEC | (S_IEXEC >> 3) | (S_IEXEC >> 6)))
/netbsd-6-1-5-RELEASE/usr.sbin/tcpdchk/
H A Dtcpdchk.c48 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
/netbsd-6-1-5-RELEASE/usr.bin/audio/play/
H A Dplay.c251 if (S_ISREG(sb.st_rdev & S_IFMT) == 0 ||
/netbsd-6-1-5-RELEASE/external/bsd/byacc/dist/test/
H A Dftp.tab.c1042 (stbuf.st_mode&S_IFMT) != S_IFREG)
1061 (stbuf.st_mode&S_IFMT) != S_IFREG) {
1701 else if ((stbuf.st_mode&S_IFMT) != S_IFREG) {
H A Dftp.y489 else if ((stbuf.st_mode&S_IFMT) != S_IFREG) {
1187 (stbuf.st_mode&S_IFMT) != S_IFREG)
1206 (stbuf.st_mode&S_IFMT) != S_IFREG) {
/netbsd-6-1-5-RELEASE/gnu/dist/gkermit/
H A Dgunixio.c161 #ifdef S_IFMT
162 #define _IFMT S_IFMT
165 #endif /* S_IFMT */
169 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
/netbsd-6-1-5-RELEASE/sys/fs/hfs/
H A Dhfs_vnops.c646 if ((bsd->file_mode & S_IFMT) == 0) {
659 if ((vap->va_mode & S_IFMT) == S_IFCHR
660 || (vap->va_mode & S_IFMT) == S_IFBLK) {
/netbsd-6-1-5-RELEASE/external/zlib/pigz/dist/
H A Dpigz.c261 /* S_IFDIR, S_IFLNK, S_IFMT, S_IFREG */
2447 if (stat(from, &st) != 0 || (st.st_mode & S_IFMT) != S_IFREG)
2514 if ((st.st_mode & S_IFMT) != S_IFREG &&
2515 (st.st_mode & S_IFMT) != S_IFLNK &&
2516 (st.st_mode & S_IFMT) != S_IFDIR) {
2522 if ((st.st_mode & S_IFMT) == S_IFLNK && !force && !pipeout) {
2527 if ((st.st_mode & S_IFMT) == S_IFDIR && !recurse) {
2534 if ((st.st_mode & S_IFMT) == S_IFDIR) {
/netbsd-6-1-5-RELEASE/usr.bin/rdist/
H A Dserver.c381 switch (stb.st_mode & S_IFMT) {
726 switch (stb.st_mode & S_IFMT) {
1308 switch (st->st_mode & S_IFMT) {
/netbsd-6-1-5-RELEASE/bin/csh/
H A Dfile.c280 switch (statb.st_mode & S_IFMT) {
/netbsd-6-1-5-RELEASE/bin/ls/
H A Dprint.c412 switch (mode & S_IFMT) {
/netbsd-6-1-5-RELEASE/common/dist/zlib/contrib/puff/
H A Dpuff.c803 if ((s.st_mode & S_IFMT) != S_IFREG) return NULL;
/netbsd-6-1-5-RELEASE/common/dist/zlib/examples/
H A Dgun.c516 if (stat(from, &was) != 0 || (was.st_mode & S_IFMT) != S_IFREG)
/netbsd-6-1-5-RELEASE/external/bsd/am-utils/dist/amd/
H A Damfs_host.c185 if (stat(mntdir, &stb) < 0 || (stb.st_mode & S_IFMT) != S_IFDIR) {
/netbsd-6-1-5-RELEASE/external/bsd/pkg_install/dist/info/
H A Dperform.c273 if ((st.st_mode & S_IFMT) != S_IFREG)
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/zlib/contrib/puff/
H A Dpuff.c801 if ((s.st_mode & S_IFMT) != S_IFREG) return NULL;
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/zlib/examples/
H A Dgun.c514 if (stat(from, &was) != 0 || (was.st_mode & S_IFMT) != S_IFREG)

Completed in 500 milliseconds

123456