/linux-5.19.10/tools/testing/selftests/openat2/ |
D | openat2_test.c | 169 .how.flags = O_TMPFILE | O_PATH | O_RDWR, .err = -EINVAL }, in test_openat2_flags() 171 .how.flags = O_TMPFILE | O_CREAT | O_RDWR, .err = -EINVAL }, in test_openat2_flags() 182 .how.flags = O_PATH | O_RDWR, .err = -EINVAL }, in test_openat2_flags() 202 .how.flags = O_TMPFILE | O_RDWR, .how.mode = 0600 }, in test_openat2_flags() 211 .how.flags = O_TMPFILE | O_RDWR, in test_openat2_flags() 214 .how.flags = O_TMPFILE | O_RDWR, in test_openat2_flags() 231 .how.flags = O_TMPFILE | O_RDWR, in test_openat2_flags()
|
/linux-5.19.10/tools/testing/selftests/kvm/aarch64/ |
D | vcpu_width_config.c | 27 vm = vm_create(VM_MODE_DEFAULT, DEFAULT_GUEST_PHY_PAGES, O_RDWR); in add_init_2vcpus() 52 vm = vm_create(VM_MODE_DEFAULT, DEFAULT_GUEST_PHY_PAGES, O_RDWR); in add_2vcpus_init_2vcpus() 89 vm = vm_create(VM_MODE_DEFAULT, DEFAULT_GUEST_PHY_PAGES, O_RDWR); in main()
|
/linux-5.19.10/tools/testing/selftests/user_events/ |
D | ftrace_test.c | 106 int fd = open(data_file, O_RDWR); in clear() 133 fd = open(data_file, O_RDWR); in check_print_fmt() 168 self->data_fd = open(data_file, O_RDWR); in FIXTURE_SETUP() 208 self->enable_fd = open(enable_file, O_RDWR); in TEST_F() 231 self->data_fd = open(data_file, O_RDWR); in TEST_F() 271 self->enable_fd = open(enable_file, O_RDWR); in TEST_F() 340 self->enable_fd = open(enable_file, O_RDWR); in TEST_F()
|
/linux-5.19.10/tools/testing/selftests/dmabuf-heaps/ |
D | dmabuf-heap.c | 49 fd = open(name, O_RDWR); in open_vgem() 99 fd = open(buf, O_RDWR); in dmabuf_heap_open() 129 return dmabuf_heap_alloc_fdflags(fd, len, O_RDWR | O_CLOEXEC, flags, in dmabuf_heap_alloc() 312 .fd_flags = O_RDWR | O_CLOEXEC, in dmabuf_heap_alloc_older() 344 .fd_flags = O_RDWR | O_CLOEXEC, in dmabuf_heap_alloc_newer() 425 ~(O_RDWR | O_CLOEXEC), 0, &dmabuf_fd); in test_alloc_errors()
|
/linux-5.19.10/tools/testing/selftests/landlock/ |
D | fs_test.c | 685 reg_fd = open(file1_s2d2, O_RDWR | O_CLOEXEC); in TEST_F_FORK() 722 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_RDWR)); in TEST_F_FORK() 725 ASSERT_EQ(0, test_open(file1_s1d2, O_RDWR)); in TEST_F_FORK() 753 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_RDWR)); in TEST_F_FORK() 759 ASSERT_EQ(0, test_open(file1_s1d2, O_RDWR)); in TEST_F_FORK() 765 ASSERT_EQ(0, test_open(file1_s1d3, O_RDWR)); in TEST_F_FORK() 809 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_RDWR)); in TEST_F_FORK() 815 ASSERT_EQ(EACCES, test_open(file1_s1d2, O_RDWR)); in TEST_F_FORK() 822 ASSERT_EQ(0, test_open(file1_s1d3, O_RDWR)); in TEST_F_FORK() 834 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_RDWR)); in TEST_F_FORK() [all …]
|
/linux-5.19.10/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-5.19.10/fs/ecryptfs/ |
D | kthread.c | 63 (O_RDWR | O_LARGEFILE), current_cred()); in ecryptfs_threadfn() 134 flags |= IS_RDONLY(d_inode(lower_dentry)) ? O_RDONLY : O_RDWR; in ecryptfs_privileged_open()
|
/linux-5.19.10/Documentation/userspace-api/media/dvb/ |
D | ca-fopen.rst | 39 - - ``O_RDWR`` 59 Only one user can open the CA Device in ``O_RDWR`` mode. All other
|
/linux-5.19.10/tools/testing/selftests/kvm/x86_64/ |
D | sev_migrate_tests.c | 57 vm = vm_create(VM_MODE_DEFAULT, 0, O_RDWR); in sev_vm_create() 74 vm = vm_create(VM_MODE_DEFAULT, 0, O_RDWR); in aux_vm_create() 177 vm_no_vcpu = vm_create(VM_MODE_DEFAULT, 0, O_RDWR); in test_sev_migrate_parameters() 189 sev_es_vm_no_vmsa = vm_create(VM_MODE_DEFAULT, 0, O_RDWR); in test_sev_migrate_parameters()
|
/linux-5.19.10/drivers/gpu/drm/i915/selftests/ |
D | mock_drm.h | 37 return mock_drm_getfile(i915->drm.primary, O_RDWR); in mock_file()
|
/linux-5.19.10/tools/hv/ |
D | hv_fcopy_daemon.c | 75 O_RDWR | O_CREAT | O_TRUNC | O_CLOEXEC, 0744); in hv_start_fcopy() 195 fcopy_fd = open("/dev/vmbus/hv_fcopy", O_RDWR); in main()
|
/linux-5.19.10/drivers/staging/media/av7110/ |
D | audio-fopen.rst | 49 - O_RDWR read/write access 73 in O_RDWR mode. All other attempts to open the device in this mode will
|
D | video-fopen.rst | 49 - O_RDWR read/write access 74 user can open the Video Device in O_RDWR mode. All other attempts to
|
/linux-5.19.10/tools/testing/selftests/kvm/ |
D | hardware_disable_test.c | 61 fd = open("/dev/null", O_RDWR); in sleeping_thread() 107 vm = vm_create(VM_MODE_DEFAULT, DEFAULT_GUEST_PHY_PAGES, O_RDWR); in run_test()
|
/linux-5.19.10/tools/testing/selftests/mount/ |
D | nosymfollow-test.c | 119 data = creat(DATA, O_RDWR); in setup_symlink() 135 link = open(LINK, 0, O_RDWR); in test_link_traversal()
|
/linux-5.19.10/tools/testing/selftests/vm/ |
D | gup_test.c | 202 filed = open(file, O_RDWR|O_CREAT); in main() 212 gup_fd = open(GUP_TEST_FILE, O_RDWR); in main()
|
/linux-5.19.10/tools/testing/selftests/efivarfs/ |
D | create-read.c | 26 fd = open(path, O_RDWR | O_CREAT, 0600); in main()
|
/linux-5.19.10/tools/testing/selftests/damon/ |
D | huge_count_read_write.c | 13 int filedesc = open(file, O_RDWR); in write_read_with_huge_count()
|
/linux-5.19.10/tools/testing/selftests/gpio/ |
D | gpio-line-name.c | 33 fd = open(argv[1], O_RDWR); in main()
|
D | gpio-chip-info.c | 32 fd = open(argv[1], O_RDWR); in main()
|
/linux-5.19.10/tools/power/x86/intel-speed-select/ |
D | isst-daemon.c | 178 i = open("/dev/null", O_RDWR); 191 pid_file_handle = open(pidfile, O_RDWR | O_CREAT, 0600);
|
/linux-5.19.10/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-5.19.10/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-5.19.10/arch/um/drivers/ |
D | null.c | 27 fd = open(DEV_NULL, O_RDWR); in null_open()
|
/linux-5.19.10/tools/testing/selftests/media_tests/ |
D | media_device_open.c | 70 fd = open(media_device, O_RDWR); in main()
|