Searched refs:O_RDONLY (Results 176 - 200 of 357) sorted by relevance

1234567891011>>

/linux-master/drivers/usb/gadget/function/
H A Du_uac1_legacy.c238 snd->filp = filp_open(fn_cap, O_RDONLY, 0);
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dcgroup_hierarchical_stats.c75 fd = open(path, O_RDONLY);
H A Dcheck_mtu.c22 fd = open(filename, 0, O_RDONLY);
H A Dmptcp.c108 fd = open("/proc/sys/net/ipv4/tcp_congestion_control", O_RDONLY);
/linux-master/tools/testing/selftests/kvm/
H A Daccess_tracking_perf_test.c145 pagemap_fd = open("/proc/self/pagemap", O_RDONLY);
/linux-master/arch/alpha/boot/tools/
H A Dobjstrip.c91 fd = open(inname, O_RDONLY);
/linux-master/tools/testing/selftests/memfd/
H A Dfuse_test.c262 fd = open(argv[1], O_RDONLY | O_CLOEXEC);
/linux-master/tools/power/acpi/tools/pfrut/
H A Dpfrut.c324 fd_capsule = open(capsule_name, O_RDONLY);
/linux-master/tools/lib/bpf/
H A Dzip.c205 fd = open(path, O_RDONLY | O_CLOEXEC);
/linux-master/drivers/s390/char/
H A Dhmcdrv_dev.c126 if ((fp->f_flags & O_ACCMODE) == O_RDONLY)
/linux-master/tools/perf/tests/
H A Dapi-io.c64 io->fd = open(path, O_RDONLY);
H A Dtests-scripts.c55 io__init(&io, openat(dir_fd, name, O_RDONLY), buf, sizeof(buf));
/linux-master/scripts/basic/
H A Dfixdep.c220 fd = open(filename, O_RDONLY);
/linux-master/tools/testing/selftests/mm/
H A Dmkdirty.c348 pagemap_fd = open("/proc/self/pagemap", O_RDONLY);
H A Dthp_settings.c50 fd = open(path, O_RDONLY);
/linux-master/tools/bpf/bpftool/
H A Dperf.c34 fd = open("/", O_RDONLY);
/linux-master/fs/coda/
H A Dcoda_linux.c48 if ((flags & O_ACCMODE) == O_RDONLY)
/linux-master/tools/testing/selftests/bpf/benchs/
H A Dbench_htab_mem.c273 fd = openat(ctx.fd, name, O_RDONLY);
/linux-master/arch/um/os-Linux/
H A Dumid.c148 fd = open(file, O_RDONLY);
H A Dfile.c186 f = O_RDONLY;
326 fd = open(file, O_RDONLY, 0);
/linux-master/samples/seccomp/
H A Duser-trap.c132 mem = open(path, O_RDONLY);
/linux-master/fs/
H A Dnsfs.c110 f = dentry_open(&path, O_RDONLY, current_cred());
/linux-master/tools/testing/selftests/net/tcp_ao/lib/
H A Dsetup.c117 fd = open(netns_path, O_RDONLY);
/linux-master/drivers/staging/media/av7110/
H A Dav7110_av.c934 if ((file->f_flags & O_ACCMODE) != O_RDONLY)
942 if ((file->f_flags & O_ACCMODE) != O_RDONLY) {
964 if ((file->f_flags & O_ACCMODE) == O_RDONLY)
1131 if ((file->f_flags & O_ACCMODE) == O_RDONLY) {
1362 if (((file->f_flags & O_ACCMODE) == O_RDONLY) &&
1513 if ((file->f_flags & O_ACCMODE) != O_RDONLY) {
1534 if ((file->f_flags & O_ACCMODE) != O_RDONLY) {
/linux-master/tools/perf/util/
H A Dsymbol-elf.c234 fd = open(filename, O_RDONLY);
976 fd = open(filename, O_RDONLY);
1037 fd = open(filename, O_RDONLY);
1131 fd = open(filename, O_RDONLY);
1243 fd = open(name, O_RDONLY);
1998 kcore->fd = open(filename, O_RDONLY);
2507 from = open(from_filename, O_RDONLY);
2511 to = open(to_filename, O_RDONLY);
2929 fd = open(target, O_RDONLY);

Completed in 244 milliseconds

1234567891011>>