Home
last modified time | relevance | path

Searched refs:efile (Results 1 – 12 of 12) sorted by relevance

/openbmc/linux/tools/bpf/resolve_btfids/
H A Dmain.c129 } efile; member
354 obj->efile.fd = fd; in elf_collect()
355 obj->efile.elf = elf; in elf_collect()
364 if (gelf_getehdr(obj->efile.elf, &ehdr) == NULL) { in elf_collect()
369 obj->efile.encoding = ehdr.e_ident[EI_DATA]; in elf_collect()
405 obj->efile.symbols = data; in elf_collect()
406 obj->efile.symbols_shndx = idx; in elf_collect()
407 obj->efile.strtabidx = sh.sh_link; in elf_collect()
409 obj->efile.idlist = data; in elf_collect()
410 obj->efile.idlist_shndx = idx; in elf_collect()
[all …]
/openbmc/phosphor-bmc-code-mgmt/bmc/
H A Dversion.cpp61 std::ifstream efile; in getRepeatedValues() local
63 efile.exceptions(std::ifstream::failbit | std::ifstream::badbit); in getRepeatedValues()
68 efile.open(manifestFilePath); in getRepeatedValues()
69 while (getline(efile, line)) in getRepeatedValues()
82 efile.close(); in getRepeatedValues()
86 if (!efile.eof()) in getRepeatedValues()
133 std::ifstream efile(releaseFilePath); in getBMCMachine() local
136 while (getline(efile, line)) in getBMCMachine()
161 std::ifstream efile(releaseFilePath); in getBMCExtendedVersion() local
164 while (getline(efile, line)) in getBMCExtendedVersion()
[all …]
H A Ditem_updater.cpp935 std::ifstream efile(file.c_str()); in checkImage() local
936 if (efile.good() != 1) in checkImage()
/openbmc/openpower-pnor-code-mgmt/
H A Dversion.cpp65 std::ifstream efile; in getValue() local
67 efile.exceptions(std::ifstream::failbit | std::ifstream::badbit | in getValue()
72 efile.open(filePath); in getValue()
73 while (getline(efile, line)) in getValue()
86 efile.close(); in getValue()
90 if (!efile.eof()) in getValue()
94 efile.close(); in getValue()
/openbmc/openbmc/poky/meta/lib/oe/
H A Dreproducible.py167 cached, efile = d.getVar('__CACHED_SOURCE_DATE_EPOCH') or (None, None)
168 if cached and efile == epochfile:
171 if cached and epochfile != efile:
172 bb.debug(1, "Epoch file changed from %s to %s" % (efile, epochfile))
/openbmc/linux/tools/lib/bpf/
H A Dlibbpf.c655 struct elf_state efile; member
811 Elf_Data *symbols = obj->efile.symbols; in bpf_object__add_programs()
847 if (sec_idx != obj->efile.text_shndx && ELF64_ST_BIND(sym->st_info) == STB_LOCAL) { in bpf_object__add_programs()
1240 err = init_struct_ops_maps(obj, STRUCT_OPS_SEC, obj->efile.st_ops_shndx, in bpf_object_init_struct_ops()
1241 obj->efile.st_ops_data, 0); in bpf_object_init_struct_ops()
1243 obj->efile.st_ops_link_shndx, in bpf_object_init_struct_ops()
1244 obj->efile.st_ops_link_data, in bpf_object_init_struct_ops()
1274 obj->efile.fd = -1; in bpf_object__new()
1281 obj->efile.obj_buf = obj_buf; in bpf_object__new()
1282 obj->efile.obj_buf_sz = obj_buf_sz; in bpf_object__new()
[all …]
/openbmc/phosphor-psu-code-mgmt/src/
H A Dversion.cpp37 std::ifstream efile(filePath); in getValues() local
41 while (getline(efile, line)) in getValues()
/openbmc/openbmc/poky/meta/classes/
H A Dexternalsrc.bbclass174 with open(git_exclude_file, 'r+') as efile:
175 elines = efile.readlines()
179 efile.write('/' + link + '\n')
/openbmc/openbmc/poky/bitbake/lib/bb/fetch2/
H A D__init__.py1525 efile = os.path.join(rootdir, os.path.basename(base))
1527 efile = file
1541 cmd = 'gzip -dc %s > %s' % (file, efile)
1543 cmd = 'bzip2 -dc %s > %s' % (file, efile)
1547 cmd = 'xz -dc %s > %s' % (file, efile)
1551 cmd = 'lzip -dc %s > %s' % (file, efile)
1559 cmd = 'zstd --decompress --stdout %s > %s' % (file, efile)
/openbmc/linux/mm/
H A Dmemcontrol.c4870 struct fd efile; in memcg_write_event_control() local
4905 efile = fdget(efd); in memcg_write_event_control()
4906 if (!efile.file) { in memcg_write_event_control()
4911 event->eventfd = eventfd_ctx_fileget(efile.file); in memcg_write_event_control()
4985 vfs_poll(efile.file, &event->pt); in memcg_write_event_control()
4992 fdput(efile); in memcg_write_event_control()
5003 fdput(efile); in memcg_write_event_control()
/openbmc/openbmc/poky/bitbake/lib/ply/
H A Dyacc.py2887 efile = func_code(self.error_func).co_filename
2888 self.files[efile] = 1
2891 self.log.error("%s:%d: p_error() requires 1 argument",efile,eline)
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/
H A Dviews.py1980 with open("{}/{}".format(logs_dir, file)) as efile:
1981 content = efile.read()