/linux-master/tools/testing/selftests/bpf/ |
H A D | testing_helpers.c | 394 fd = open("bpf_testmod.ko", O_RDONLY); 467 sysctl_fd = open(jit_sysctl, O_RDONLY);
|
H A D | network_helpers.c | 448 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 D | split_huge_page_test.c | 136 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 D | flow_dissector_reattach.c | 81 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 D | ftrace_test.c | 29 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 D | ima_fs.c | 391 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 D | utils.c | 38 fd = open(path, O_RDONLY); 76 fd = open(path, O_RDONLY);
|
/linux-master/fs/fuse/ |
H A D | ioctl.c | 436 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 D | utils.c | 289 comm_fd = open(buffer, O_RDONLY); 578 fd = open(path, O_RDONLY);
|
/linux-master/tools/perf/util/ |
H A D | data.c | 139 ret = open(file->path, O_RDONLY); 261 int flags = data->in_place_update ? O_RDWR : O_RDONLY;
|
H A D | pmu.c | 210 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 D | cpuidle.c | 63 fd = open(path, O_RDONLY);
|
/linux-master/tools/firmware/ |
H A D | ihex2fw.c | 101 infd = open(argv[optind], O_RDONLY);
|
/linux-master/tools/hv/ |
H A D | hv_vss_daemon.c | 36 int ret, fd = open(dir, O_RDONLY);
|
/linux-master/tools/usb/usbip/libsrc/ |
H A D | usbip_host_common.c | 46 fd = open(status_attr_path, O_RDONLY);
|
/linux-master/init/ |
H A D | do_mounts_rd.c | 202 in_file = filp_open(from, O_RDONLY, 0);
|
/linux-master/drivers/infiniband/core/ |
H A D | uverbs_std_types.c | 180 O_RDONLY));
|
/linux-master/arch/x86/tools/ |
H A D | insn_sanity.c | 109 fd = open("/dev/urandom", O_RDONLY);
|
/linux-master/samples/bpf/ |
H A D | test_cgrp2_sock.c | 261 cg_fd = open(cgrp_path, O_DIRECTORY | O_RDONLY);
|
/linux-master/security/keys/ |
H A D | big_key.c | 246 file = dentry_open(&payload->path, O_RDONLY, current_cred());
|
/linux-master/arch/mips/tools/ |
H A D | loongson3-llsc-check.c | 251 vmlinux_fd = open(vmlinux_path, O_RDONLY);
|
/linux-master/tools/testing/selftests/net/ |
H A D | ipv6_flowlabel.c | 159 fd = open("/proc/sys/net/ipv6/auto_flowlabels", O_RDONLY);
|
/linux-master/arch/x86/entry/vdso/ |
H A D | vdso2c.c | 190 int fd = open(name, O_RDONLY);
|
/linux-master/arch/sparc/vdso/ |
H A D | vdso2c.c | 163 int fd = open(name, O_RDONLY);
|
/linux-master/tools/bpf/ |
H A D | bpf_jit_disasm.c | 135 fd = open(file, O_RDONLY);
|