/tools/testing/selftests/vm/ |
D | gup_benchmark.c | 81 filed = open(file, O_RDWR|O_CREAT); in main() 90 fd = open("/sys/kernel/debug/gup_benchmark", O_RDWR); in main()
|
D | hugepage-mmap.c | 70 fd = open(FILE_NAME, O_CREAT | O_RDWR, 0755); in main()
|
/tools/testing/selftests/efivarfs/ |
D | create-read.c | 26 fd = open(path, O_RDWR | O_CREAT, 0600); in main()
|
/tools/testing/selftests/kcmp/ |
D | kcmp_test.c | 42 fd1 = open(kpath, O_RDWR | O_CREAT | O_TRUNC, 0644); in main() 91 fd2 = open(kpath, O_RDWR, 0644); in main()
|
/tools/testing/selftests/media_tests/ |
D | media_device_open.c | 70 fd = open(media_device, O_RDWR); in main()
|
D | media_device_test.c | 79 fd = open(media_device, O_RDWR); in main()
|
D | video_device_test.c | 73 fd = open(video_dev, O_RDWR); in main()
|
/tools/leds/ |
D | uledmon.c | 37 fd = open("/dev/uleds", O_RDWR); in main()
|
/tools/hv/ |
D | hv_fcopy_daemon.c | 75 O_RDWR | O_CREAT | O_TRUNC | O_CLOEXEC, 0744); in hv_start_fcopy() 173 fcopy_fd = open("/dev/vmbus/hv_fcopy", O_RDWR); in main()
|
/tools/testing/selftests/kvm/ |
D | kvm_create_max_vcpus.c | 31 vm = vm_create(VM_MODE_DEFAULT, DEFAULT_GUEST_PHY_PAGES, O_RDWR); in test_vcpu_creation()
|
/tools/testing/selftests/powerpc/dscr/ |
D | dscr.h | 103 fd = open(DSCR_DEFAULT, O_RDWR); in set_default_dscr()
|
D | dscr_sysfs_test.c | 18 fd = open(file, O_RDWR); in check_cpu_dscr_default()
|
/tools/testing/selftests/filesystems/ |
D | devpts_pts.c | 105 master = open(ptmx, O_RDWR | O_NOCTTY | O_CLOEXEC); in do_tiocgptpeer() 123 slave = ioctl(master, TIOCGPTPEER, O_RDWR | O_NOCTTY | O_CLOEXEC); in do_tiocgptpeer()
|
/tools/testing/selftests/ia64/ |
D | aliasing-test.c | 30 fd = open(path, O_RDWR); in map_mem() 124 fd = open(path, O_RDWR); in read_rom()
|
/tools/testing/selftests/drivers/dma-buf/ |
D | udmabuf.c | 30 devfd = open("/dev/udmabuf", O_RDWR); in main()
|
/tools/include/uapi/asm-generic/ |
D | fcntl.h | 21 #define O_RDWR 00000002 macro
|
/tools/testing/selftests/kvm/x86_64/ |
D | mmio_warning_test.c | 60 kvm = open("/dev/kvm", O_RDWR); in test()
|
D | smm_test.c | 146 kvm_vm_restart(vm, O_RDWR); in main()
|
/tools/testing/selftests/bpf/ |
D | test_lirc_mode2_user.c | 68 lircfd = open(argv[1], O_RDWR | O_NONBLOCK); in main()
|
/tools/laptop/freefall/ |
D | freefall.c | 56 int fd = open(path, O_RDWR); in write_int()
|
/tools/perf/tests/ |
D | bp_signal_overflow.c | 103 fcntl(fd, F_SETFL, O_RDWR|O_NONBLOCK|O_ASYNC); in test__bp_signal_overflow()
|
/tools/testing/selftests/android/ion/ |
D | ionmap_test.c | 46 fd = open(name, O_RDWR); in open_vgem()
|
/tools/usb/ffs-aio-example/simple/device_app/ |
D | aio_simple.c | 235 ep0 = open(ep_path, O_RDWR); in main() 250 ep[i] = open(ep_path, O_RDWR); in main()
|
/tools/testing/selftests/memfd/ |
D | memfd_test.c | 64 fd = open(path, O_RDWR); in mfd_assert_reopen_fd() 451 O_RDWR | O_CREAT | O_TRUNC, in mfd_assert_shrink() 469 O_RDWR | O_CREAT | O_TRUNC, in mfd_fail_shrink() 938 fd2 = mfd_assert_open(fd, O_RDWR, 0); in test_share_open() 955 fd2 = mfd_assert_open(fd, O_RDWR, 0); in test_share_open()
|
/tools/spi/ |
D | spidev_fdx.c | 143 fd = open(name, O_RDWR); in main()
|