/Linux-v5.4/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()
|
/Linux-v5.4/init/ |
D | do_mounts_initrd.c | 52 ksys_open("/dev/console", O_RDWR, 0); in init_linuxrc() 110 int fd = ksys_open("/dev/root.old", O_RDWR, 0); in handle_initrd()
|
/Linux-v5.4/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()
|
/Linux-v5.4/fs/ecryptfs/ |
D | kthread.c | 63 (O_RDWR | O_LARGEFILE), current_cred()); in ecryptfs_threadfn() 133 flags |= IS_RDONLY(d_inode(lower_dentry)) ? O_RDONLY : O_RDWR; in ecryptfs_privileged_open()
|
/Linux-v5.4/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()
|
/Linux-v5.4/tools/testing/selftests/efivarfs/ |
D | create-read.c | 26 fd = open(path, O_RDWR | O_CREAT, 0600); in main()
|
/Linux-v5.4/Documentation/media/uapi/dvb/ |
D | ca-fopen.rst | 48 - - ``O_RDWR`` 69 Only one user can open the CA Device in ``O_RDWR`` mode. All other
|
D | audio-fopen.rst | 58 - O_RDWR read/write access 83 in O_RDWR mode. All other attempts to open the device in this mode will
|
D | video-fopen.rst | 57 - O_RDWR read/write access 83 user can open the Video Device in O_RDWR mode. All other attempts to
|
/Linux-v5.4/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()
|
/Linux-v5.4/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()
|
/Linux-v5.4/arch/um/drivers/ |
D | null.c | 27 fd = open(DEV_NULL, O_RDWR); in null_open()
|
/Linux-v5.4/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()
|
/Linux-v5.4/tools/leds/ |
D | uledmon.c | 37 fd = open("/dev/uleds", O_RDWR); in main()
|
/Linux-v5.4/tools/testing/selftests/kvm/ |
D | kvm_create_max_vcpus.c | 30 vm = vm_create(VM_MODE_DEFAULT, DEFAULT_GUEST_PHY_PAGES, O_RDWR); in test_vcpu_creation()
|
/Linux-v5.4/arch/um/os-Linux/ |
D | tty.c | 32 fd = open("/dev/ptmx", O_RDWR); in get_pty()
|
/Linux-v5.4/tools/testing/selftests/memfd/ |
D | memfd_test.c | 64 fd = open(path, O_RDWR); in mfd_assert_reopen_fd() 450 O_RDWR | O_CREAT | O_TRUNC, in mfd_assert_shrink() 468 O_RDWR | O_CREAT | O_TRUNC, in mfd_fail_shrink() 937 fd2 = mfd_assert_open(fd, O_RDWR, 0); in test_share_open() 954 fd2 = mfd_assert_open(fd, O_RDWR, 0); in test_share_open()
|
/Linux-v5.4/drivers/staging/greybus/Documentation/firmware/ |
D | authenticate.c | 45 fd = open(capdev, O_RDWR); in main()
|
/Linux-v5.4/include/linux/ |
D | fcntl.h | 9 (O_RDONLY | O_WRONLY | O_RDWR | O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC | \
|
/Linux-v5.4/Documentation/ABI/testing/ |
D | gpio-cdev | 15 Currently the only useful flags are O_RDWR.
|
/Linux-v5.4/Documentation/usb/ |
D | gadget_printer.rst | 211 fd[0].fd = open(PRINTER_FILE, O_RDWR); 261 fd[0].fd = open (PRINTER_FILE, O_RDWR); 322 fd = open(PRINTER_FILE, O_RDWR|O_NONBLOCK); 355 fd = open(PRINTER_FILE, O_RDWR); 389 fd = open(PRINTER_FILE, O_RDWR);
|
/Linux-v5.4/tools/testing/selftests/powerpc/dscr/ |
D | dscr.h | 103 fd = open(DSCR_DEFAULT, O_RDWR); in set_default_dscr()
|