Searched refs:O_RDWR (Results 201 - 225 of 267) sorted by last modified time

1234567891011

/linux-master/tools/testing/selftests/net/
H A Dtun.c47 fd = open("/dev/net/tun", O_RDWR);
H A Dtcp_fastopen_backup_key.c322 proc_fd = open(PROC_FASTOPEN_KEY, O_RDWR);
/linux-master/tools/testing/selftests/dma/
H A Ddma_map_benchmark.c101 fd = open("/sys/kernel/debug/dma_map_benchmark", O_RDWR);
/linux-master/drivers/misc/cxl/
H A Dapi.c399 flags = O_RDWR | O_CLOEXEC;
/linux-master/tools/testing/selftests/mqueue/
H A Dmq_perf_tests.c294 int flags = O_RDWR | O_EXCL | O_CREAT | O_NONBLOCK;
/linux-master/arch/um/os-Linux/
H A Dfile.c184 f = O_RDWR;
/linux-master/tools/testing/selftests/powerpc/mce/
H A Dinject-ra-err.c44 fd = open(devname, O_RDWR);
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dsubprogs.c35 ctx.fd = open("/proc/sys/net/core/bpf_jit_harden", O_RDWR);
/linux-master/tools/testing/selftests/ir/
H A Dir_loopback.c96 fd = open(buf, O_RDWR | O_NONBLOCK);
/linux-master/tools/testing/selftests/gpio/
H A Dgpio-chip-info.c32 fd = open(argv[1], O_RDWR);
H A Dgpio-line-name.c33 fd = open(argv[1], O_RDWR);
/linux-master/tools/testing/selftests/sparc64/drivers/
H A Dadi-test.c687 fd = open("/dev/adi", O_RDWR);
/linux-master/tools/perf/tests/
H A Dbp_signal.c131 fcntl(fd, F_SETFL, O_RDWR|O_NONBLOCK|O_ASYNC);
H A Dbp_signal_overflow.c108 fcntl(fd, F_SETFL, O_RDWR|O_NONBLOCK|O_ASYNC);
/linux-master/tools/counter/
H A Dcounter_example.c49 fd = open("/dev/counter0", O_RDWR);
/linux-master/samples/nitro_enclaves/
H A Dne_ioctl_sample.c789 ne_dev_fd = open(NE_DEV_NAME, O_RDWR | O_CLOEXEC);
/linux-master/tools/bootconfig/
H A Dmain.c334 fd = open(path, O_RDWR);
413 fd = open(path, O_RDWR | O_APPEND);
/linux-master/tools/pci/
H A Dpcitest.c47 fd = open(test->device, O_RDWR);
/linux-master/samples/mei/
H A Dmei-amt-version.c120 me->fd = open("/dev/mei0", O_RDWR);
/linux-master/drivers/gpu/drm/i915/selftests/
H A Digt_mmap.c35 file = mock_drm_getfile(i915->drm.primary, O_RDWR);
/linux-master/tools/perf/util/
H A Dprobe-file.c118 ret = open(buf, O_RDWR | O_APPEND, 0);
501 fd = open(cpath, O_CREAT | O_RDWR, 0644);
/linux-master/arch/um/drivers/
H A Dslip_user.c140 err = open(ptsname(mfd), O_RDWR, 0);
/linux-master/tools/testing/selftests/x86/
H A Dsyscall_numbering.c451 nullfd = open("/dev/null", O_RDWR);
/linux-master/include/linux/
H A Dfcntl.h10 (O_RDONLY | O_WRONLY | O_RDWR | O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC | \
/linux-master/tools/testing/selftests/futex/functional/
H A Dfutex_wait.c126 fd = open(SHM_PATH, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);

Completed in 361 milliseconds

1234567891011