Searched refs:O_RDWR (Results 176 - 200 of 266) sorted by relevance

1234567891011

/linux-master/tools/testing/selftests/iommu/
H A Diommufd.c61 self->fd = open("/dev/iommu", O_RDWR);
210 self->fd = open("/dev/iommu", O_RDWR);
1359 self->fd = open("/dev/iommu", O_RDWR);
1729 self->fd = open("/dev/iommu", O_RDWR);
2078 self->fd = open("/dev/iommu", O_RDWR);
/linux-master/tools/usb/
H A Dffs-test.c384 t->fd = open(t->filename, O_RDWR);
/linux-master/fs/
H A Dtimerfd.c447 O_RDWR | (flags & TFD_SHARED_FCNTL_FLAGS));
/linux-master/tools/testing/selftests/sparc64/drivers/
H A Dadi-test.c687 fd = open("/dev/adi", O_RDWR);
/linux-master/arch/um/os-Linux/
H A Dfile.c184 f = O_RDWR;
/linux-master/tools/testing/selftests/mqueue/
H A Dmq_perf_tests.c294 int flags = O_RDWR | O_EXCL | O_CREAT | O_NONBLOCK;
/linux-master/tools/testing/selftests/net/
H A Dreuseport_bpf.c426 fd = open("/proc/sys/net/ipv4/tcp_fastopen", O_RDWR);
/linux-master/drivers/gpu/drm/armada/
H A Darmada_gem.c493 exp_info.flags = O_RDWR;
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dflow_dissector.c459 fd = open("/dev/net/tun", O_RDWR);
/linux-master/tools/power/x86/intel-speed-select/
H A Disst-core-tpmi.c60 fd = open(pathname, O_RDWR);
/linux-master/drivers/scsi/aic7xxx/aicasm/
H A Daicasm_symbol.c132 O_CREAT | O_NONBLOCK | O_RDWR, /*mode*/0, DB_HASH,
/linux-master/security/apparmor/
H A Dfile.c696 devnull = dentry_open(&aa_null, O_RDWR, cred);
/linux-master/tools/perf/util/
H A Dtrace-event-info.c623 temp_fd = open(tdata->temp_file, O_RDWR);
H A Devlist.c1882 * O_RDWR avoids POLLHUPs which is necessary to allow the other
1885 fd = open(s, O_RDWR | O_NONBLOCK | O_CLOEXEC);
1895 /* O_RDWR | O_NONBLOCK means the other end need not be open */
1896 fd = open(p, O_RDWR | O_NONBLOCK | O_CLOEXEC);
/linux-master/include/uapi/drm/
H A Ddrm.h884 #define DRM_RDWR O_RDWR
/linux-master/tools/include/uapi/drm/
H A Ddrm.h884 #define DRM_RDWR O_RDWR
/linux-master/drivers/nvme/target/
H A Dpassthru.c591 file = filp_open(subsys->passthru_ctrl_path, O_RDWR, 0);
/linux-master/tools/bpf/resolve_btfids/
H A Dmain.c337 fd = open(obj->path, O_RDWR, 0666);
/linux-master/drivers/vdpa/vdpa_user/
H A Diova_domain.c605 domain, O_RDWR);
/linux-master/tools/testing/selftests/mm/
H A Duffd-common.c665 fd = open("/dev/userfaultfd", O_RDWR | O_CLOEXEC);
H A Dprotection_keys.c60 int fd = open(file, O_RDWR);
826 fd = open("/dax/foo", O_RDWR);
H A Dhmm-tests.c122 fd = open(pathname, O_RDWR, 0);
225 fd = open(path, O_TMPFILE | O_EXCL | O_RDWR, 0600);
1909 gup_fd = open("/sys/kernel/debug/gup_test", O_RDWR);
H A Dpagemap_ioctl.c1182 fd = open(__FILE__".tmp2", O_RDWR | O_CREAT, 0666);
1587 fd = open(__FILE__".tmp0", O_RDWR | O_CREAT, 0777);
/linux-master/fs/notify/fanotify/
H A Dfanotify_user.c1509 case O_RDWR:
1535 f_flags = O_RDWR | __FMODE_NONOTIFY;
/linux-master/tools/testing/selftests/nolibc/
H A Dnolibc-test.c1080 fd = open("/tmp", O_TMPFILE | O_EXCL | O_RDWR, 0600);
1245 int fd = open("/dev/console", O_RDWR);

Completed in 424 milliseconds

1234567891011