/freebsd/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_mknod.c | 68 ATF_REQUIRE_ERRNO(EINVAL, mknod(path, S_IFCHR, -1) == -1); in ATF_TC_BODY() 72 ATF_REQUIRE_ERRNO(ENAMETOOLONG, mknod(buf, S_IFCHR, 0) == -1); in ATF_TC_BODY() 75 ATF_REQUIRE_ERRNO(EFAULT, mknod((char *)-1, S_IFCHR, 0) == -1); in ATF_TC_BODY() 78 ATF_REQUIRE_ERRNO(ENOENT, mknod("/a/b/c/d/e/f/g", S_IFCHR, 0) == -1); in ATF_TC_BODY() 105 mknod("/etc/passwd", S_IFCHR, 0) == -1); in ATF_TC_BODY() 108 ATF_REQUIRE(mknod(path, S_IFCHR, 0) == 0); in ATF_TC_BODY() 111 ATF_REQUIRE_ERRNO(EEXIST, mknod(path, S_IFCHR, 0) == -1); in ATF_TC_BODY() 132 ATF_REQUIRE_ERRNO(EPERM, mknod(path, S_IFCHR, 0) == -1); in ATF_TC_BODY() 156 ATF_REQUIRE(mknod(path, S_IFCHR, 0) == 0); in ATF_TC_BODY()
|
/freebsd/contrib/netbsd-tests/lib/libc/c063/ |
H A D | t_mknodat.c | 75 mode_t mode = S_IFCHR|0600; in ATF_TC_BODY() 97 mode_t mode = S_IFCHR|0600; in ATF_TC_BODY() 117 mode_t mode = S_IFCHR|0600; in ATF_TC_BODY() 133 mode_t mode = S_IFCHR|0600; in ATF_TC_BODY()
|
/freebsd/contrib/ntp/libntp/lib/isc/win32/include/isc/ |
H A D | stat.h | 46 #ifndef S_IFCHR 47 # define S_IFCHR _S_IFCHR macro
|
/freebsd/crypto/openssh/ |
H A D | sshbuf-io.c | 46 if ((st.st_mode & (S_IFSOCK|S_IFCHR|S_IFIFO)) == 0 && in sshbuf_load_fd() 65 if ((st.st_mode & (S_IFSOCK|S_IFCHR|S_IFIFO)) == 0 && in sshbuf_load_fd()
|
/freebsd/sbin/mknod/ |
H A D | mknod.c | 113 mode |= S_IFCHR; in main() 134 mode = 0666 | S_IFCHR; in main()
|
/freebsd/contrib/diff/lib/ |
H A D | file-type.h | 59 # ifdef S_IFCHR 60 # define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR)
|
/freebsd/contrib/file/src/ |
H A D | fsmagic.c | 148 sb->st_mode |= S_IFCHR; in file_fsmagic() 200 #ifdef S_IFCHR in file_fsmagic() 201 case S_IFCHR: in file_fsmagic()
|
/freebsd/contrib/tcsh/ |
H A D | tc.os.h | 217 # define S_IFCHR 0020000 /* character special */ macro 243 # if !defined(S_ISCHR) && defined(S_IFCHR) 244 # define S_ISCHR(a) (((a) & S_IFMT) == S_IFCHR)
|
/freebsd/lib/libprocstat/ |
H A D | common_kvm.c | 133 vn->vn_mode = (devfs_dirent.de_mode & ~S_IFMT) | S_IFCHR; in devfs_filestat() 165 mode |= S_IFCHR; in nfs_filestat()
|
/freebsd/contrib/mtree/ |
H A D | misc.c | 255 return S_IFCHR; in nodetoino() 290 case S_IFCHR: in inotype()
|
/freebsd/contrib/netbsd-tests/fs/lfs/ |
H A D | t_pr.c | 51 if (rump_sys_mknod("/mp/node", S_IFCHR | 0777, 0) == -1) in ATF_TC_BODY()
|
/freebsd/sbin/fsck_ffs/ |
H A D | utilities.c | 73 case S_IFCHR: in blockcheck()
|
/freebsd/crypto/openssh/openbsd-compat/ |
H A D | strmode.c | 50 case S_IFCHR: /* character special */ in strmode()
|
/freebsd/lib/libc/string/ |
H A D | strmode.c | 44 case S_IFCHR: /* character special */ in strmode()
|
/freebsd/lib/libc/stdio/ |
H A D | makebuf.c | 97 *couldbetty = (st.st_mode & S_IFMT) == S_IFCHR; in __swhatbuf()
|
/freebsd/contrib/libarchive/libarchive/test/ |
H A D | test_write_format_cpio.c | 148 archive_entry_set_mode(ae, S_IFCHR | 0600); in test_format() 230 assertEqualInt((S_IFCHR | 0600), archive_entry_mode(ae)); in test_format()
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
H A D | mkbusy.c | 141 case S_IFCHR: in main()
|
/freebsd/usr.sbin/pstat/ |
H A D | pstat.c | 335 (name = devname(xt->xt_dev, S_IFCHR)) == NULL) in ttyprt() 579 "/dev/%s", devname(xsw.xsw_dev, S_IFCHR)); in swapmode_sysctl()
|
/freebsd/usr.bin/lastcomm/ |
H A D | lastcomm.c | 252 lastname = devname(dev, S_IFCHR); in getdev()
|
/freebsd/lib/libkvm/ |
H A D | kvm_getswapinfo.c | 88 devname(dev, S_IFCHR) \
|
/freebsd/bin/pax/ |
H A D | ftree.c | 448 case S_IFCHR: in next_file()
|
/freebsd/contrib/netbsd-tests/fs/puffs/h_dtfs/ |
H A D | dtfs_vfsops.c | 82 va->va_mode |= S_IFCHR; in rtdev()
|
/freebsd/sys/sys/ |
H A D | stat.h | 270 #define S_IFCHR 0020000 /* character special */ 269 #define S_IFCHR global() macro
|
/freebsd/tests/sys/fs/fusefs/ |
H A D | open.cc | 86 out.body.entry.attr.mode = S_IFCHR | 0644; in TEST_F()
|
/freebsd/tools/regression/doat/ |
H A D | doat.c | 455 tests[8].tests[0].params[2].m = 0666 | S_IFCHR; in setup() 460 tests[8].tests[1].params[2].m = 0666 | S_IFCHR; in setup() 465 tests[8].tests[2].params[2].m = 0666 | S_IFCHR; in setup()
|