Searched refs:O_RDONLY (Results 251 - 275 of 357) sorted by relevance

<<1112131415

/linux-master/scripts/kconfig/
H A Dconfdata.c53 fd1 = open(file1, O_RDONLY);
57 fd2 = open(file2, O_RDONLY);
/linux-master/tools/power/x86/intel-speed-select/
H A Disst-config.c461 fd = open(buffer, O_RDONLY);
1012 fd = open("/sys/fs/cgroup/0-0-0/cpuset.cpus", O_RDONLY, 0);
1028 fd1 = open("/sys/fs/cgroup/0-0-0/cpuset.cpus.partition", O_RDONLY, 0);
1762 fd = open(buffer, O_RDONLY);
2220 fd = open(buffer, O_RDONLY);
/linux-master/tools/testing/selftests/mm/
H A Dpagemap_ioctl.c1153 fd = open(progname, O_RDONLY);
1225 int pagemap_fd = open("/proc/self/pagemap", O_RDONLY);
1494 pagemap_fd = open(PAGEMAP, O_RDONLY);
H A Dcow.c78 O_RDONLY);
1765 pagemap_fd = open("/proc/self/pagemap", O_RDONLY);
/linux-master/tools/testing/selftests/openat2/
H A Dresolve_test.c131 hardcoded_fd = open("/dev/null", O_RDONLY);
/linux-master/fs/autofs/
H A Ddev-ioctl.c240 filp = dentry_open(&path, O_RDONLY, current_cred());
/linux-master/tools/arch/x86/intel_sdsi/
H A Dintel_sdsi.c527 bin_fd = open(bin_file, O_RDONLY);
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dflow_dissector.c601 net_fd = open("/proc/self/ns/net", O_RDONLY);
H A Dsk_lookup.c475 net_fd = open("/proc/self/ns/net", O_RDONLY);
526 net_fd = open("/proc/self/ns/net", O_RDONLY);
H A Dbpf_iter.c573 iter_fd = open(path, O_RDONLY);
1444 proc_maps_fd = open(maps_path, O_RDONLY);
/linux-master/drivers/most/
H A Dmost_cdev.c125 ((filp->f_flags & O_ACCMODE) != O_RDONLY)) ||
/linux-master/arch/um/drivers/
H A Dmconsole_kern.c144 file = file_open_root_mnt(mnt, ptr, O_RDONLY, 0);
/linux-master/tools/testing/selftests/cgroup/
H A Dtest_core.c26 fd = open("/dev/urandom", O_RDONLY);
/linux-master/drivers/iio/
H A Dindustrialio-event.c213 indio_dev, O_RDONLY | O_CLOEXEC);
/linux-master/tools/iio/
H A Diio_generic_buffer.c651 fd = open(buffer_access, O_RDONLY | O_NONBLOCK);
/linux-master/fs/notify/inotify/
H A Dinotify_user.c712 O_RDONLY | flags);
/linux-master/security/integrity/ima/
H A Dima_crypto.c553 /* Open a new file instance in O_RDONLY if we cannot read */
557 flags |= O_RDONLY;
/linux-master/arch/mips/boot/
H A Delf2ecoff.c300 if ((infile = open(argv[1], O_RDONLY)) < 0) {
/linux-master/scripts/
H A Drecordmcount.c186 fd_map = open(fname, O_RDONLY);
/linux-master/sound/core/
H A Dinfo.c242 if (((mode == O_RDONLY || mode == O_RDWR) && !entry->c.ops->read) ||
/linux-master/drivers/media/dvb-core/
H A Ddvb_frontend.c2092 if ((file->f_flags & O_ACCMODE) == O_RDONLY
2777 if ((file->f_flags & O_ACCMODE) != O_RDONLY) {
2840 if ((file->f_flags & O_ACCMODE) != O_RDONLY) {
2909 if ((file->f_flags & O_ACCMODE) != O_RDONLY) {
/linux-master/drivers/staging/axis-fifo/
H A Daxis-fifo.c691 if (((f->f_flags & O_ACCMODE) == O_RDONLY) ||
/linux-master/tools/tracing/latency/
H A Dlatency-collector.c1152 trace_fd = open(debug_tracefile, O_RDONLY);
1641 ufd = open(DEV_URANDOM, O_RDONLY);
/linux-master/tools/perf/
H A Dbuiltin-daemon.c354 fd = open("/dev/null", O_RDONLY);
534 ack = open(ack_path, O_RDONLY, O_NONBLOCK);
/linux-master/tools/perf/util/
H A Ddso.c337 return open(name, O_RDONLY);
514 fd = open(name, O_RDONLY|O_CLOEXEC);

Completed in 411 milliseconds

<<1112131415