Home
last modified time | relevance | path

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

123456

/Linux-v4.19/tools/iio/
Diio_utils.c133 sysfsfp = fopen(filename, "r"); in iioutils_get_type()
258 sysfsfp = fopen(filename, "r"); in iioutils_get_param_float()
347 sysfsfp = fopen(filename, "r"); in build_channel_array()
397 sysfsfp = fopen(filename, "r"); in build_channel_array()
458 sysfsfp = fopen(filename, "r"); in build_channel_array()
619 namefp = fopen(filename, "r"); in find_type_by_name()
673 sysfsfp = fopen(temp, "w"); in _write_sysfs_int()
694 sysfsfp = fopen(temp, "r"); in _write_sysfs_int()
771 sysfsfp = fopen(temp, "w"); in _write_sysfs_string()
792 sysfsfp = fopen(temp, "r"); in _write_sysfs_string()
[all …]
/Linux-v4.19/tools/power/acpi/tools/acpidump/
Dapfiles.c71 file = fopen(pathname, "w"); in ap_open_output_file()
142 file = fopen(filename, "wb"); in ap_write_to_binary_file()
183 file = fopen(pathname, "rb"); in ap_get_table_from_file()
/Linux-v4.19/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-v4.19/tools/wmi/
Ddell-smbios-example.c69 f = fopen(value_sysfs, "rb"); in find_token()
83 f = fopen(location_sysfs, "rb"); in find_token()
150 f = fopen(ioctl_devfs, "rb"); in query_buffer_size()
/Linux-v4.19/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-v4.19/scripts/selinux/mdp/
Dmdp.c70 fout = fopen(polout, "w"); in main()
142 fout = fopen(ctxout, "w"); in main()
/Linux-v4.19/scripts/dtc/
Ddtc.c151 f = fopen(fname, "r"); in guess_input_format()
282 depfile = fopen(depname, "w"); in main()
345 outf = fopen(outname, "wb"); in main()
/Linux-v4.19/tools/perf/arch/s390/util/
Dheader.c57 sysinfo = fopen(SYSINFO, "r"); in get_cpuid()
101 sysinfo = fopen(SRVLVL, "r"); in get_cpuid()
/Linux-v4.19/tools/vm/
Dpage_owner_sort.c99 fin = fopen(argv[1], "r"); in main()
100 fout = fopen(argv[2], "w"); in main()
/Linux-v4.19/arch/x86/boot/tools/
Dbuild.c308 file = fopen(fname, "r"); in parse_zoffset()
348 dest = fopen(argv[4], "w"); in main()
353 file = fopen(argv[1], "r"); in main()
/Linux-v4.19/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-v4.19/tools/power/cpupower/bench/
Dparse.c109 output = fopen(filename, "w+"); in prepare_output()
179 configfile = fopen(path, "r"); in prepare_config()
/Linux-v4.19/scripts/selinux/genheaders/
Dgenheaders.c60 fout = fopen(argv[1], "w"); in main()
120 fout = fopen(argv[2], "w"); in main()
/Linux-v4.19/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-v4.19/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()
1232 file = fopen(if_file, "w"); in kvp_set_ip_info()
/Linux-v4.19/tools/bpf/
Dbpf_asm.c40 fp = fopen(argv[i], "r"); in main()
/Linux-v4.19/tools/perf/util/
Dfind-vdso-map.c8 maps = fopen("/proc/self/maps", "r"); in find_vdso_map()
Dutil.c202 from_fp = fopen(from, "r"); in slow_copyfile()
207 to_fp = fopen(to, "w"); in slow_copyfile()
409 vsig = fopen("/proc/version_signature", "r"); in fetch_ubuntu_kernel_version()
/Linux-v4.19/Documentation/media/uapi/dvb/
Dca_function_calls.rst12 ca-fopen
Ddmx_fcalls.rst12 dmx-fopen
Daudio_function_calls.rst12 audio-fopen
/Linux-v4.19/tools/testing/selftests/memfd/
Dcommon.c24 FILE *f = fopen("/proc/meminfo", "r"); in default_huge_page_size()
/Linux-v4.19/include/linux/lockd/
Dbind.h28 __be32 (*fopen)(struct svc_rqst *, member
/Linux-v4.19/arch/x86/boot/compressed/
Dmkpiggy.c47 f = fopen(argv[1], "r"); in main()
/Linux-v4.19/tools/testing/selftests/bpf/
Dbpf_util.h18 fp = fopen(fcpu, "r"); in bpf_num_possible_cpus()

123456