/linux-master/tools/laptop/freefall/ |
H A D | freefall.c | 56 int fd = open(path, O_RDWR);
|
/linux-master/tools/testing/selftests/futex/functional/ |
H A D | futex_wait.c | 126 fd = open(SHM_PATH, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
|
/linux-master/tools/perf/tests/ |
H A D | bp_signal_overflow.c | 108 fcntl(fd, F_SETFL, O_RDWR|O_NONBLOCK|O_ASYNC);
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_lirc_mode2_user.c | 69 lircfd = open(argv[1], O_RDWR | O_NONBLOCK);
|
/linux-master/tools/testing/selftests/filelock/ |
H A D | ofdlocks.c | 39 int fd = open("/tmp/aa", O_RDWR | O_CREAT | O_EXCL, 0600);
|
/linux-master/tools/objtool/ |
H A D | objtool.c | 93 file.elf = elf_open_read(objname, O_RDWR);
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | fs_kfuncs.c | 73 fd = open(testfile, O_CREAT | O_RDWR, 0644);
|
/linux-master/arch/arm64/kernel/pi/ |
H A D | relacheck.c | 54 fd = open(argv[1], O_RDWR);
|
/linux-master/tools/testing/selftests/landlock/ |
H A D | fs_test.c | 859 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 D | devpts_pts.c | 105 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 D | aliasing-test.c | 30 fd = open(path, O_RDWR); 124 fd = open(path, O_RDWR);
|
/linux-master/tools/testing/selftests/kvm/ |
H A D | access_tracking_perf_test.c | 142 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 D | aio_simple.c | 253 ep0 = open(ep_path, O_RDWR); 268 ep[i] = open(ep_path, O_RDWR);
|
/linux-master/tools/power/acpi/tools/pfrut/ |
H A D | pfrut.c | 214 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 D | mincore_selftest.c | 209 fd = open(".", O_TMPFILE | O_RDWR, 0600); 314 fd = open("/dev/shm", O_TMPFILE | O_RDWR, 0600);
|
/linux-master/drivers/tty/serial/ |
H A D | kgdb_nmi.c | 277 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 D | perf_test.c | 93 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 D | isst-daemon.c | 191 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 D | gup_test.c | 206 filed = open(file, O_RDWR|O_CREAT, 0664); 214 gup_fd = open(GUP_TEST_FILE, O_RDWR);
|
H A D | ksm_functional_tests.c | 614 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 D | utils.c | 504 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 D | data.c | 60 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 D | subpage_prot.c | 197 fd = open(file_name, O_RDWR);
|
/linux-master/arch/arm/vdso/ |
H A D | vdsomunge.c | 179 outfd = open(outfile, O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR);
|
/linux-master/drivers/staging/greybus/Documentation/firmware/ |
H A D | firmware.c | 193 fd = open(fwdev, O_RDWR);
|