| /src/sys/external/bsd/drm2/dist/drm/i915/selftests/ |
| mock_drm.h | 39 return mock_drm_getfile(i915->drm.primary, O_RDWR);
|
| igt_mmap.c | 27 file = mock_drm_getfile(i915->drm.primary, O_RDWR);
|
| /src/sys/sys/ |
| eventfd.h | 44 #define EFD_SEMAPHORE O_RDWR
|
| timerfd.h | 45 #define TFD_TIMER_CANCEL_ON_SET O_RDWR
|
| /src/usr.sbin/sesd/srcs/ |
| inienc.c | 50 fd = open(*v, O_RDWR);
|
| setencstat.c | 55 fd = open(v[1], O_RDWR);
|
| /src/tests/lib/libc/c063/ |
| t_o_search.c | 82 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1); 87 ATF_REQUIRE((fd = openat(dfd, BASEFILE, O_RDWR, 0)) != -1); 92 ATF_REQUIRE((fd = openat(dfd, BASEFILE, O_RDWR, 0)) == -1); 112 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1); 117 ATF_REQUIRE((fd = openat(dfd, BASEFILE, O_RDWR, 0)) != -1); 122 ATF_REQUIRE((fd = openat(dfd, BASEFILE, O_RDWR, 0)) != -1); 127 ATF_REQUIRE((fd = openat(dfd, BASEFILE, O_RDWR, 0)) != -1); 144 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1); 149 ATF_REQUIRE((fd = openat(dfd, BASEFILE, O_RDWR, 0)) != -1); 154 ATF_REQUIRE((fd = openat(dfd, BASEFILE, O_RDWR, 0)) != -1) [all...] |
| t_symlinkat.c | 66 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1); 91 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1); 114 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1); 135 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1);
|
| /src/tests/fs/psshfs/ |
| h_have_puffs.c | 39 fd = open("/dev/puffs", O_RDWR);
|
| /src/tests/kernel/tty/ |
| t_pr.c | 111 slave = rump_sys_open("/dev/ttyp1", O_RDWR|O_NONBLOCK); 114 master = rump_sys_open("/dev/ptyp1", O_RDWR); 139 master = rump_sys_open("/dev/ptyp1", O_RDWR); 142 slave = rump_sys_open("/dev/ttyp1", O_RDWR); 166 fd = rump_sys_open("/dev/ptyp1", O_RDWR);
|
| /src/lib/libc/gen/ |
| daemon.c | 71 if (!noclose && (fd = open(_PATH_DEVNULL, O_RDWR, 0)) != -1) {
|
| /src/share/examples/pud/intro/ |
| doioctl.c | 21 fd = open(argv[1], O_RDWR);
|
| /src/sys/modules/examples/ping/ |
| cmd_ping.c | 49 if ((devfd = open(_PATH_DEV_PING, O_RDWR)) == -1)
|
| /src/sys/modules/examples/ping_block/ |
| cmd_ping.c | 49 if ((devfd = open(_PATH_DEV_PING, O_RDWR)) == -1)
|
| /src/tests/fs/vfs/ |
| t_io.c | 57 RL(fd = rump_sys_open("file", O_RDWR|O_CREAT|O_TRUNC, 0666)); 88 O_CREAT | O_RDWR | (seekcnt ? O_APPEND : 0), 0600)); 125 RL(fd = rump_sys_open("testi", O_CREAT | O_RDWR, 0666)); 129 RL(fd = rump_sys_open("testi", O_RDWR)); 164 RL(fd = rump_sys_open("file", O_RDWR|O_CREAT|O_TRUNC, 0666)); 181 RL(fd = rump_sys_open("file", O_RDWR|O_CREAT, 0666)); 189 RL(fd = rump_sys_open("file", O_RDWR)); 208 RL(fd = rump_sys_open("file", O_RDWR|O_CREAT, 0666)); 232 RL(fd = rump_sys_open("file", O_CREAT | O_RDWR, 0777));
|
| /src/tests/lib/librumphijack/ |
| h_client.c | 102 fd = open("/rump/dev/null", O_RDWR); 126 if ((fd = open("/dev/null", O_RDWR)) == -1) 129 fd = open("/dev/null", O_RDWR); 134 if ((fd = open("/rump/dev/null", O_RDWR)) != 8)
|
| /src/tests/kernel/ |
| t_filedesc.c | 83 fd = fd_wrk = rump_sys_open("/dev/null", O_RDWR, 0); 95 fd_wrk = rump_sys_open("/dev/null", O_RDWR, 0);
|
| t_rnd.c | 59 fd = rump_sys_open("/dev/random", O_RDWR, 0); 81 fd = rump_sys_open("/dev/random", O_RDWR, 0);
|
| /src/tests/lib/libc/ttyio/ |
| t_ptm.c | 67 if ((fdm = open("/dev/ptm", O_RDWR)) == -1) { 132 if ((fdm = posix_openpt(O_RDWR|O_NOCTTY)) == -1) { 152 REQUIRE_ERRNO((fds = open(pty, O_RDWR|O_NOCTTY)), -1); 180 if ((fdm = posix_openpt(O_RDWR|O_NONBLOCK|O_CLOEXEC|O_CLOFORK)) == -1) { 187 ATF_CHECK_EQ(O_RDWR|O_NONBLOCK, fcntl(fdm, F_GETFL));
|
| /src/tests/fs/ffs/ |
| h_quota2_tests.c | 61 fd = rump_sys_open("test_fillup", O_CREAT | O_RDWR, 0644); 94 fd = rump_sys_open("test_fillup", O_CREAT | O_RDWR, 0644); 146 fd = rump_sys_open(buf, O_CREAT | O_RDWR, 0644); 187 fd = rump_sys_open(buf, O_EXCL| O_CREAT | O_RDWR, 0644); 197 fd = rump_sys_open(buf, O_EXCL| O_CREAT | O_RDWR, 0644); 241 fd = rump_sys_open(FSTEST_MNTNAME "/le_snap", O_CREAT | O_RDWR, 0777); 245 fssfd = rump_sys_open("/dev/rfss0", O_RDWR); 263 fd = rump_sys_open(buf, O_EXCL| O_CREAT | O_RDWR, 0644); 317 O_EXCL| O_CREAT | O_RDWR, 0644);
|
| t_update_log.c | 77 RL(fd = rump_sys_open("dummy", O_CREAT | O_RDWR, 0755)); 85 RL(fd = rump_sys_open("dummy", O_APPEND | O_RDWR, 0755)); 130 RL(fd = rump_sys_open("dummy", O_CREAT | O_RDWR, 0755));
|
| /src/lib/libutil/ |
| pty.c | 81 if ((master = open("/dev/ptm", O_RDWR)) != -1) { 106 if ((master = open(line, O_RDWR, 0)) == -1) { 119 (slave = open(line, O_RDWR, 0)) != -1) {
|
| /src/sys/arch/ews4800mips/stand/common/ |
| coffhdrfix.c | 92 if ((fd = open(argp[1], O_RDWR)) < 0) { 118 if ((fdout = open(argp[2], O_CREAT | O_TRUNC | O_RDWR, 0644)) < 0) { 122 fd = open(argp[1], O_RDWR);
|
| /src/tests/lib/libc/sys/ |
| t_revoke.c | 70 buf[0] = open(path, O_RDWR | O_CREAT, 0600); 74 buf[i] = open(path, O_RDWR); 137 fd = open(path, O_RDWR | O_CREAT, 0600);
|
| /src/lib/libc/stdio/ |
| flags.c | 100 m = O_RDWR;
|