Home
last modified time | relevance | path

Searched refs:fopen (Results 1 – 25 of 150) sorted by relevance

123456

/Linux-v5.4/tools/iio/
Diio_utils.c130 sysfsfp = fopen(filename, "r"); in iioutils_get_type()
255 sysfsfp = fopen(filename, "r"); in iioutils_get_param_float()
344 sysfsfp = fopen(filename, "r"); in build_channel_array()
394 sysfsfp = fopen(filename, "r"); in build_channel_array()
455 sysfsfp = fopen(filename, "r"); in build_channel_array()
616 namefp = fopen(filename, "r"); in find_type_by_name()
670 sysfsfp = fopen(temp, "w"); in _write_sysfs_int()
691 sysfsfp = fopen(temp, "r"); in _write_sysfs_int()
768 sysfsfp = fopen(temp, "w"); in _write_sysfs_string()
789 sysfsfp = fopen(temp, "r"); in _write_sysfs_string()
[all …]
/Linux-v5.4/tools/perf/util/
Dcputopo.c43 fp = fopen(filename, "r"); in build_cpu_topology()
74 fp = fopen(filename, "r"); in build_cpu_topology()
106 fp = fopen(filename, "r"); in build_cpu_topology()
247 fp = fopen(str, "r"); in load_numa_node()
271 fp = fopen(str, "r"); in load_numa_node()
307 fp = fopen(path, "r"); in numa_topology__new()
Dcopyfile.c23 from_fp = fopen(from, "r"); in slow_copyfile()
28 to_fp = fopen(to, "w"); in slow_copyfile()
Dfind-map.c8 maps = fopen("/proc/self/maps", "r"); in find_map()
/Linux-v5.4/tools/power/acpi/tools/acpidump/
Dapfiles.c77 file = fopen(pathname, "w"); in ap_open_output_file()
148 file = fopen(filename, "wb"); in ap_write_to_binary_file()
189 file = fopen(pathname, "rb"); in ap_get_table_from_file()
/Linux-v5.4/drivers/net/wireless/rsi/
Drsi_91x_debugfs.c253 #define FOPS(fopen) { \ argument
255 .open = (fopen), \
260 #define FOPS_RW(fopen, fwrite) { \ argument
262 .open = (fopen), \
/Linux-v5.4/samples/bpf/
Dhbm.c92 outf = fopen(outFname, "w"); in read_trace_pipe2()
220 fin = fopen("/sys/class/net/eth0/statistics/tx_bytes", "r"); in run_bpf_prog()
238 fin = fopen("/sys/class/net/eth0/statistics/tx_bytes", in run_bpf_prog()
307 fout = fopen(fname, "w"); in run_bpf_prog()
334 fout = fopen(fname, "w"); in run_bpf_prog()
/Linux-v5.4/tools/wmi/
Ddell-smbios-example.c66 f = fopen(value_sysfs, "rb"); in find_token()
80 f = fopen(location_sysfs, "rb"); in find_token()
147 f = fopen(ioctl_devfs, "rb"); in query_buffer_size()
/Linux-v5.4/tools/testing/selftests/mqueue/
Dmq_open_tests.c273 def_msgs = fopen(DEF_MSGS, "r+"); in main()
274 def_msgsize = fopen(DEF_MSGSIZE, "r+"); in main()
275 max_msgs = fopen(MAX_MSGS, "r+"); in main()
276 max_msgsize = fopen(MAX_MSGSIZE, "r+"); in main()
/Linux-v5.4/tools/bpf/bpftool/
Dtracelog.c76 fp = fopen("/proc/mounts", "r"); in get_tracefs_pipe()
139 trace_pipe_fd = fopen(trace_pipe, "r"); in do_tracelog()
/Linux-v5.4/scripts/dtc/
Ddtc.c145 f = fopen(fname, "r"); in guess_input_format()
279 depfile = fopen(depname, "w"); in main()
344 outf = fopen(outname, "wb"); in main()
/Linux-v5.4/tools/perf/arch/s390/util/
Dheader.c56 sysinfo = fopen(SYSINFO, "r"); in get_cpuid()
100 sysinfo = fopen(SRVLVL, "r"); in get_cpuid()
/Linux-v5.4/tools/vm/
Dpage_owner_sort.c101 fin = fopen(argv[1], "r"); in main()
102 fout = fopen(argv[2], "w"); in main()
/Linux-v5.4/scripts/selinux/genheaders/
Dgenheaders.c55 fout = fopen(argv[1], "w"); in main()
110 fout = fopen(argv[2], "w"); in main()
/Linux-v5.4/arch/x86/boot/tools/
Dbuild.c309 file = fopen(fname, "r"); in parse_zoffset()
349 dest = fopen(argv[4], "w"); in main()
354 file = fopen(argv[1], "r"); in main()
/Linux-v5.4/tools/testing/selftests/powerpc/pmu/
Dlib.c159 f = fopen("/proc/self/maps", "r"); in parse_proc_maps()
200 f = fopen(PARANOID_PATH, "r"); in require_paranoia_below()
/Linux-v5.4/tools/power/cpupower/bench/
Dparse.c96 output = fopen(filename, "w+"); in prepare_output()
166 configfile = fopen(path, "r"); in prepare_config()
/Linux-v5.4/scripts/selinux/mdp/
Dmdp.c57 fout = fopen(polout, "w"); in main()
243 fout = fopen(ctxout, "w"); in main()
/Linux-v5.4/drivers/scsi/aic7xxx/aicasm/
Daicasm.c171 if ((listfile = fopen(optarg, "w")) == NULL) { in main()
187 if ((ofile = fopen(optarg, "w")) == NULL) { in main()
195 if ((regdiagfile = fopen(optarg, "w")) == NULL) { in main()
202 if ((regfile = fopen(optarg, "w")) == NULL) { in main()
537 if ((ifile = fopen(ifilename, "r")) == NULL) { in output_listing()
/Linux-v5.4/tools/hv/
Dhv_kvp_daemon.c155 filep = fopen(kvp_file_info[pool].fname, "we"); in kvp_update_file()
186 filep = fopen(kvp_file_info[pool].fname, "re"); in kvp_update_mem_state()
442 file = fopen("/etc/os-release", "r"); in kvp_get_os_info()
492 file = fopen("/etc/SuSE-release", "r"); in kvp_get_os_info()
495 file = fopen("/etc/redhat-release", "r"); in kvp_get_os_info()
576 file = fopen(dev_id, "r"); in kvp_get_if_name()
619 file = fopen(addr_file, "r"); in kvp_if_name_to_mac()
969 file = fopen(dev_id, "r"); in kvp_mac_to_ip()
1233 file = fopen(if_file, "w"); in kvp_set_ip_info()
/Linux-v5.4/tools/bpf/
Dbpf_asm.c40 fp = fopen(argv[i], "r"); in main()
/Linux-v5.4/tools/testing/selftests/memfd/
Dcommon.c24 FILE *f = fopen("/proc/meminfo", "r"); in default_huge_page_size()
/Linux-v5.4/arch/x86/boot/compressed/
Dmkpiggy.c33 f = fopen(argv[1], "r"); in main()
/Linux-v5.4/include/linux/lockd/
Dbind.h28 __be32 (*fopen)(struct svc_rqst *, member
/Linux-v5.4/scripts/kconfig/
Dconfdata.c776 out = fopen(filename, "w"); in conf_write_defconfig()
873 out = fopen(name, "w"); in conf_write()
877 out = fopen(tmpname, "w"); in conf_write()
964 out = fopen("..config.tmp", "w"); in conf_write_dep()
1076 out = fopen(".tmpconfig", "w"); in conf_write_autoconf()
1080 tristate = fopen(".tmpconfig_tristate", "w"); in conf_write_autoconf()
1086 out_h = fopen(".tmpconfig.h", "w"); in conf_write_autoconf()

123456