Home
last modified time | relevance | path

Searched refs:S_ISBLK (Results 1 – 25 of 54) sorted by relevance

123

/freebsd/contrib/diff/lib/
H A Dfile-type.h35 # undef S_ISBLK
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)) in file_type()
/freebsd/contrib/diff/src/
H A Dsystem.h275 # if HAVE_ST_RDEV && defined S_ISBLK && defined S_ISCHR
277 (((S_ISBLK ((s)->st_mode) && S_ISBLK ((t)->st_mode)) \
/freebsd/sys/contrib/openzfs/include/os/linux/zfs/sys/
H A Dzfs_znode_impl.h67 #define Z_ISBLK(type) S_ISBLK(type)
70 #define Z_ISDEV(type) (S_ISCHR(type) || S_ISBLK(type) || S_ISFIFO(type))
/freebsd/contrib/tcsh/
H A Dtc.os.h231 # undef S_ISBLK
246 # if !defined(S_ISBLK) && defined(S_IFBLK)
247 # define S_ISBLK(a) (((a) & S_IFMT) == S_IFBLK) macro
/freebsd/sys/contrib/openzfs/lib/libspl/include/os/linux/sys/
H A Dstat.h43 if (S_ISBLK(st->st_mode)) { in fstat64_blk()
/freebsd/lib/libc/gen/
H A Ddevname.c47 if (dev == NODEV || !(S_ISCHR(type) || S_ISBLK(type))) { in devname_r()
H A Dfstab.c101 (!S_ISBLK(sb.st_mode) && !S_ISCHR(sb.st_mode))) in fixfsfile()
/freebsd/sys/contrib/openzfs/lib/libspl/include/os/freebsd/sys/
H A Dstat.h67 if (S_ISBLK(st->st_mode)) { in fstat64_blk()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_read_open_filename.c359 else if ((S_ISCHR(st.st_mode) || S_ISBLK(st.st_mode)) && in file_open()
373 else if (S_ISBLK(st.st_mode) && in file_open()
585 && !S_ISBLK(mine->st_mode)) { in file_close2()
H A Darchive_write_open_fd.c105 if (S_ISCHR(st.st_mode) || S_ISBLK(st.st_mode) || in file_open()
H A Darchive_write_open_filename.c200 if (S_ISCHR(st.st_mode) || S_ISBLK(st.st_mode) || in file_open()
/freebsd/usr.bin/find/
H A Dls.c66 if (S_ISCHR(sb->st_mode) || S_ISBLK(sb->st_mode)) in printlong()
/freebsd/usr.sbin/fifolog/lib/
H A Dfifolog_create.c70 if (!S_ISBLK(st.st_mode) && in fifolog_create()
/freebsd/contrib/netbsd-tests/lib/libc/sys/
H A Dt_mknod.c169 if (S_ISBLK(st.st_mode) == 0) in ATF_TC_BODY()
/freebsd/contrib/elftoolchain/ar/
H A Dutil.c108 if (S_ISBLK(m)) in bsdar_strmode()
/freebsd/sys/fs/ext2fs/
H A Dext2_inode_cnv.c222 if (S_ISCHR(ip->i_mode) || S_ISBLK(ip->i_mode)) { in ext2_ei2i()
314 if (S_ISCHR(ip->i_mode) || S_ISBLK(ip->i_mode)) { in ext2_i2ei()
/freebsd/sys/contrib/openzfs/lib/libzutil/os/freebsd/
H A Dzutil_import_os.c146 } else if (S_ISCHR(statbuf.st_mode) || S_ISBLK(statbuf.st_mode)) { in zpool_open_func()
/freebsd/tools/regression/aio/aiop/
H A Daiop.c181 } else if (S_ISBLK(sb.st_mode) || S_ISCHR(sb.st_mode)) { in main()
/freebsd/usr.sbin/trim/
H A Dtrim.c188 if (!S_ISCHR(sb.st_mode) && !S_ISBLK(sb.st_mode)) in getsize()
/freebsd/contrib/netbsd-tests/include/
H A Dt_paths.c183 ATF_CHECK(S_ISBLK(m) != 0 || S_ISCHR(m) != 0); in ATF_TC_BODY()
/freebsd/contrib/llvm-project/libcxx/src/filesystem/
H A Dposix_compat.h112 # undef S_ISBLK
119 # define S_ISBLK(m) (((m) & _S_IFMT) == _S_IFBLK) macro
/freebsd/sbin/mount/
H A Dgetmntopts.c165 if (S_ISCHR(devstat.st_mode) || S_ISBLK(devstat.st_mode)) in getmntpoint()
/freebsd/sys/sys/
H A Dstat.h284 #define S_ISBLK(m) (((m) & 0170000) == 0060000) /* block special */
283 #define S_ISBLK( global() macro
/freebsd/libexec/flua/modules/
H A Dlfs.c270 else if (S_ISBLK(mode)) in PUSH_INTEGER()

123