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

1234567891011

/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/tools/testing/selftests/x86/
H A Dtest_shadow_stack.c328 fd = open("/proc/self/mem", O_RDWR);
366 fd = open("/proc/self/mem", O_RDWR);
H A Dsyscall_numbering.c451 nullfd = open("/dev/null", O_RDWR);
/linux-master/tools/testing/selftests/cgroup/
H A Dtest_core.c721 cg_test_b_procs_fd = open(cg_test_b_procs, O_RDWR);
759 targ->fd = open(targ->path, O_RDWR);
/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/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/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/fs/
H A Deventfd.c407 flags |= O_RDWR;
H A Dsignalfd.c281 O_RDWR | (flags & O_NONBLOCK));
/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/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/security/landlock/
H A Dsyscalls.c224 ruleset, O_RDWR | O_CLOEXEC);
/linux-master/tools/testing/selftests/mm/
H A Dgup_longterm.c458 gup_fd = open("/sys/kernel/debug/gup_test", O_RDWR);
/linux-master/tools/power/x86/intel-speed-select/
H A Disst-config.c759 fd = open(pathname, O_RDWR);
887 fd = open("/sys/fs/cgroup/cgroup.subtree_control", O_RDWR, 0);
927 fd = open(cpuset_cpus, O_RDWR, 0);
981 fd = open(cpuset_cpus, O_RDWR, 0);
996 fd = open(cpuset_cpus, O_RDWR, 0);
1095 fd = open(pathname, O_RDWR);
/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/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/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) {

Completed in 268 milliseconds

1234567891011