Home
last modified time | relevance | path

Searched full:fopen (Results 1 – 25 of 237) sorted by relevance

12345678910

/linux/Documentation/netlink/specs/
H A Dtcp_metrics.yaml54 name: fopen-mss
57 name: fopen-syn-drops
60 name: fopen-syn-drop-ts
63 name: fopen-cookie
153 - fopen-mss
154 - fopen-syn-drops
155 - fopen-syn-drop-ts
156 - fopen-cookie
/linux/tools/iio/
H A Diio_utils.c132 sysfsfp = fopen(filename, "r"); in iioutils_get_type()
257 sysfsfp = fopen(filename, "r"); in iioutils_get_param_float()
348 sysfsfp = fopen(filename, "r"); in build_channel_array()
395 sysfsfp = fopen(filename, "r"); in build_channel_array()
450 sysfsfp = fopen(filename, "r"); in build_channel_array()
613 namefp = fopen(filename, "r"); in find_type_by_name()
667 sysfsfp = fopen(temp, "w"); in _write_sysfs_int()
688 sysfsfp = fopen(temp, "r"); in _write_sysfs_int()
765 sysfsfp = fopen(temp, "w"); in _write_sysfs_string()
786 sysfsfp = fopen(tem in _write_sysfs_string()
[all...]
/linux/tools/testing/selftests/coredump/
H A Dstackdump_test.c42 file = fopen("/proc/sys/kernel/core_pattern", "r"); in FIXTURE_SETUP()
72 file = fopen("/proc/sys/kernel/core_pattern", "w"); in FIXTURE_TEARDOWN()
126 file = fopen("/proc/sys/kernel/core_pattern", "w");
149 file = fopen(STACKDUMP_FILE, "r");
/linux/tools/testing/selftests/bpf/
H A Dtrace_helpers.c73 f = fopen("/proc/kallsyms", "r"); in load_kallsyms_local_common()
219 f = fopen("/proc/kallsyms", "r"); in kallsyms_find()
311 f = fopen("/proc/self/maps", "r"); in get_uprobe_offset()
378 f = fopen("/proc/self/maps", "r"); in get_rel_offset()
488 fp = fopen(TRACEFS_PIPE, "r"); in read_trace_pipe_iter()
490 fp = fopen(DEBUGFS_PIPE, "r"); in read_trace_pipe_iter()
633 f = fopen("/sys/kernel/tracing/available_filter_functions", "r"); in bpf_get_ksyms()
635 f = fopen("/sys/kernel/debug/tracing/available_filter_functions", "r"); in bpf_get_ksyms()
706 f = fopen("/sys/kernel/tracing/available_filter_functions_addrs", "r"); in bpf_get_addrs()
708 f = fopen("/sy in bpf_get_addrs()
[all...]
H A Dunpriv_helpers.c120 fd = fopen("/proc/sys/" UNPRIV_SYSCTL, "r"); in get_unpriv_disabled()
125 perror("fopen /proc/sys/" UNPRIV_SYSCTL); in get_unpriv_disabled()
/linux/tools/testing/selftests/powerpc/papr_attributes/
H A Dattr_test.c90 f = fopen(file_name, "r"); in verify_energy_info()
95 f = fopen(file_name, "r"); in verify_energy_info()
101 f = fopen(file_name, "r"); in verify_energy_info()
/linux/include/linux/lockd/
H A Dbind.h24 * @fopen: open a file by NFS file handle on behalf of an NLM request.
25 * @fclose: close a file that was previously opened via @fopen.
30 int (*fopen)(struct svc_rqst *rqstp, struct nfs_fh *f, member
/linux/tools/perf/util/
H A Dcputopo.c51 fp = fopen(filename, "r"); in build_cpu_topology()
82 fp = fopen(filename, "r"); in build_cpu_topology()
114 fp = fopen(filename, "r"); in build_cpu_topology()
329 fp = fopen(str, "r"); in load_numa_node()
353 fp = fopen(str, "r"); in load_numa_node()
389 fp = fopen(path, "r"); in numa_topology__new()
H A Dlzma.c104 infile = fopen(input, "rb"); in lzma_decompress_to_file()
106 pr_debug("lzma: fopen failed on %s: '%m'\n", input); in lzma_decompress_to_file()
H A Dcopyfile.c23 from_fp = fopen(from, "r"); in slow_copyfile()
28 to_fp = fopen(to, "w"); in slow_copyfile()
/linux/tools/testing/selftests/mm/
H A Dmlock2.h30 file = fopen("/proc/self/smaps", "r"); in seek_to_smaps_entry()
32 ksft_exit_fail_msg("fopen smaps: %s\n", strerror(errno)); in seek_to_smaps_entry()
H A Dvm_util.c185 fp = fopen(STATUS_FILE_PATH, "r"); in rss_anon()
331 fp = fopen(SMAP_FILE_PATH, "r"); in __get_smap_entry()
657 FILE *f = fopen(file_path, "w"); in write_sysfs()
661 perror("fopen"); in write_sysfs()
676 FILE *f = fopen(file_path, "r"); in read_sysfs()
680 perror("fopen"); in read_sysfs()
852 FILE *f = fopen("/proc/meminfo", "r"); in get_hardware_corrupted_size()
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_uprobe_autoattach.c91 SEC("uprobe/libc.so.6:fopen")
104 SEC("uretprobe/libc.so.6:fopen")
/linux/drivers/net/wireless/rsi/
H A Drsi_91x_debugfs.c252 #define FOPS(fopen) { \ argument
254 .open = (fopen), \
259 #define FOPS_RW(fopen, fwrite) { \ argument
261 .open = (fopen), \
/linux/tools/wmi/
H A 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/samples/bpf/
H A Dhbm.c89 outf = fopen(outFname, "w"); in read_trace_pipe2()
228 fin = fopen("/sys/class/net/eth0/statistics/tx_bytes", "r"); in run_bpf_prog()
246 fin = fopen("/sys/class/net/eth0/statistics/tx_bytes", in run_bpf_prog()
315 fout = fopen(fname, "w"); in run_bpf_prog()
343 fout = fopen(fname, "w"); in run_bpf_prog()
/linux/tools/testing/selftests/kvm/lib/
H A Dtest_util.c198 f = fopen(path, "r"); in get_def_hugetlb_pagesz()
233 f = fopen("/proc/meminfo", "r"); in vm_mem_backing_src_alias()
414 fp = fopen(path, "r"); in strdup_printf()
462 fp = fopen(CLOCKSOURCE_PATH, "r");
/linux/scripts/ipe/polgen/
H A Dpolgen.c26 fd = fopen(pathname, "r"); in policy_to_buffer()
67 fd = fopen(pathname, "w"); in write_boot_policy()
/linux/tools/objtool/
H A Dsignal.c73 fp = fopen("/proc/self/maps", "r"); in read_stack_limit()
75 ERROR_GLIBC("fopen"); in read_stack_limit()
/linux/tools/perf/arch/arm64/util/
H A Dheader.c28 file = fopen(path, "r"); in _get_cpuid()
30 pr_debug("fopen failed for file %s\n", path); in _get_cpuid()
/linux/tools/testing/selftests/powerpc/signal/
H A Dsigreturn_vdso.c34 f = fopen("/proc/self/maps", "r"); in search_proc_maps()
36 perror("fopen"); in search_proc_maps()
/linux/tools/testing/selftests/powerpc/pmu/
H A Dlib.c144 f = fopen("/proc/self/maps", "r"); in parse_proc_maps()
146 perror("fopen"); in parse_proc_maps()
/linux/tools/testing/selftests/net/tcp_ao/lib/
H A Dproc.c159 fnetstat = fopen("/proc/thread-self/net/netstat", "r"); in netstat_read()
168 fnetstat = fopen("/proc/thread-self/net/snmp", "r"); in netstat_read()
177 fnetstat = fopen("/proc/thread-self/net/snmp6", "r"); in netstat_read()
/linux/tools/power/acpi/tools/acpidump/
H A 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/tools/testing/selftests/arm64/mte/
H A Dcheck_hugetlb_options.c30 FILE *f = fopen("/proc/meminfo", "r"); in default_huge_page_size()
51 FILE *f = fopen("/proc/meminfo", "r"); in is_hugetlb_allocated()
75 f = fopen(str, "w"); in write_sysfs()

12345678910