Searched refs:O_RDWR (Results 126 - 150 of 266) sorted by relevance

1234567891011

/linux-master/tools/testing/selftests/cgroup/
H A Dtest_core.c719 cg_test_b_procs_fd = open(cg_test_b_procs, O_RDWR);
757 targ->fd = open(targ->path, O_RDWR);
/linux-master/tools/virtio/
H A Dvhost_net_test.c66 fd = open("/dev/net/tun", O_RDWR);
232 dev->control = open("/dev/vhost-net", O_RDWR);
/linux-master/sound/core/
H A Dinfo.c242 if (((mode == O_RDONLY || mode == O_RDWR) && !entry->c.ops->read) ||
243 ((mode == O_WRONLY || mode == O_RDWR) && !entry->c.ops->write)) {
/linux-master/drivers/staging/axis-fifo/
H A Daxis-fifo.c682 ((f->f_flags & O_ACCMODE) == O_RDWR)) {
692 ((f->f_flags & O_ACCMODE) == O_RDWR)) {
/linux-master/samples/uhid/
H A Duhid-example.c416 fd = open(path, O_RDWR | O_CLOEXEC);
/linux-master/tools/perf/jvmti/
H A Djvmti_agent.c284 fd = open(dump_path, O_CREAT|O_TRUNC|O_RDWR, 0666);
/linux-master/tools/testing/selftests/x86/
H A Dsyscall_numbering.c451 nullfd = open("/dev/null", 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/testing/selftests/net/
H A Dtcp_fastopen_backup_key.c322 proc_fd = open(PROC_FASTOPEN_KEY, O_RDWR);
/linux-master/fs/
H A Dsignalfd.c279 O_RDWR | (flags & (O_CLOEXEC | O_NONBLOCK)));
H A Deventfd.c407 flags |= O_RDWR;
/linux-master/tools/usb/
H A Dtestusb.c297 if ((fd = open (dev->name, O_RDWR)) < 0) {
/linux-master/tools/spi/
H A Dspidev_test.c448 fd = open(device, O_RDWR);
/linux-master/tools/testing/selftests/uevent/
H A Duevent_filtering.c200 fd = open(__DEV_FULL, O_RDWR | O_CLOEXEC);
/linux-master/tools/testing/selftests/sgx/
H A Dload.c192 fd = open(device_path, O_RDWR);
/linux-master/arch/xtensa/platforms/iss/
H A Dsimdisk.c165 dev->fd = simc_open(filename, O_RDWR, 0);
/linux-master/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_smi_events.c364 O_RDWR);
/linux-master/security/landlock/
H A Dsyscalls.c224 ruleset, O_RDWR | O_CLOEXEC);
/linux-master/kernel/power/
H A Duser.c63 if ((filp->f_flags & O_ACCMODE) == O_RDWR) {
/linux-master/fs/vboxsf/
H A Dfile.c91 case O_RDWR:
/linux-master/tools/power/x86/intel-speed-select/
H A Disst-config.c745 fd = open(pathname, O_RDWR);
867 fd = open("/sys/fs/cgroup/cgroup.subtree_control", O_RDWR, 0);
907 fd = open(cpuset_cpus, O_RDWR, 0);
961 fd = open(cpuset_cpus, O_RDWR, 0);
976 fd = open(cpuset_cpus, O_RDWR, 0);
1075 fd = open(pathname, O_RDWR);
/linux-master/tools/perf/
H A Dbuiltin-daemon.c363 fd = open(SESSION_OUTPUT, O_RDWR|O_CREAT|O_TRUNC, 0644);
1150 fd = open(path, O_RDWR|O_CREAT|O_CLOEXEC, 0640);
1204 fd = open("output", O_RDWR|O_CREAT|O_TRUNC, 0644);
/linux-master/fs/nfs/
H A Ddelegation.c528 unsigned int mode = O_WRONLY | O_RDWR;
755 break_lease(inode, O_WRONLY | O_RDWR);
1060 break_lease(inode, O_WRONLY | O_RDWR | O_NONBLOCK);
/linux-master/Documentation/sound/cards/
H A Dmultisound.sh492 X if ((fd = open(argv[1], O_RDWR)) < 0) {
1106 X if ((fd = open(argv[1], O_RDWR)) < 0) {
/linux-master/scripts/
H A Dinsert-sys-cert.c207 fd = open(file_name, O_RDWR);

Completed in 398 milliseconds

1234567891011