Searched refs:O_RDONLY (Results 51 - 75 of 357) sorted by relevance

1234567891011>>

/linux-master/tools/virtio/virtio-trace/
H A Dtrace-agent-ctl.c36 ctl_fd = open(ctl_path, O_RDONLY);
/linux-master/tools/power/acpi/os_specific/service_layers/
H A Dosunixmap.c70 fd = open(SYSTEM_MEMORY, O_RDONLY | O_BINARY);
/linux-master/tools/testing/selftests/proc/
H A Dproc-uptime-002.c62 fd = open("/proc/uptime", O_RDONLY);
H A Dproc-empty-vm.c220 int fd = open(buf, O_RDONLY);
242 int fd = open(buf, O_RDONLY);
265 int fd = open(buf, O_RDONLY);
329 int fd = open(buf, O_RDONLY);
373 int fd = open(buf, O_RDONLY);
H A Dproc-pid-vm.c207 fd1 = open(buf, O_RDONLY|O_CLOEXEC);
309 if (open("/", O_RDONLY|O_DIRECTORY|O_PATH) != 0) {
361 fd = open(buf, O_RDONLY);
380 fd = open(buf, O_RDONLY);
436 fd = open(buf, O_RDONLY);
472 fd = open(buf, O_RDONLY);
/linux-master/tools/perf/util/
H A Dtracepoint.c18 fd = open(evt_path, O_RDONLY);
/linux-master/tools/testing/selftests/mm/
H A Dmadv_populate.c137 int fd = open("/proc/self/pagemap", O_RDONLY);
151 int fd = open("/proc/self/pagemap", O_RDONLY);
209 int fd = open("/proc/self/pagemap", O_RDONLY);
223 int fd = open("/proc/self/pagemap", O_RDONLY);
/linux-master/tools/testing/selftests/bpf/
H A Durandom_read.c61 int fd = open("/dev/urandom", O_RDONLY);
/linux-master/samples/cgroup/
H A Dcgroup_event_listener.c34 cfd = open(argv[1], O_RDONLY);
/linux-master/tools/testing/selftests/lsm/
H A Dcommon.c32 fd = open(path, O_RDONLY);
/linux-master/fs/lockd/
H A Dsvcsubs.c76 return lock_is_write(lock) ? O_WRONLY : O_RDONLY;
169 if (file->f_file[O_RDONLY])
170 nlmsvc_ops->fclose(file->f_file[O_RDONLY]);
191 lock.c.flc_file = file->f_file[O_RDONLY];
289 if (file->f_file[O_RDONLY])
290 nlmsvc_ops->fclose(file->f_file[O_RDONLY]);
/linux-master/tools/power/acpi/tools/ec/
H A Dec_access.c208 int file_mode = O_RDONLY;
216 file_mode = O_RDONLY;
/linux-master/fs/ecryptfs/
H A Dkthread.c134 flags |= IS_RDONLY(d_inode(lower_dentry)) ? O_RDONLY : O_RDWR;
138 if ((flags & O_ACCMODE) == O_RDONLY) {
/linux-master/tools/testing/selftests/timens/
H A Dtimens.c64 parent_ns = open(path, O_RDONLY);
75 child_ns = open(path, O_RDONLY);
/linux-master/fs/
H A Dkernel_read_file.c137 file = filp_open(path, O_RDONLY, 0);
163 file = file_open_root(&root, path, O_RDONLY, 0);
/linux-master/tools/power/cpupower/lib/
H A Dcpupower.c29 fd = open(path, O_RDONLY);
97 fd = open(path, O_RDONLY);
/linux-master/tools/perf/trace/beauty/
H A Dopen_flags.c30 if ((flags & O_ACCMODE) == O_RDONLY)
/linux-master/tools/build/
H A Dfixdep.c127 fd = open(depfile, O_RDONLY);
/linux-master/tools/testing/selftests/nsfs/
H A Downer.c56 ns = open(path, O_RDONLY);
H A Dpidns.c56 ns = open(path, O_RDONLY);
/linux-master/tools/testing/selftests/memfd/
H A Dfuse_mnt.c66 if ((fi->flags & 3) != O_RDONLY)
/linux-master/tools/testing/selftests/timers/
H A Dmqueue-lat.c66 q = mq_open("/foo", O_CREAT | O_RDONLY, 0666, NULL);
/linux-master/fs/ceph/
H A Dutil.c68 case O_RDONLY:
/linux-master/tools/testing/selftests/ptrace/
H A Dvmaccess.c39 f = open(mm, O_RDONLY);
/linux-master/samples/binderfs/
H A Dbinderfs_example.c53 fd = open("/dev/binderfs/binder-control", O_RDONLY | O_CLOEXEC);

Completed in 514 milliseconds

1234567891011>>