Home
last modified time | relevance | path

Searched refs:fclose (Results 1 – 25 of 242) sorted by relevance

12345678910

/linux-6.12.1/tools/iio/
Diio_utils.c166 if (fclose(sysfsfp)) { in iioutils_get_type()
187 if (fclose(sysfsfp)) in iioutils_get_type()
267 fclose(sysfsfp); in iioutils_get_param_float()
358 if (fclose(sysfsfp)) in build_channel_array()
366 if (fclose(sysfsfp)) { in build_channel_array()
410 if (fclose(sysfsfp)) { in build_channel_array()
462 if (fclose(sysfsfp)) in build_channel_array()
468 if (fclose(sysfsfp)) { in build_channel_array()
626 if (fclose(namefp)) { in find_type_by_name()
676 if (fclose(sysfsfp)) in _write_sysfs_int()
[all …]
/linux-6.12.1/arch/mips/tools/
Delf-entry.c54 fclose(file); in main()
59 fclose(file); in main()
73 fclose(file); in main()
90 fclose(file); in main()
96 fclose(file); in main()
101 fclose(file); in main()
/linux-6.12.1/tools/testing/selftests/resctrl/
Dresctrlfs.c41 fclose(mounts); in find_resctrl_mount()
48 fclose(mounts); in find_resctrl_mount()
150 fclose(fp); in get_domain_id()
154 fclose(fp); in get_domain_id()
187 fclose(fp); in get_cache_size()
191 fclose(fp); in get_cache_size()
243 fclose(fp); in get_bit_mask()
247 fclose(fp); in get_bit_mask()
280 fclose(fp); in resource_info_unsigned_get()
284 fclose(fp); in resource_info_unsigned_get()
[all …]
Dresctrl_val.c146 fclose(fp); in read_from_imc_dir()
150 fclose(fp); in read_from_imc_dir()
165 fclose(fp); in read_from_imc_dir()
169 fclose(fp); in read_from_imc_dir()
183 fclose(fp); in read_from_imc_dir()
187 fclose(fp); in read_from_imc_dir()
544 fclose(fp); in print_results_bw()
548 fclose(fp); in print_results_bw()
604 fclose(mem_bw_fp); in measure_mem_bw()
613 fclose(mem_bw_fp); in measure_mem_bw()
[all …]
Dcache.c86 fclose(fp); in get_llc_occu_resctrl()
90 fclose(fp); in get_llc_occu_resctrl()
118 fclose(fp); in print_results_cache()
/linux-6.12.1/scripts/ipe/polgen/
Dpolgen.c50 fclose(fd); in policy_to_buffer()
57 fclose(fd); in policy_to_buffer()
82 fclose(fd); in write_boot_policy()
113 fclose(fd); in write_boot_policy()
119 fclose(fd); in write_boot_policy()
/linux-6.12.1/tools/testing/selftests/bpf/
Dtrace_helpers.c81 fclose(f); in load_kallsyms_local_common()
99 fclose(f); in load_kallsyms_local_common()
104 fclose(f); in load_kallsyms_local_common()
245 fclose(f); in kallsyms_find()
325 fclose(f); in get_uprobe_offset()
329 fclose(f); in get_uprobe_offset()
332 fclose(f); in get_uprobe_offset()
382 fclose(f); in get_rel_offset()
385 fclose(f); in get_rel_offset()
390 fclose(f); in get_rel_offset()
[all …]
/linux-6.12.1/tools/perf/util/
Dcputopo.c56 fclose(fp); in build_cpu_topology()
87 fclose(fp); in build_cpu_topology()
137 fclose(fp); in build_cpu_topology()
347 fclose(fp); in load_numa_node()
365 fclose(fp); in load_numa_node()
371 fclose(fp); in load_numa_node()
422 fclose(fp); in numa_topology__new()
453 fclose(fp); in load_hybrid_node()
461 fclose(fp); in load_hybrid_node()
/linux-6.12.1/tools/power/cpupower/bench/
Dmain.c83 fclose(config->output); in main()
115 fclose(config->output); in main()
150 fclose(config->output); in main()
183 fclose(config->output); in main()
/linux-6.12.1/tools/testing/selftests/timens/
Dprocfs.c87 fclose(proc); in read_proc_uptime()
108 fclose(proc); in read_proc_stat_btime()
113 fclose(proc); in read_proc_stat_btime()
117 fclose(proc); in read_proc_stat_btime()
/linux-6.12.1/tools/testing/selftests/mm/
Dmlock-random-test.c63 fclose(f); in get_proc_locked_vm_size()
67 fclose(f); in get_proc_locked_vm_size()
72 fclose(f); in get_proc_locked_vm_size()
111 fclose(smaps); in get_proc_page_size()
/linux-6.12.1/tools/bpf/bpftool/
Dtracelog.c88 fclose(fp); in get_tracefs_pipe()
114 fclose(trace_pipe_fd); in exit_tracelog()
163 fclose(trace_pipe_fd); in do_tracelog()
/linux-6.12.1/tools/power/acpi/tools/acpidump/
Dapfiles.c158 fclose(file); in ap_write_to_binary_file()
162 fclose(file); in ap_write_to_binary_file()
227 fclose(file); in ap_get_table_from_file()
/linux-6.12.1/tools/testing/selftests/acct/
Dacct_syscall.c45 fclose(fp); in main()
72 fclose(fp); in main()
/linux-6.12.1/arch/x86/boot/tools/
Dbuild.c158 fclose(file); in parse_zoffset()
201 fclose(file); in main()
240 if (fclose(dest)) in main()
/linux-6.12.1/drivers/gpu/drm/radeon/
Dmkregtable.c220 fclose(file); in parser_auth()
232 fclose(file); in parser_auth()
245 fclose(file); in parser_auth()
259 fclose(file); in parser_auth()
/linux-6.12.1/tools/testing/selftests/net/tcp_ao/lib/
Dutils.c40 fclose(f); in test_echo()
45 fclose(f); in test_echo()
/linux-6.12.1/tools/arch/x86/intel_sdsi/
Dintel_sdsi.c239 fclose(regs_ptr); in sdsi_update_registers()
248 fclose(regs_ptr); in sdsi_update_registers()
252 fclose(regs_ptr); in sdsi_update_registers()
379 fclose(cert_ptr); in sdsi_meter_cert_show()
382 fclose(cert_ptr); in sdsi_meter_cert_show()
462 fclose(cert_ptr); in sdsi_state_cert_show()
465 fclose(cert_ptr); in sdsi_state_cert_show()
663 fclose(fp); in read_sysfs_data()
667 fclose(fp); in read_sysfs_data()
/linux-6.12.1/tools/thermal/tmon/
Dtmon.c77 fclose(tmon_log); in tmon_cleanup()
147 fclose(tmon_log); in prepare_logging()
155 fclose(tmon_log); in prepare_logging()
162 fclose(tmon_log); in prepare_logging()
/linux-6.12.1/tools/wmi/
Ddell-smbios-example.c72 fclose(f); in find_token()
86 fclose(f); in find_token()
151 fclose(f); in query_buffer_size()
/linux-6.12.1/tools/perf/tests/
Dattr.c60 fclose(file); \
89 fclose(file); in store_event()
143 fclose(file); in store_event()
/linux-6.12.1/tools/hv/
Dhv_kvp_daemon.c177 if (ferror(filep) || fclose(filep)) { in kvp_update_file()
239 fclose(filep); in kvp_update_mem_state()
498 fclose(file); in kvp_get_os_info()
552 fclose(file); in kvp_get_os_info()
603 fclose(file); in kvp_get_if_name()
607 fclose(file); in kvp_get_if_name()
644 fclose(file); in kvp_if_name_to_mac()
985 fclose(file); in kvp_mac_to_ip()
1434 fclose(ifcfg_file); in kvp_set_ip_info()
1601 fclose(nmfile); in kvp_set_ip_info()
[all …]
/linux-6.12.1/tools/testing/selftests/kvm/lib/
Dtest_util.c161 fclose(f); in get_trans_hugepagesz()
185 fclose(f); in get_def_hugetlb_pagesz()
358 fclose(fp); in get_run_delay()
414 fclose(fp); in sys_get_cur_clocksource()
/linux-6.12.1/tools/perf/arch/arm64/util/
Dheader.c40 fclose(file); in _get_cpuid()
43 fclose(file); in _get_cpuid()
/linux-6.12.1/samples/bpf/
Dhbm.c231 fclose(fin); in run_bpf_prog()
250 fclose(fin); in run_bpf_prog()
318 fclose(fout); in run_bpf_prog()
401 fclose(fout); in run_bpf_prog()

12345678910