/openbmc/linux/tools/testing/selftests/resctrl/ |
H A D | resctrlfs.c | 20 mounts = fopen("/proc/mounts", "r"); in find_resctrl_mount() 115 fp = fopen(phys_pkg_path, "r"); in get_resource_id() 157 fp = fopen(cache_path, "r"); in get_cache_size() 214 fp = fopen(cbm_mask_path, "r"); in get_cbm_mask() 246 fp = fopen(core_siblings_path, "r"); in get_core_sibling() 348 fp = fopen(tasks, "w"); in write_pid_to_tasks() 476 fp = fopen(controlgroup, "w"); in write_schemata() 503 FILE *inf = fopen("/proc/filesystems", "r"); in check_resctrlfs_support() 588 inf = fopen(res_path, "r"); in validate_resctrl_feature_request()
|
/openbmc/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 …]
|
/openbmc/phosphor-state-manager/test/ |
H A D | systemd_parser.cpp | 43 std::FILE* tmpf = fopen("/tmp/good_file1.json", "w"); in TEST() 47 tmpf = fopen("/tmp/good_file2.json", "w"); in TEST() 87 std::FILE* tmpf = fopen("/tmp/invalid_error_file.json", "w"); in TEST() 102 std::FILE* tmpf = fopen("/tmp/invalid_json_file.json", "w"); in TEST()
|
/openbmc/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()
|
/openbmc/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()
|
/openbmc/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()
|
/openbmc/libcper/cli-app/ |
H A D | cper-convert.c | 86 FILE *cper_file = fopen(in_file, "r"); in cper_to_json() 114 FILE *json_file = fopen(out_file, "w"); in cper_to_json() 186 FILE *cper_file = fopen(out_file, "w"); in json_to_cper()
|
/openbmc/linux/arch/x86/boot/tools/ |
H A D | build.c | 152 file = fopen(fname, "r"); in parse_zoffset() 186 dest = fopen(argv[4], "w"); in main() 191 file = fopen(argv[1], "r"); in main()
|
/openbmc/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), \
|
/openbmc/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()
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | trace_helpers.c | 40 f = fopen("/proc/kallsyms", "r"); in load_kallsyms_refresh() 125 f = fopen("/proc/kallsyms", "r"); in kallsyms_find() 172 f = fopen("/proc/self/maps", "r"); in get_uprobe_offset() 229 f = fopen("/proc/self/maps", "r"); in get_rel_offset()
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | trace_vprintk.c | 32 fp = fopen(TRACEFS_PIPE, "r"); in serial_test_trace_vprintk() 34 fp = fopen(DEBUGFS_PIPE, "r"); in serial_test_trace_vprintk()
|
H A D | trace_printk.c | 39 fp = fopen(TRACEFS_PIPE, "r"); in serial_test_trace_printk() 41 fp = fopen(DEBUGFS_PIPE, "r"); in serial_test_trace_printk()
|
/openbmc/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()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/lvm2/files/ |
H A D | 0001-implement-libc-specific-reopen_stream.patch | 55 - !(stdin = fopen(_PATH_DEVNULL, "r"))) { 64 - !(stdout = fopen(_PATH_DEVNULL, "w"))) { 73 - !(stderr = fopen(_PATH_DEVNULL, "w"))) {
|
/openbmc/openpower-proc-control/procedures/phal/ |
H A D | reinit_devtree.cpp | 48 FILE_Ptr fpOverride(fopen(DEVTREE_ATTR_OVERRIDE_PATH, "r"), FileCloser()); in applyAttrOverride() 154 FILE_Ptr fpExport(fopen(tmpFile.getPath().c_str(), "w+"), in reinitDevtree() 187 FILE_Ptr fpImport(fopen(tmpFile.getPath().c_str(), "r"), FileCloser()); in reinitDevtree()
|
/openbmc/linux/tools/testing/selftests/mqueue/ |
H A D | mq_open_tests.c | 273 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()
|
/openbmc/linux/tools/bpf/bpftool/ |
H A D | tracelog.c | 76 fp = fopen("/proc/mounts", "r"); in get_tracefs_pipe() 139 trace_pipe_fd = fopen(trace_pipe, "r"); in do_tracelog()
|
/openbmc/linux/tools/testing/selftests/timens/ |
H A D | procfs.c | 73 proc = fopen("/proc/uptime", "r"); in read_proc_uptime() 99 proc = fopen("/proc/stat", "r"); in read_proc_stat_btime()
|
/openbmc/u-boot/tools/ |
H A D | pblimage.c | 114 fd = fopen(name, "r"); in pbl_parser() 200 fp_uboot = fopen(params->datafile, "r"); in pbl_load_uboot() 271 fp_uboot = fopen(params->datafile, "r"); in pblimage_check_params()
|
/openbmc/u-boot/scripts/dtc/ |
H A D | dtc.c | 151 f = fopen(fname, "r"); in guess_input_format() 282 depfile = fopen(depname, "w"); in main() 345 outf = fopen(outname, "wb"); in main()
|
/openbmc/linux/scripts/dtc/ |
H A D | dtc.c | 147 f = fopen(fname, "r"); in guess_input_format() 281 depfile = fopen(depname, "w"); in main() 346 outf = fopen(outname, "wb"); in main()
|
/openbmc/bmcweb/test/http/ |
H A D | http_response_test.cpp | 98 FILE* fd = fopen(temporaryFile.stringPath.c_str(), "r+"); in TEST() 109 FILE* fd = fopen(temporaryFile.stringPath.c_str(), "r"); in TEST() 152 FILE* f = fopen(temporaryFile.stringPath.c_str(), "r+"); in TEST()
|
/openbmc/qemu/target/i386/kvm/ |
H A D | vmsr_energy.c | 43 FILE *file = fopen(path, "r"); in is_rapl_enabled() 140 file = fopen(filePath, "r"); in vmsr_get_max_physical_package() 271 FILE *file = fopen(path, "r"); in vmsr_read_thread_stat()
|
/openbmc/linux/tools/testing/selftests/arm64/mte/ |
H A D | check_ksm_options.c | 31 f = fopen(str, "r"); in read_sysfs() 48 f = fopen(str, "w"); in write_sysfs()
|