Home
last modified time | relevance | path

Searched refs:fopen (Results 76 – 100 of 353) sorted by relevance

12345678910>>...15

/openbmc/linux/tools/lib/api/fs/
H A Dcgroup.c35 fp = fopen("/proc/mounts", "r"); in cgroupfs_find_mountpoint()
/openbmc/u-boot/scripts/kconfig/
H A Dconfdata.c672 out = fopen(filename, "w"); in conf_write_defconfig()
775 out = fopen(tmpname, "w"); in conf_write()
778 out = fopen(newname, "w"); in conf_write()
966 out = fopen(".tmpconfig", "w"); in conf_write_autoconf()
970 tristate = fopen(".tmpconfig_tristate", "w"); in conf_write_autoconf()
976 out_h = fopen(".tmpconfig.h", "w"); in conf_write_autoconf()
/openbmc/linux/arch/x86/tools/
H A Drelocs_common.c67 fp = fopen(fname, "r"); in main()
/openbmc/linux/scripts/dtc/
H A Dfstree.c40 pfile = fopen(tmpname, "rb"); in read_fstree()
/openbmc/u-boot/scripts/dtc/
H A Dfstree.c55 pfile = fopen(tmpname, "rb"); in read_fstree()
/openbmc/openbmc/poky/meta/recipes-devtools/makedevs/makedevs/
H A Dmakedevs.c94 if ((fp = fopen(path, mode)) == NULL) in xfopen()
573 if ((passwd_file = fopen(passwd_path, "r")) != NULL) { in main()
577 if ((group_file = fopen(group_path, "r")) != NULL) { in main()
/openbmc/linux/drivers/zorro/
H A Dgen-devlist.c39 devf = fopen("devlist.h", "w"); in main()
/openbmc/u-boot/tools/
H A Dfile2include.c38 file = fopen(argv[1], "r"); in main()
/openbmc/linux/tools/perf/arch/riscv/util/
H A Dheader.c47 cpuinfo = fopen(CPUINFO, "r"); in _get_cpuid()
/openbmc/linux/tools/testing/selftests/clone3/
H A Dclone3_set_tid.c166 f = fopen("/proc/sys/kernel/pid_max", "r"); in main()
343 f = fopen(proc_path, "r"); in main()
/openbmc/qemu/hw/xen/
H A Dxen_pt_load_rom.c38 fp = fopen(rom_file, "r+"); in pci_assign_dev_load_option_rom()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Duprobe_autoattach.c38 devnull = fopen(devnull_str, "r"); in test_uprobe_autoattach()
H A Dget_branch_snapshot.c16 fp = fopen("/proc/cpuinfo", "r"); in is_hypervisor()
/openbmc/ipmitool/lib/
H A Dhelper.c533 fp = fopen(file, "w"); in ipmi_open_file()
550 fp = fopen(file, "r"); in ipmi_open_file()
573 fp = fopen(file, rw ? "w+" : "r"); in ipmi_open_file()
/openbmc/u-boot/tools/easylogo/
H A Deasylogo.c157 if ((file = fopen (filename, "rb")) == NULL) in image_load_tga()
318 FILE *file = fopen (filename, "w"); in image_save_header()
379 compfp = fopen(compfilename, "r"); in image_save_header()
/openbmc/linux/tools/thermal/tmon/
H A Dsysfs.c41 fd = fopen(filepath, "w"); in sysfs_set_ulong()
65 fd = fopen(filepath, "r"); in sysfs_get_ulong()
84 fd = fopen(filepath, "r"); in sysfs_get_string()
/openbmc/linux/arch/mips/tools/
H A Delf-entry.c45 file = fopen(argv[1], "r"); in main()
/openbmc/qemu/
H A Dqemu-edid.c60 outfile = fopen(optarg, "w"); in main()
/openbmc/phosphor-certificate-manager/
H A Dcsr.cpp58 FILE* fp = std::fopen(csrFilePath.c_str(), "r"); in csr()
/openbmc/linux/tools/testing/selftests/prctl/
H A Dset-anon-vma-name-test.c49 maps_file = fopen("/proc/self/maps", "r"); in was_renaming_successful()
/openbmc/linux/drivers/accessibility/speakup/
H A Dutils.h38 infile = fopen(filename, "r"); in open_input()
/openbmc/ipmi-fru-parser/
H A Dstrgfnhandler.cpp65 if ((fp = std::fopen(fruFilename, mode)) != NULL) in ipmiStorageWriteFruData()
/openbmc/linux/tools/arch/x86/intel_sdsi/
H A Dintel_sdsi.c229 regs_ptr = fopen("registers", "r"); in sdsi_update_registers()
365 cert_ptr = fopen("meter_certificate", "r"); in sdsi_meter_cert_show()
449 cert_ptr = fopen("state_certificate", "r"); in sdsi_state_cert_show()
653 fp = fopen(file, "r"); in read_sysfs_data()
/openbmc/linux/tools/testing/selftests/powerpc/signal/
H A Dsigreturn_vdso.c34 f = fopen("/proc/self/maps", "r"); in search_proc_maps()
/openbmc/linux/tools/testing/selftests/powerpc/benchmarks/
H A Dnull_syscall.c77 f = fopen("/proc/cpuinfo", "r"); in get_proc_frequency()

12345678910>>...15