Searched refs:O_RDONLY (Results 151 - 175 of 357) sorted by relevance

1234567891011>>

/linux-master/tools/testing/selftests/bpf/
H A Dtesting_helpers.c394 fd = open("bpf_testmod.ko", O_RDONLY);
467 sysctl_fd = open(jit_sysctl, O_RDONLY);
H A Dnetwork_helpers.c448 token->orig_netns_fd = open("/proc/self/ns/net", O_RDONLY);
453 nsfd = open(nspath, O_RDONLY | O_CLOEXEC);
/linux-master/tools/testing/selftests/mm/
H A Dsplit_huge_page_test.c136 pagemap_fd = open(pagemap_proc, O_RDONLY);
140 kpageflags_fd = open(kpageflags_proc, O_RDONLY);
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dflow_dissector_reattach.c81 new_net = open("/proc/self/ns/net", O_RDONLY);
635 saved_net = open("/proc/self/ns/net", O_RDONLY);
641 init_net = open("/proc/1/ns/net", O_RDONLY);
/linux-master/tools/testing/selftests/user_events/
H A Dftrace_test.c29 int fd = open(trace_file, O_RDONLY);
111 int fd = open(enable_file, O_RDONLY);
213 self->status_fd = open(status_file, O_RDONLY);
/linux-master/security/integrity/ima/
H A Dima_fs.c391 if ((filp->f_flags & O_ACCMODE) != O_RDONLY)
414 if ((file->f_flags & O_ACCMODE) == O_RDONLY)
/linux-master/tools/testing/selftests/powerpc/
H A Dutils.c38 fd = open(path, O_RDONLY);
76 fd = open(path, O_RDONLY);
/linux-master/fs/fuse/
H A Dioctl.c436 return fuse_file_open(fm, get_node_id(inode), O_RDONLY, isdir);
441 fuse_file_release(inode, ff, O_RDONLY, NULL, S_ISDIR(inode->i_mode));
/linux-master/tools/tracing/rtla/src/
H A Dutils.c289 comm_fd = open(buffer, O_RDONLY);
578 fd = open(path, O_RDONLY);
/linux-master/tools/perf/util/
H A Ddata.c139 ret = open(file->path, O_RDONLY);
261 int flags = data->in_place_update ? O_RDWR : O_RDONLY;
H A Dpmu.c210 int fd = openat(dirfd, name, O_RDONLY);
301 fd = open(path, O_RDONLY);
336 fd = open(path, O_RDONLY);
370 fd = open(path, O_RDONLY);
391 fd = open(path, O_RDONLY);
637 fd = openat(dir_fd, name, O_RDONLY);
1804 fd = perf_pmu__pathname_fd(dirfd, pmu->name, name, O_RDONLY);
1932 fd = openat(caps_fd, name, O_RDONLY);
/linux-master/tools/power/cpupower/lib/
H A Dcpuidle.c63 fd = open(path, O_RDONLY);
/linux-master/tools/firmware/
H A Dihex2fw.c101 infd = open(argv[optind], O_RDONLY);
/linux-master/tools/hv/
H A Dhv_vss_daemon.c36 int ret, fd = open(dir, O_RDONLY);
/linux-master/tools/usb/usbip/libsrc/
H A Dusbip_host_common.c46 fd = open(status_attr_path, O_RDONLY);
/linux-master/init/
H A Ddo_mounts_rd.c202 in_file = filp_open(from, O_RDONLY, 0);
/linux-master/drivers/infiniband/core/
H A Duverbs_std_types.c180 O_RDONLY));
/linux-master/arch/x86/tools/
H A Dinsn_sanity.c109 fd = open("/dev/urandom", O_RDONLY);
/linux-master/samples/bpf/
H A Dtest_cgrp2_sock.c261 cg_fd = open(cgrp_path, O_DIRECTORY | O_RDONLY);
/linux-master/security/keys/
H A Dbig_key.c246 file = dentry_open(&payload->path, O_RDONLY, current_cred());
/linux-master/arch/mips/tools/
H A Dloongson3-llsc-check.c251 vmlinux_fd = open(vmlinux_path, O_RDONLY);
/linux-master/tools/testing/selftests/net/
H A Dipv6_flowlabel.c159 fd = open("/proc/sys/net/ipv6/auto_flowlabels", O_RDONLY);
/linux-master/arch/x86/entry/vdso/
H A Dvdso2c.c190 int fd = open(name, O_RDONLY);
/linux-master/arch/sparc/vdso/
H A Dvdso2c.c163 int fd = open(name, O_RDONLY);
/linux-master/tools/bpf/
H A Dbpf_jit_disasm.c135 fd = open(file, O_RDONLY);

Completed in 349 milliseconds

1234567891011>>