Searched refs:S_ISBLK (Results 1 - 25 of 58) sorted by relevance

123

/freebsd-11-stable/contrib/binutils/binutils/
H A Dfilemode.c143 #ifndef S_ISBLK
145 #define S_ISBLK(i) (((i) & S_IFMT) == S_IFBLK)
147 #define S_ISBLK(i) 0
149 #endif /* ! defined (S_ISBLK) */
190 if (S_ISBLK (bits))
144 #define S_ISBLK macro
146 #define S_ISBLK macro
/freebsd-11-stable/contrib/gdb/gdb/
H A Dgdb_stat.h28 #undef S_ISBLK macro
40 #if !defined(S_ISBLK) && defined(S_IFBLK)
41 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) macro
/freebsd-11-stable/contrib/libreadline/
H A Dposixstat.h30 # undef S_ISBLK macro
79 #if defined (S_IFBLK) && !defined (S_ISBLK)
80 #define S_ISBLK(m) (((m)&S_IFMT) == S_IFBLK) /* block device */ macro
/freebsd-11-stable/contrib/diff/lib/
H A Dfile-type.h35 # undef S_ISBLK macro
50 # ifndef S_ISBLK
52 # define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) macro
54 # define S_ISBLK(m) 0 macro
H A Dfile-type.c47 if (S_ISBLK (st->st_mode))
/freebsd-11-stable/crypto/openssl/crypto/rand/
H A Drandfile.c86 # if !defined(S_ISBLK)
88 # define S_ISBLK(m) ((m) & _S_IFBLK) macro
90 # define S_ISBLK(m) ((m) & S_IFBLK) macro
92 # define S_ISBLK(m) 0 /* no concept of block devices on Windows */ macro
190 #if defined(S_ISBLK) && defined(S_ISCHR) && !defined(OPENSSL_NO_POSIX_IO)
191 if (S_ISBLK(sb.st_mode) || S_ISCHR(sb.st_mode)) {
241 # if defined(S_ISBLK) && defined(S_ISCHR)
242 if (S_ISBLK(sb.st_mode) || S_ISCHR(sb.st_mode)) {
/freebsd-11-stable/lib/libc/gen/
H A Ddevname.c51 if (dev == NODEV || !(S_ISCHR(type) || S_ISBLK(dev))) {
H A Dfstab.c105 (!S_ISBLK(sb.st_mode) && !S_ISCHR(sb.st_mode)))
/freebsd-11-stable/usr.sbin/fifolog/lib/
H A Dfifolog_create.c71 if (!S_ISBLK(st.st_mode) &&
/freebsd-11-stable/usr.bin/find/
H A Dls.c73 if (S_ISCHR(sb->st_mode) || S_ISBLK(sb->st_mode))
/freebsd-11-stable/contrib/libarchive/libarchive/
H A Darchive_write_open_fd.c106 if (S_ISCHR(st.st_mode) || S_ISBLK(st.st_mode) ||
H A Darchive_read_open_filename.c329 else if ((S_ISCHR(st.st_mode) || S_ISBLK(st.st_mode)) &&
343 else if (S_ISBLK(st.st_mode) &&
555 && !S_ISBLK(mine->st_mode)) {
H A Darchive_write_open_filename.c201 if (S_ISCHR(st.st_mode) || S_ISBLK(st.st_mode) ||
/freebsd-11-stable/contrib/diff/src/
H A Dsystem.h277 # if HAVE_ST_RDEV && defined S_ISBLK && defined S_ISCHR
279 (((S_ISBLK ((s)->st_mode) && S_ISBLK ((t)->st_mode)) \
/freebsd-11-stable/contrib/tcsh/
H A Dtc.os.h231 # undef S_ISBLK macro
246 # if !defined(S_ISBLK) && defined(S_IFBLK)
247 # define S_ISBLK(a) (((a) & S_IFMT) == S_IFBLK) macro
248 # endif /* ! S_ISBLK && S_IFBLK */
/freebsd-11-stable/contrib/elftoolchain/ar/
H A Dutil.c108 if (S_ISBLK(m))
/freebsd-11-stable/contrib/gcclibs/libcpp/
H A Dsystem.h308 #ifndef S_ISBLK
309 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) macro
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/sys/
H A Dt_mknod.c169 if (S_ISBLK(st.st_mode) == 0)
/freebsd-11-stable/sbin/fsck/
H A Dfsutil.c166 if (S_ISCHR(devstat.st_mode) || S_ISBLK(devstat.st_mode))
/freebsd-11-stable/tools/regression/aio/aiop/
H A Daiop.c182 } else if (S_ISBLK(sb.st_mode) || S_ISCHR(sb.st_mode)) {
/freebsd-11-stable/contrib/netbsd-tests/include/
H A Dt_paths.c183 ATF_CHECK(S_ISBLK(m) != 0 || S_ISCHR(m) != 0);
/freebsd-11-stable/usr.sbin/trim/
H A Dtrim.c190 if (!S_ISCHR(sb.st_mode) && !S_ISBLK(sb.st_mode))
/freebsd-11-stable/bin/ls/
H A Dprint.c270 if (S_ISBLK(sp->st_mode))
292 if (S_ISCHR(sp->st_mode) || S_ISBLK(sp->st_mode))
804 if (S_ISCHR(p->fts_statp->st_mode) || S_ISBLK(p->fts_statp->st_mode) ||
/freebsd-11-stable/sys/sys/
H A Dstat.h239 #define S_ISBLK(m) (((m) & 0170000) == 0060000) /* block special */ macro
/freebsd-11-stable/libexec/flua/modules/
H A Dlfs.c251 else if (S_ISBLK(mode))

Completed in 298 milliseconds

123