Searched refs:O_RDONLY (Results 226 - 250 of 357) sorted by relevance

1234567891011>>

/linux-master/tools/testing/selftests/mount_setattr/
H A Dmount_setattr_test.c1115 fd = open("/dev/null", O_RDONLY | O_CLOEXEC);
1144 attr.userns_fd = open("/proc/1/ns/user", O_RDONLY | O_CLOEXEC);
1226 ret = open(path, O_RDONLY | O_CLOEXEC);
/linux-master/drivers/misc/genwqe/
H A Dcard_dev.c1097 if ((filp->f_flags & O_ACCMODE) == O_RDONLY)
1133 if ((filp->f_flags & O_ACCMODE) == O_RDONLY)
1156 if ((filp->f_flags & O_ACCMODE) == O_RDONLY)
/linux-master/scripts/
H A Dinsert-sys-cert.c234 fd = open(file_name, O_RDONLY);
/linux-master/lib/
H A Dtest_lockup.c534 test_file = filp_open(test_file_path, O_RDONLY, 0);
/linux-master/tools/thermal/thermometer/
H A Dthermometer.c265 fd = open(tz_path, O_RDONLY);
/linux-master/tools/testing/selftests/rtc/
H A Drtctest.c33 self->fd = open(rtc_file, O_RDONLY);
/linux-master/drivers/usb/gadget/function/
H A Dstorage_common.c199 filp = filp_open(filename, O_RDONLY | O_LARGEFILE, 0);
/linux-master/tools/accounting/
H A Dgetdelays.c450 cfd = open(containerpath, O_RDONLY);
/linux-master/tools/testing/selftests/net/
H A Dtcp_mmap.c431 urandom = open("/dev/urandom", O_RDONLY);
/linux-master/tools/testing/selftests/cgroup/
H A Dcgroup_util.c28 fd = open(path, O_RDONLY);
/linux-master/tools/perf/util/
H A Dcgroup.c43 fd = open(path, O_RDONLY);
H A Dgenelf.c111 fd = open("/dev/urandom", O_RDONLY);
/linux-master/scripts/gcc-plugins/
H A Dlatent_entropy_plugin.c106 urandom_fd = open("/dev/urandom", O_RDONLY);
/linux-master/tools/testing/selftests/alsa/
H A Dconf.c171 fd = open(path, O_RDONLY);
/linux-master/usr/
H A Dgen_init_cpio.c340 file = open (location, O_RDONLY);
/linux-master/fs/nfs/
H A Dnfs4file.c358 filep = alloc_file_pseudo(r_ino, ss_mnt, read_name, O_RDONLY,
/linux-master/fs/exportfs/
H A Dexpfs.c312 file = dentry_open(path, O_RDONLY, cred);
/linux-master/tools/lib/bpf/
H A Delf.c35 fd = open(binary_path, O_RDONLY | O_CLOEXEC);
/linux-master/drivers/vfio/pci/pds/
H A Dlm.c262 lm_file = pds_vfio_get_lm_file(&pds_vfio_save_fops, O_RDONLY, size);
/linux-master/fs/bcachefs/
H A Dthread_with_file.c33 fd_flags |= O_RDONLY;
/linux-master/arch/powerpc/platforms/cell/spufs/
H A Dinode.c288 filp = dentry_open(path, O_RDONLY, current_cred());
508 filp = dentry_open(path, O_RDONLY, current_cred());
/linux-master/tools/power/x86/x86_energy_perf_policy/
H A Dx86_energy_perf_policy.c687 fd = open(pathname, O_RDONLY);
732 fd = open(path, O_RDONLY);
/linux-master/tools/testing/selftests/memfd/
H A Dmemfd_test.c126 int fd = open("/proc/sys/vm/memfd_noexec", O_RDONLY | O_CLOEXEC);
1512 fd = mfd_assert_open(fd2, O_RDONLY, 0);
/linux-master/drivers/media/dvb-core/
H A Ddvbdev.c135 if ((file->f_flags & O_ACCMODE) == O_RDONLY) {
157 if ((file->f_flags & O_ACCMODE) == O_RDONLY)
/linux-master/drivers/s390/char/
H A Dvmur.c738 if (((accmode == O_RDONLY) && (urd->class != DEV_CLASS_UR_I)) ||
791 if ((file->f_flags & O_ACCMODE) != O_RDONLY)

Completed in 210 milliseconds

1234567891011>>