/linux-master/drivers/gpu/drm/i915/selftests/ |
H A D | mock_drm.h | 37 return mock_drm_getfile(i915->drm.primary, O_RDWR);
|
H A D | igt_mmap.c | 35 file = mock_drm_getfile(i915->drm.primary, O_RDWR);
|
/linux-master/tools/testing/selftests/damon/ |
H A D | debugfs_target_ids_read_before_terminate_race.c | 22 int target_ids_fd = open(DBGFS_TARGET_IDS, O_RDWR); 23 int monitor_on_fd = open(DBGFS_MONITOR_ON, O_RDWR); 37 int target_ids_fd = open(DBGFS_TARGET_IDS, O_RDWR);
|
H A D | huge_count_read_write.c | 20 int filedesc = open(file, O_RDWR);
|
/linux-master/tools/testing/selftests/filesystems/eventfd/ |
H A D | eventfd_test.c | 51 // since the kernel automatically added O_RDWR. 52 EXPECT_EQ(flags, O_RDWR); 81 EXPECT_EQ(flags & O_RDWR, O_RDWR); 96 EXPECT_EQ(flags & O_RDWR, O_RDWR); 174 EXPECT_EQ(ret & O_RDWR, O_RDWR);
|
/linux-master/tools/testing/selftests/efivarfs/ |
H A D | create-read.c | 26 fd = open(path, O_RDWR | O_CREAT, 0600);
|
/linux-master/tools/testing/selftests/thermal/intel/workload_hint/ |
H A D | workload_hint_test.c | 33 fd = open(WORKLOAD_ENABLE_ATTRIBUTE, O_RDWR); 73 fd = open(WORKLOAD_NOTIFICATION_DELAY_ATTRIBUTE, O_RDWR); 95 fd = open(WORKLOAD_ENABLE_ATTRIBUTE, O_RDWR);
|
/linux-master/tools/leds/ |
H A D | uledmon.c | 37 fd = open("/dev/uleds", O_RDWR);
|
/linux-master/tools/testing/selftests/media_tests/ |
H A D | media_device_open.c | 70 fd = open(media_device, O_RDWR);
|
H A D | media_device_test.c | 79 fd = open(media_device, O_RDWR);
|
/linux-master/arch/um/os-Linux/ |
H A D | tty.c | 32 fd = open("/dev/ptmx", O_RDWR);
|
/linux-master/tools/testing/selftests/gpio/ |
H A D | gpio-chip-info.c | 32 fd = open(argv[1], O_RDWR);
|
H A D | gpio-line-name.c | 33 fd = open(argv[1], O_RDWR);
|
/linux-master/tools/testing/selftests/user_events/ |
H A D | dyn_test.c | 26 int fd = open(abi_file, O_RDWR); 85 int fd = open(dyn_file, O_RDWR | O_APPEND); 109 int fd = open(abi_file, O_RDWR); 147 int fd = open(abi_file, O_RDWR);
|
H A D | abi_test.c | 87 int fd = open(enable_file, O_RDWR); 99 int fd = open(enable_file, O_RDWR); 122 int fd = open(data_file, O_RDWR); 140 int fd = open(data_file, O_RDWR); 171 int fd = open(data_file, O_RDWR); 199 int fd = open(data_file, O_RDWR);
|
/linux-master/arch/um/drivers/ |
H A D | null.c | 27 fd = open(DEV_NULL, O_RDWR);
|
H A D | tty.c | 46 mode = O_RDWR;
|
/linux-master/tools/testing/selftests/thermal/intel/power_floor/ |
H A D | power_floor_test.c | 22 fd = open(POWER_FLOOR_ENABLE_ATTRIBUTE, O_RDWR); 52 fd = open(POWER_FLOOR_ENABLE_ATTRIBUTE, O_RDWR);
|
/linux-master/tools/testing/selftests/openat2/ |
H A D | openat2_test.c | 169 .how.flags = O_TMPFILE | O_PATH | O_RDWR, .err = -EINVAL }, 171 .how.flags = O_TMPFILE | O_CREAT | O_RDWR, .err = -EINVAL }, 181 { .name = "incompatible flags (O_PATH | O_RDWR)", 182 .how.flags = O_PATH | O_RDWR, .err = -EINVAL }, 202 .how.flags = O_TMPFILE | O_RDWR, .how.mode = 0600 }, 211 .how.flags = O_TMPFILE | O_RDWR, 214 .how.flags = O_TMPFILE | O_RDWR, 231 .how.flags = O_TMPFILE | O_RDWR,
|
/linux-master/tools/testing/selftests/dmabuf-heaps/ |
H A D | dmabuf-heap.c | 48 fd = open(name, O_RDWR); 98 fd = open(buf, O_RDWR); 128 return dmabuf_heap_alloc_fdflags(fd, len, O_RDWR | O_CLOEXEC, flags, 311 .fd_flags = O_RDWR | O_CLOEXEC, 343 .fd_flags = O_RDWR | O_CLOEXEC, 424 ~(O_RDWR | O_CLOEXEC), 0, &dmabuf_fd);
|
/linux-master/tools/testing/selftests/iommu/ |
H A D | iommufd_fail_nth.c | 95 nth_state->proc_fd = open(buf, O_RDWR); 238 self->fd = open("/dev/iommu", O_RDWR); 306 self->fd = open("/dev/iommu", O_RDWR); 343 self->fd = open("/dev/iommu", O_RDWR); 388 self->fd = open("/dev/iommu", O_RDWR); 467 self->fd = open("/dev/iommu", O_RDWR); 523 self->fd = open("/dev/iommu", O_RDWR); 587 self->fd = open("/dev/iommu", O_RDWR);
|
/linux-master/Documentation/usb/ |
H A D | usbdevfs-drop-permissions.c | 61 fd = open(argv[1], O_RDWR);
|
/linux-master/drivers/staging/greybus/Documentation/firmware/ |
H A D | authenticate.c | 45 fd = open(capdev, O_RDWR);
|
/linux-master/include/linux/ |
H A D | fcntl.h | 10 (O_RDONLY | O_WRONLY | O_RDWR | O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC | \
|
/linux-master/tools/counter/ |
H A D | counter_example.c | 49 fd = open("/dev/counter0", O_RDWR);
|