/linux-master/arch/um/drivers/ |
H A D | pty.c | 94 master = open(line, O_RDWR);
|
/linux-master/tools/testing/selftests/sync/ |
H A D | sync.c | 168 return open("/sys/kernel/debug/sync/sw_sync", O_RDWR);
|
/linux-master/samples/hidraw/ |
H A D | hid-example.c | 57 fd = open(device, O_RDWR|O_NONBLOCK);
|
/linux-master/arch/sparc/boot/ |
H A D | piggyback.c | 198 if ((image = open(argv[2], O_RDWR)) < 0)
|
/linux-master/samples/auxdisplay/ |
H A D | cfag12864b-example.c | 53 cfag12864b_fd = open(path, O_RDWR);
|
/linux-master/tools/perf/tests/ |
H A D | bp_signal.c | 131 fcntl(fd, F_SETFL, O_RDWR|O_NONBLOCK|O_ASYNC);
|
/linux-master/tools/testing/selftests/ir/ |
H A D | ir_loopback.c | 96 fd = open(buf, O_RDWR | O_NONBLOCK);
|
/linux-master/arch/um/os-Linux/ |
H A D | mem.c | 132 fd = open(tempdir, O_CLOEXEC | O_RDWR | O_EXCL | O_TMPFILE, 0700);
|
/linux-master/tools/testing/selftests/mm/ |
H A D | write_to_hugetlbfs.c | 167 fd = open(path, O_CREAT | O_RDWR, 0777);
|
H A D | compaction_test.c | 96 fd = open("/proc/sys/vm/nr_hugepages", O_RDWR | O_NONBLOCK);
|
H A D | transhuge-stress.c | 62 backing_fd = open(name, O_RDWR);
|
H A D | soft-dirty.c | 140 test_fd = open(fname, O_RDWR | O_CREAT, 0664);
|
H A D | split_huge_page_test.c | 307 *fd = open(testfile, O_CREAT | O_RDWR, 0664); 329 *fd = open(testfile, O_RDWR);
|
/linux-master/samples/acrn/ |
H A D | vm-sample.c | 61 hsm_fd = open("/dev/acrn_hsm", O_RDWR|O_CLOEXEC);
|
/linux-master/tools/testing/selftests/breakpoints/ |
H A D | step_after_suspend_test.c | 141 power_state_fd = open("/sys/power/state", O_RDWR);
|
/linux-master/tools/testing/selftests/kvm/ |
H A D | hardware_disable_test.c | 55 fd = open("/dev/null", O_RDWR);
|
/linux-master/tools/testing/selftests/filesystems/overlayfs/ |
H A D | dev_in_maps.c | 132 fd = openat(ovl, "test", O_RDWR | O_CREAT, 0644);
|
/linux-master/tools/usb/ffs-aio-example/multibuff/device_app/ |
H A D | aio_multibuff.c | 264 ep0 = open(ep_path, O_RDWR); 278 ep1 = open(ep_path, O_RDWR);
|
/linux-master/tools/testing/selftests/mqueue/ |
H A D | mq_open_tests.c | 202 int flags = O_RDWR | O_EXCL | O_CREAT; 224 int flags = O_RDWR | O_EXCL | O_CREAT;
|
/linux-master/tools/bootconfig/ |
H A D | main.c | 334 fd = open(path, O_RDWR); 413 fd = open(path, O_RDWR | O_APPEND);
|
/linux-master/fs/hostfs/ |
H A D | hostfs_user.c | 80 mode = O_RDWR; 189 fd = open64(name, O_CREAT | O_RDWR, mode);
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | cgroup_helpers.c | 92 cfd = open(path, O_RDWR); 135 fd = open(file_path, O_RDWR);
|
/linux-master/tools/testing/selftests/memfd/ |
H A D | memfd_test.c | 157 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 D | mount_setattr_test.c | 425 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 D | test_shadow_stack.c | 328 fd = open("/proc/self/mem", O_RDWR); 366 fd = open("/proc/self/mem", O_RDWR);
|