| /linux/Documentation/netlink/specs/ |
| H A D | tcp_metrics.yaml | 54 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 D | iio_utils.c | 132 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(temp, "r"); in _write_sysfs_string() [all …]
|
| /linux/tools/testing/selftests/coredump/ |
| H A D | stackdump_test.c | 42 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 D | trace_helpers.c | 73 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() 632 f = fopen("/sys/kernel/tracing/available_filter_functions", "r"); in bpf_get_ksyms() 634 f = fopen("/sys/kernel/debug/tracing/available_filter_functions", "r"); in bpf_get_ksyms() 705 f = fopen("/sys/kernel/tracing/available_filter_functions_addrs", "r"); in bpf_get_addrs() 707 f = fopen("/sys/kernel/debug/tracing/available_filter_functions_addrs", "r"); in bpf_get_addrs()
|
| H A D | unpriv_helpers.c | 120 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 D | attr_test.c | 90 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/tools/testing/selftests/mm/ |
| H A D | vm_util.c | 183 fp = fopen(STATUS_FILE_PATH, "r"); in rss_anon() 210 fp = fopen(SMAP_FILE_PATH, "r"); in __get_smap_entry() 299 FILE *f = fopen("/proc/meminfo", "r"); in default_huge_page_size() 404 FILE *f = fopen("/proc/meminfo", "r"); in get_free_hugepages() 537 FILE *f = fopen(file_path, "w"); in write_sysfs() 541 perror("fopen"); in write_sysfs() 556 FILE *f = fopen(file_path, "r"); in read_sysfs() 560 perror("fopen"); in read_sysfs() 732 FILE *f = fopen("/proc/meminfo", "r"); in get_hardware_corrupted_size()
|
| H A D | mlock2.h | 30 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()
|
| /linux/tools/perf/util/ |
| H A D | cputopo.c | 51 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 D | lzma.c | 104 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 D | copyfile.c | 23 from_fp = fopen(from, "r"); in slow_copyfile() 28 to_fp = fopen(to, "w"); in slow_copyfile()
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_uprobe_autoattach.c | 91 SEC("uprobe/libc.so.6:fopen") 104 SEC("uretprobe/libc.so.6:fopen")
|
| /linux/drivers/net/wireless/rsi/ |
| H A D | rsi_91x_debugfs.c | 252 #define FOPS(fopen) { \ argument 254 .open = (fopen), \ 259 #define FOPS_RW(fopen, fwrite) { \ argument 261 .open = (fopen), \
|
| /linux/tools/wmi/ |
| H A D | dell-smbios-example.c | 66 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 D | hbm.c | 89 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 D | test_util.c | 165 f = fopen(path, "r"); in get_sysfs_val() 200 f = fopen("/proc/meminfo", "r"); in get_def_hugetlb_pagesz() 381 fp = fopen(path, "r"); in get_run_delay() 429 fp = fopen(CLOCKSOURCE_PATH, "r"); in sys_get_cur_clocksource()
|
| /linux/scripts/ipe/polgen/ |
| H A D | polgen.c | 26 fd = fopen(pathname, "r"); in policy_to_buffer() 67 fd = fopen(pathname, "w"); in write_boot_policy()
|
| /linux/tools/objtool/ |
| H A D | signal.c | 73 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 D | header.c | 28 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 D | sigreturn_vdso.c | 34 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 D | lib.c | 144 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 D | proc.c | 159 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/testing/selftests/arm64/mte/ |
| H A D | check_hugetlb_options.c | 30 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()
|
| /linux/tools/power/acpi/tools/acpidump/ |
| H A D | apfiles.c | 77 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/scripts/kconfig/ |
| H A D | confdata.c | 764 out = fopen(filename, "w"); in conf_write_defconfig() 833 out = fopen(name, "w"); in conf_write() 837 out = fopen(tmpname, "w"); in conf_write() 937 out = fopen(tmp, "w"); in conf_write_autoconf_cmd() 939 perror("fopen"); in conf_write_autoconf_cmd() 1052 file = fopen(tmp, "w"); in __conf_write_autoconf() 1054 perror("fopen"); in __conf_write_autoconf()
|