Searched refs:O_RDWR (Results 51 - 75 of 266) sorted by relevance

1234567891011

/linux-master/tools/laptop/freefall/
H A Dfreefall.c56 int fd = open(path, O_RDWR);
/linux-master/tools/testing/selftests/futex/functional/
H A Dfutex_wait.c126 fd = open(SHM_PATH, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
/linux-master/tools/perf/tests/
H A Dbp_signal_overflow.c108 fcntl(fd, F_SETFL, O_RDWR|O_NONBLOCK|O_ASYNC);
/linux-master/tools/testing/selftests/bpf/
H A Dtest_lirc_mode2_user.c69 lircfd = open(argv[1], O_RDWR | O_NONBLOCK);
/linux-master/tools/testing/selftests/filelock/
H A Dofdlocks.c39 int fd = open("/tmp/aa", O_RDWR | O_CREAT | O_EXCL, 0600);
/linux-master/tools/objtool/
H A Dobjtool.c93 file.elf = elf_open_read(objname, O_RDWR);
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dfs_kfuncs.c73 fd = open(testfile, O_CREAT | O_RDWR, 0644);
/linux-master/arch/arm64/kernel/pi/
H A Drelacheck.c54 fd = open(argv[1], O_RDWR);
/linux-master/tools/testing/selftests/landlock/
H A Dfs_test.c859 reg_fd = open(file1_s2d2, O_RDWR | O_CLOEXEC);
896 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_RDWR));
899 ASSERT_EQ(0, test_open(file1_s1d2, O_RDWR));
927 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_RDWR));
933 ASSERT_EQ(0, test_open(file1_s1d2, O_RDWR));
939 ASSERT_EQ(0, test_open(file1_s1d3, O_RDWR));
950 /* dir_s1d3 should allow READ_FILE and WRITE_FILE (O_RDWR). */
983 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_RDWR));
989 ASSERT_EQ(EACCES, test_open(file1_s1d2, O_RDWR));
995 /* dir_s1d3 should allow READ_FILE and WRITE_FILE (O_RDWR)
[all...]
/linux-master/tools/testing/selftests/filesystems/
H A Ddevpts_pts.c105 master = open(ptmx, O_RDWR | O_NOCTTY | O_CLOEXEC);
123 slave = ioctl(master, TIOCGPTPEER, O_RDWR | O_NOCTTY | O_CLOEXEC);
/linux-master/tools/testing/selftests/ia64/
H A Daliasing-test.c30 fd = open(path, O_RDWR);
124 fd = open(path, O_RDWR);
/linux-master/tools/testing/selftests/kvm/
H A Daccess_tracking_perf_test.c142 page_idle_fd = open("/sys/kernel/mm/page_idle/bitmap", O_RDWR);
386 page_idle_fd = open("/sys/kernel/mm/page_idle/bitmap", O_RDWR);
/linux-master/tools/usb/ffs-aio-example/simple/device_app/
H A Daio_simple.c253 ep0 = open(ep_path, O_RDWR);
268 ep[i] = open(ep_path, O_RDWR);
/linux-master/tools/power/acpi/tools/pfrut/
H A Dpfrut.c214 fd_update = open("/dev/acpi_pfr_update0", O_RDWR);
220 fd_update_log = open("/dev/acpi_pfr_telemetry0", O_RDWR);
/linux-master/tools/testing/selftests/mincore/
H A Dmincore_selftest.c209 fd = open(".", O_TMPFILE | O_RDWR, 0600);
314 fd = open("/dev/shm", O_TMPFILE | O_RDWR, 0600);
/linux-master/drivers/tty/serial/
H A Dkgdb_nmi.c277 if (!ret && (mode == O_RDONLY || mode == O_RDWR))
288 if (mode == O_RDONLY || mode == O_RDWR)
/linux-master/tools/testing/selftests/user_events/
H A Dperf_test.c93 int fd = open(data_file, O_RDWR);
120 self->data_fd = open(data_file, O_RDWR);
/linux-master/tools/power/x86/intel-speed-select/
H A Disst-daemon.c191 i = open("/dev/null", O_RDWR);
203 pid_file_handle = open(pidfile, O_RDWR | O_CREAT, 0600);
/linux-master/tools/testing/selftests/mm/
H A Dgup_test.c206 filed = open(file, O_RDWR|O_CREAT, 0664);
214 gup_fd = open(GUP_TEST_FILE, O_RDWR);
H A Dksm_functional_tests.c614 mem_fd = open("/proc/self/mem", O_RDWR);
617 ksm_fd = open("/sys/kernel/mm/ksm/run", O_RDWR);
629 ksm_use_zero_pages_fd = open("/sys/kernel/mm/ksm/use_zero_pages", O_RDWR);
/linux-master/tools/tracing/rtla/src/
H A Dutils.c504 fd = open("/dev/cpu_dma_latency", O_RDWR);
663 cg_fd = open(cgroup_procs, O_RDWR);
728 cg_fd = open(cgroup_procs, O_RDWR);
/linux-master/tools/perf/util/
H A Ddata.c60 ret = open(file->path, O_RDWR|O_CREAT|O_TRUNC, S_IRUSR|S_IWUSR);
261 int flags = data->in_place_update ? O_RDWR : O_RDONLY;
306 fd = open(data->file.path, O_CREAT|O_RDWR|O_TRUNC|O_CLOEXEC,
/linux-master/tools/testing/selftests/powerpc/mm/
H A Dsubpage_prot.c197 fd = open(file_name, O_RDWR);
/linux-master/arch/arm/vdso/
H A Dvdsomunge.c179 outfd = open(outfile, O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR);
/linux-master/drivers/staging/greybus/Documentation/firmware/
H A Dfirmware.c193 fd = open(fwdev, O_RDWR);

Completed in 392 milliseconds

1234567891011