Searched refs:O_RDWR (Results 151 - 175 of 266) sorted by relevance

1234567891011

/linux-master/tools/power/acpi/tools/acpidbg/
H A Dacpidbg.c422 fd = open(acpi_aml_file_path, O_RDWR | O_NONBLOCK);
/linux-master/samples/mei/
H A Dmei-amt-version.c120 me->fd = open("/dev/mei0", O_RDWR);
/linux-master/drivers/misc/cxl/
H A Dapi.c399 flags = O_RDWR | O_CLOEXEC;
/linux-master/tools/testing/selftests/net/
H A Dtap.c207 fd = open(buf, O_RDWR | O_NONBLOCK);
/linux-master/drivers/usb/gadget/function/
H A Dstorage_common.c194 filp = filp_open(filename, O_RDWR | O_LARGEFILE, 0);
/linux-master/drivers/nvme/target/
H A Dio-cmd-file.c35 int flags = O_RDWR | O_LARGEFILE;
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dmigrate_reuseport.c152 fd = open("/proc/sys/net/ipv4/tcp_fastopen", O_RDWR);
/linux-master/tools/power/x86/intel-speed-select/
H A Disst-core.c77 fd = open(pathname, O_RDWR);
H A Disst-core-mbox.c86 fd = open(pathname, O_RDWR);
183 fd = open(pathname, O_RDWR);
/linux-master/tools/virtio/
H A Dvirtio_test.c137 dev->control = open("/dev/vhost-test", O_RDWR);
/linux-master/drivers/dma-buf/
H A Dudmabuf.c269 exp_info.flags = O_RDWR;
/linux-master/tools/testing/selftests/cgroup/
H A Dcgroup_util.c469 return open(".", O_TMPFILE | O_RDWR | O_EXCL);
/linux-master/fs/
H A Dfsopen.c92 O_RDWR | o_flags);
/linux-master/tools/testing/selftests/ptp/
H A Dtestptp.c294 fd = open(device, O_RDWR);
/linux-master/drivers/tee/
H A Dtee_shm.c409 fd = anon_inode_getfd("tee_shm", &tee_shm_fops, shm, O_RDWR);
/linux-master/virt/kvm/
H A Dguest_memfd.c346 O_RDWR, NULL);
/linux-master/fs/ocfs2/dlmfs/
H A Ddlmfs.c103 if (open_flags & (O_WRONLY|O_RDWR))
/linux-master/tools/hv/
H A Dhv_kvp_daemon.c261 fd = open(fname, O_RDWR | O_CREAT | O_CLOEXEC, 0644 /* rw-r--r-- */);
1728 kvp_fd = open("/dev/vmbus/hv_kvp", O_RDWR | O_CLOEXEC);
/linux-master/fs/bcachefs/
H A Dthread_with_file.c31 fd_flags |= 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/tools/testing/selftests/hid/
H A Dhid_bpf.c308 fd = open(path, O_RDWR | O_CLOEXEC);
437 return open(hidraw_path, O_RDWR | O_NONBLOCK);
/linux-master/drivers/target/
H A Dtarget_core_file.c124 flags = O_RDWR | O_CREAT | O_LARGEFILE | O_DSYNC;
829 int ret, flags = O_RDWR | O_CREAT | O_LARGEFILE | O_DSYNC;
/linux-master/fs/cachefiles/
H A Dnamei.c458 O_RDWR | O_LARGEFILE | O_DIRECT,
566 file = kernel_file_open(&path, O_RDWR | O_LARGEFILE | O_DIRECT,
/linux-master/tools/testing/selftests/bpf/progs/
H A Dprofiler.inc.h18 #define O_RDWR 00000002 macro
768 if ((flags & (O_RDWR | O_WRONLY)) == 0)
/linux-master/block/
H A Dbdev.c941 * It can also happen if a block device is opened as O_RDWR | O_WRONLY.
949 flags |= O_RDWR;
951 flags |= O_RDWR | O_WRONLY;

Completed in 621 milliseconds

1234567891011