Searched refs:O_RDWR (Results 76 - 100 of 266) sorted by relevance

1234567891011

/linux-master/arch/um/drivers/
H A Dpty.c94 master = open(line, O_RDWR);
/linux-master/tools/testing/selftests/sync/
H A Dsync.c168 return open("/sys/kernel/debug/sync/sw_sync", O_RDWR);
/linux-master/samples/hidraw/
H A Dhid-example.c57 fd = open(device, O_RDWR|O_NONBLOCK);
/linux-master/arch/sparc/boot/
H A Dpiggyback.c198 if ((image = open(argv[2], O_RDWR)) < 0)
/linux-master/samples/auxdisplay/
H A Dcfag12864b-example.c53 cfag12864b_fd = open(path, O_RDWR);
/linux-master/tools/perf/tests/
H A Dbp_signal.c131 fcntl(fd, F_SETFL, O_RDWR|O_NONBLOCK|O_ASYNC);
/linux-master/tools/testing/selftests/ir/
H A Dir_loopback.c96 fd = open(buf, O_RDWR | O_NONBLOCK);
/linux-master/arch/um/os-Linux/
H A Dmem.c132 fd = open(tempdir, O_CLOEXEC | O_RDWR | O_EXCL | O_TMPFILE, 0700);
/linux-master/tools/testing/selftests/mm/
H A Dwrite_to_hugetlbfs.c167 fd = open(path, O_CREAT | O_RDWR, 0777);
H A Dcompaction_test.c96 fd = open("/proc/sys/vm/nr_hugepages", O_RDWR | O_NONBLOCK);
H A Dtranshuge-stress.c62 backing_fd = open(name, O_RDWR);
H A Dsoft-dirty.c140 test_fd = open(fname, O_RDWR | O_CREAT, 0664);
H A Dsplit_huge_page_test.c307 *fd = open(testfile, O_CREAT | O_RDWR, 0664);
329 *fd = open(testfile, O_RDWR);
/linux-master/samples/acrn/
H A Dvm-sample.c61 hsm_fd = open("/dev/acrn_hsm", O_RDWR|O_CLOEXEC);
/linux-master/tools/testing/selftests/breakpoints/
H A Dstep_after_suspend_test.c141 power_state_fd = open("/sys/power/state", O_RDWR);
/linux-master/tools/testing/selftests/kvm/
H A Dhardware_disable_test.c55 fd = open("/dev/null", O_RDWR);
/linux-master/tools/testing/selftests/filesystems/overlayfs/
H A Ddev_in_maps.c132 fd = openat(ovl, "test", O_RDWR | O_CREAT, 0644);
/linux-master/tools/usb/ffs-aio-example/multibuff/device_app/
H A Daio_multibuff.c264 ep0 = open(ep_path, O_RDWR);
278 ep1 = open(ep_path, O_RDWR);
/linux-master/tools/testing/selftests/mqueue/
H A Dmq_open_tests.c202 int flags = O_RDWR | O_EXCL | O_CREAT;
224 int flags = O_RDWR | O_EXCL | O_CREAT;
/linux-master/tools/bootconfig/
H A Dmain.c334 fd = open(path, O_RDWR);
413 fd = open(path, O_RDWR | O_APPEND);
/linux-master/fs/hostfs/
H A Dhostfs_user.c80 mode = O_RDWR;
189 fd = open64(name, O_CREAT | O_RDWR, mode);
/linux-master/tools/testing/selftests/bpf/
H A Dcgroup_helpers.c92 cfd = open(path, O_RDWR);
135 fd = open(file_path, O_RDWR);
/linux-master/tools/testing/selftests/memfd/
H A Dmemfd_test.c157 fd = open(path, O_RDWR);
580 O_RDWR | O_CREAT | O_TRUNC,
598 O_RDWR | O_CREAT | O_TRUNC,
1502 fd2 = mfd_assert_open(fd, O_RDWR, 0);
1519 fd2 = mfd_assert_open(fd, O_RDWR, 0);
/linux-master/tools/testing/selftests/mount_setattr/
H A Dmount_setattr_test.c425 fd = creat(NOSYMFOLLOW_TARGET, O_RDWR | O_CLOEXEC);
632 fd = open("/mnt/A/AA/B/b", O_RDWR | O_CLOEXEC | O_CREAT | O_EXCL, 0777);
681 fd = open("/mnt/A/AA/B/b", O_RDWR | O_CLOEXEC | O_CREAT | O_EXCL, 0777);
1449 fd = open(NOSYMFOLLOW_SYMLINK, O_RDWR | O_CLOEXEC);
1473 fd = open(NOSYMFOLLOW_SYMLINK, O_RDWR | O_CLOEXEC);
1495 fd = open(NOSYMFOLLOW_SYMLINK, O_RDWR | O_CLOEXEC);
/linux-master/tools/testing/selftests/x86/
H A Dtest_shadow_stack.c328 fd = open("/proc/self/mem", O_RDWR);
366 fd = open("/proc/self/mem", O_RDWR);

Completed in 293 milliseconds

1234567891011