/linux-master/tools/virtio/virtio-trace/ |
H A D | trace-agent-ctl.c | 36 ctl_fd = open(ctl_path, O_RDONLY);
|
/linux-master/tools/power/acpi/os_specific/service_layers/ |
H A D | osunixmap.c | 70 fd = open(SYSTEM_MEMORY, O_RDONLY | O_BINARY);
|
/linux-master/tools/testing/selftests/proc/ |
H A D | proc-uptime-002.c | 62 fd = open("/proc/uptime", O_RDONLY);
|
H A D | proc-empty-vm.c | 220 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 D | proc-pid-vm.c | 207 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 D | tracepoint.c | 18 fd = open(evt_path, O_RDONLY);
|
/linux-master/tools/testing/selftests/mm/ |
H A D | madv_populate.c | 137 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 D | urandom_read.c | 61 int fd = open("/dev/urandom", O_RDONLY);
|
/linux-master/samples/cgroup/ |
H A D | cgroup_event_listener.c | 34 cfd = open(argv[1], O_RDONLY);
|
/linux-master/tools/testing/selftests/lsm/ |
H A D | common.c | 32 fd = open(path, O_RDONLY);
|
/linux-master/fs/lockd/ |
H A D | svcsubs.c | 76 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 D | ec_access.c | 208 int file_mode = O_RDONLY; 216 file_mode = O_RDONLY;
|
/linux-master/fs/ecryptfs/ |
H A D | kthread.c | 134 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 D | timens.c | 64 parent_ns = open(path, O_RDONLY); 75 child_ns = open(path, O_RDONLY);
|
/linux-master/fs/ |
H A D | kernel_read_file.c | 137 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 D | cpupower.c | 29 fd = open(path, O_RDONLY); 97 fd = open(path, O_RDONLY);
|
/linux-master/tools/perf/trace/beauty/ |
H A D | open_flags.c | 30 if ((flags & O_ACCMODE) == O_RDONLY)
|
/linux-master/tools/build/ |
H A D | fixdep.c | 127 fd = open(depfile, O_RDONLY);
|
/linux-master/tools/testing/selftests/nsfs/ |
H A D | owner.c | 56 ns = open(path, O_RDONLY);
|
H A D | pidns.c | 56 ns = open(path, O_RDONLY);
|
/linux-master/tools/testing/selftests/memfd/ |
H A D | fuse_mnt.c | 66 if ((fi->flags & 3) != O_RDONLY)
|
/linux-master/tools/testing/selftests/timers/ |
H A D | mqueue-lat.c | 66 q = mq_open("/foo", O_CREAT | O_RDONLY, 0666, NULL);
|
/linux-master/fs/ceph/ |
H A D | util.c | 68 case O_RDONLY:
|
/linux-master/tools/testing/selftests/ptrace/ |
H A D | vmaccess.c | 39 f = open(mm, O_RDONLY);
|
/linux-master/samples/binderfs/ |
H A D | binderfs_example.c | 53 fd = open("/dev/binderfs/binder-control", O_RDONLY | O_CLOEXEC);
|