Searched refs:O_RDWR (Results 26 - 50 of 266) sorted by relevance

1234567891011

/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dsubprogs.c35 ctx.fd = open("/proc/sys/net/core/bpf_jit_harden", O_RDWR);
H A Dlwt_helpers.h44 int fd = open("/dev/net/tun", O_RDWR);
/linux-master/tools/testing/selftests/powerpc/mce/
H A Dinject-ra-err.c44 fd = open(devname, O_RDWR);
/linux-master/samples/user_events/
H A Dexample.c45 data_fd = open(data_file, O_RDWR);
/linux-master/tools/testing/selftests/damon/
H A Ddebugfs_target_ids_pid_leak.c22 int target_ids_fd = open(DBGFS_TARGET_IDS, O_RDWR);
/linux-master/tools/hv/
H A Dhv_fcopy_daemon.c75 O_RDWR | O_CREAT | O_TRUNC | O_CLOEXEC, 0744);
195 fcopy_fd = open("/dev/vmbus/hv_fcopy", O_RDWR);
/linux-master/tools/testing/selftests/mount/
H A Dnosymfollow-test.c119 data = creat(DATA, O_RDWR);
135 link = open(LINK, 0, O_RDWR);
/linux-master/fs/ecryptfs/
H A Dkthread.c63 (O_RDWR | O_LARGEFILE), current_cred());
134 flags |= IS_RDONLY(d_inode(lower_dentry)) ? O_RDONLY : O_RDWR;
/linux-master/tools/testing/selftests/kcmp/
H A Dkcmp_test.c42 fd1 = open(kpath, O_RDWR | O_CREAT | O_TRUNC, 0644);
94 fd2 = open(kpath, O_RDWR, 0644);
/linux-master/tools/testing/selftests/user_events/
H A Dftrace_test.c132 fd = open(data_file, O_RDWR);
171 fd = open(data_file, O_RDWR);
216 self->data_fd = open(data_file, O_RDWR);
271 self->enable_fd = open(enable_file, O_RDWR);
338 self->enable_fd = open(enable_file, O_RDWR);
376 self->enable_fd = open(enable_file, O_RDWR);
414 self->enable_fd = open(enable_file, O_RDWR);
457 self->enable_fd = open(enable_file, O_RDWR);
/linux-master/tools/testing/selftests/powerpc/papr_sysparm/
H A Dpapr_sysparm.c73 const int devfd = open(DEVPATH, O_RDWR);
104 const int devfd = open(DEVPATH, O_RDWR);
/linux-master/fs/ceph/
H A Dutil.c71 case O_RDWR:
/linux-master/tools/gpio/
H A Dgpio-watch.c35 fd = open(argv[1], O_RDWR | O_CLOEXEC);
/linux-master/tools/testing/selftests/dma/
H A Ddma_map_benchmark.c101 fd = open("/sys/kernel/debug/dma_map_benchmark", O_RDWR);
/linux-master/tools/testing/selftests/drivers/dma-buf/
H A Dudmabuf.c33 devfd = open("/dev/udmabuf", O_RDWR);
/linux-master/include/trace/misc/
H A Dfs.h27 { O_RDWR, "O_RDWR" }, \
/linux-master/tools/testing/selftests/tdx/
H A Dtdx_guest_test.c137 devfd = open(TDX_GUEST_DEVNAME, O_RDWR | O_SYNC);
/linux-master/include/uapi/asm-generic/
H A Dfcntl.h22 #define O_RDWR 00000002 macro
/linux-master/tools/include/uapi/asm-generic/
H A Dfcntl.h22 #define O_RDWR 00000002 macro
/linux-master/tools/testing/selftests/media_tests/
H A Dvideo_device_test.c143 fd = open(video_dev, O_RDWR);
/linux-master/samples/pfsm/
H A Dpfsm-wakeup.c45 fd_pfsm[i] = open(dev_pfsm[i], O_RDWR);
/linux-master/tools/testing/selftests/cachestat/
H A Dtest_cachestat.c215 int fd = shm_open(filename, O_CREAT | O_RDWR, 0600);
289 false, 4, O_CREAT | O_RDWR, 0600) == KSFT_PASS)
297 true, 4, O_CREAT | O_RDWR, 0600)) {
/linux-master/arch/alpha/boot/tools/
H A Dmkbb.c101 dev = open(argv[1], O_RDWR);
/linux-master/arch/powerpc/boot/
H A Dmktree.c87 if ((out_fd = open(argv[2], (O_RDWR | O_CREAT | O_TRUNC), 0666)) < 0) {
/linux-master/tools/spi/
H A Dspidev_fdx.c143 fd = open(name, O_RDWR);

Completed in 207 milliseconds

1234567891011