Home
last modified time | relevance | path

Searched refs:dataoff (Results 1 – 25 of 27) sorted by relevance

12

/freebsd/lib/libkldelf/
H A Def_arm.c46 GElf_Addr relbase, GElf_Addr dataoff, size_t len, void *dest) in ef_arm_reloc() argument
57 where = (char *)dest + (relbase + rel->r_offset - dataoff); in ef_arm_reloc()
64 where = (char *)dest + (relbase + rela->r_offset - dataoff); in ef_arm_reloc()
H A Def_i386.c45 GElf_Addr relbase, GElf_Addr dataoff, size_t len, void *dest) in ef_i386_reloc() argument
56 where = (char *)dest + (relbase + rel->r_offset - dataoff); in ef_i386_reloc()
63 where = (char *)dest + (relbase + rela->r_offset - dataoff); in ef_i386_reloc()
H A Def_amd64.c45 GElf_Addr relbase, GElf_Addr dataoff, size_t len, void *dest) in ef_amd64_reloc() argument
56 where = (char *)dest + (relbase + rel->r_offset - dataoff); in ef_amd64_reloc()
63 where = (char *)dest + (relbase + rela->r_offset - dataoff); in ef_amd64_reloc()
H A Def_riscv.c48 GElf_Addr relbase, GElf_Addr dataoff, size_t len, void *dest) in ef_riscv_reloc() argument
58 where = (char *)dest + (relbase + rela->r_offset - dataoff); in ef_riscv_reloc()
H A Def_aarch64.c43 GElf_Addr relbase, GElf_Addr dataoff, size_t len, void *dest) in ef_aarch64_reloc() argument
53 where = (char *)dest + (relbase + rela->r_offset - dataoff); in ef_aarch64_reloc()
H A Def_powerpc.c45 GElf_Addr relbase, GElf_Addr dataoff, size_t len, void *dest) in ef_ppc_reloc() argument
55 where = (char *)dest + (relbase + rela->r_offset - dataoff); in ef_ppc_reloc()
H A Def_obj.c191 GElf_Addr secbase, dataoff; in ef_obj_seg_read_rel() local
200 dataoff = address - ef->progtab[i].addr; in ef_obj_seg_read_rel()
201 if (dataoff + len > ef->progtab[i].size) in ef_obj_seg_read_rel()
220 error = elf_read_raw_data(ef->ef_efile, secofs + dataoff, dest, in ef_obj_seg_read_rel()
H A Dkldelf.h77 Elf_Type reltype, GElf_Addr relbase, GElf_Addr dataoff, size_t len,
315 GElf_Addr relbase, GElf_Addr dataoff, size_t len, void *dest);
H A Delf.c684 GElf_Addr relbase, GElf_Addr dataoff, size_t len, void *dest) in elf_reloc() argument
686 return (efile->ef_reloc(efile, reldata, reltype, relbase, dataoff, len, in elf_reloc()
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/MachO/
H A DMachOLayoutBuilder.cpp342 MLC.linkedit_data_command_data.dataoff = StartOfCodeSignature; in layoutTail()
346 MLC.linkedit_data_command_data.dataoff = StartOfDylibCodeSignDRs; in layoutTail()
371 MLC.linkedit_data_command_data.dataoff = StartOfDataInCode; in layoutTail()
375 MLC.linkedit_data_command_data.dataoff = StartOfLinkerOptimizationHint; in layoutTail()
380 MLC.linkedit_data_command_data.dataoff = StartOfFunctionStarts; in layoutTail()
384 MLC.linkedit_data_command_data.dataoff = StartOfChainedFixups; in layoutTail()
388 MLC.linkedit_data_command_data.dataoff = StartOfDyldExportsTrie; in layoutTail()
H A DMachOWriter.cpp105 if (LinkEditDataCommand.dataoff) in totalSize()
106 Ends.push_back(LinkEditDataCommand.dataoff + in totalSize()
400 char *Out = (char *)Buf->getBufferStart() + LinkEditDataCommand.dataoff; in writeLinkData()
577 char *Out = (char *)Buf->getBufferStart() + ExportsTrieCmd.dataoff; in writeExportsTrieData()
646 if (LinkEditDataCommand.dataoff) in writeTail()
647 Queue.emplace_back(LinkEditDataCommand.dataoff, WriteHandler); in writeTail()
H A DMachOReader.cpp302 arrayRefFromStringRef(MachOObj.getData().substr(LC.dataoff, LC.datasize)); in readLinkData()
/freebsd/crypto/krb5/src/lib/krb5/asn.1/
H A Dasn1_encode.c677 return encode_atype(buf, (const char *)val + off->dataoff, in encode_atype()
690 const void *dataptr = (const char *)val + counted->dataoff; in encode_atype()
903 free_atype(off->basetype, (char *)val + off->dataoff); in free_atype()
913 void *dataptr = (char *)val + counted->dataoff; in free_atype()
964 free_atype_ptr(off->basetype, (char *)val + off->dataoff); in free_atype_ptr()
1168 (char *)val + off->dataoff); in decode_atype()
1176 void *dataptr = (char *)val + counted->dataoff; in decode_atype()
1382 return omit_atype(off->basetype, (char *)val + off->dataoff); in omit_atype()
H A Dasn1_encode.h160 unsigned int dataoff : 9; member
171 unsigned int dataoff : 9; member
/freebsd/usr.sbin/makefs/
H A Dzfs.c68 off_t dataoff; member
686 c->dataoff = 0; in dnode_cursor_init()
704 blkid = (c->dataoff / c->datablksz) / BLKPTR_PER_INDIR; in _dnode_cursor_flush()
765 c->dataoff = off; in dnode_cursor_next()
/freebsd/sys/x86/linux/
H A Dlinux_x86_sigframe.h108 u_int32_t dataoff; member
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DMachOEmitter.cpp529 WriteQueue.push_back(std::make_pair(FunctionStartsCmd->dataoff, in writeLinkEditData()
534 WriteQueue.push_back(std::make_pair(ChainedFixupsCmd->dataoff, in writeLinkEditData()
539 WriteQueue.push_back(std::make_pair(DyldExportsTrieCmd->dataoff, in writeLinkEditData()
544 WriteQueue.push_back(std::make_pair(DataInCodeCmd->dataoff, in writeLinkEditData()
H A DMachOYAML.cpp445 IO.mapRequired("dataoff", LoadCommand.dataoff); in mapping()
/freebsd/contrib/llvm-project/lld/MachO/
H A DWriter.cpp165 c->dataoff = functionStartsSection->fileOff; in writeTo()
184 c->dataoff = dataInCodeSection->fileOff; in writeTo()
600 c->dataoff = static_cast<uint32_t>(section->fileOff); in writeTo()
617 c->dataoff = section->fileOff; in writeTo()
634 c->dataoff = section->fileOff; in writeTo()
H A DInputFiles.cpp1109 return {reinterpret_cast<const data_in_code_entry *>(buf + c->dataoff), in getDataInCode()
1117 return {buf + cmd->dataoff, cmd->datasize}; in getOptimizationHints()
1776 parseExportedSymbols(exportsTrie->dataoff, exportsTrie->datasize); in DylibFile()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DMachOObjectFile.cpp621 if (LinkData.dataoff > FileSize) in checkLinkeditDataCommand()
625 uint64_t BigSize = LinkData.dataoff; in checkLinkeditDataCommand()
632 if (Error Err = checkOverlappingElement(Elements, LinkData.dataoff, in checkLinkeditDataCommand()
2906 DRI.p = reinterpret_cast<uintptr_t>(getPtr(*this, DicLC.dataoff)); in begin_dices()
2916 unsigned Offset = DicLC.dataoff + DicLC.datasize; in end_dices()
4888 Cmd.dataoff = 0; in getDataInCodeLoadCommand()
4903 Cmd.dataoff = 0; in getLinkOptHintsLoadCommand()
4992 if (!DyldChainedFixups.dataoff) in getChainedFixupsLoadCommand()
5007 uint64_t CFHeaderOffset = DyldChainedFixups.dataoff; in getChainedFixupsHeader()
5067 const char *Contents = getPtr(*this, DyldChainedFixups.dataoff); in getChainedFixupsSegments()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DMachODumper.cpp818 W.printNumber("Data offset", LLC.dataoff); in printMachODataInCode()
824 LLC.dataoff, i); in printMachODataInCode()
/freebsd/contrib/llvm-project/lldb/tools/compact-unwind/
H A Dcompact-unwind-dumper.c338 baton->mach_header_start + function_starts_cmd.dataoff; in scan_macho_load_commands()
353 baton->mach_header_start + function_starts_cmd.dataoff; in scan_macho_load_commands()
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DMachO.h804 uint32_t dataoff; member
1421 sys::swapByteOrder(C.dataoff); in swapStruct()
/freebsd/sys/kern/
H A Dvfs_vnops.c3500 off_t dataoff, holeoff, xfer2; in vn_write_outvp() local
3519 &dataoff, &holeoff, cred); in vn_write_outvp()

12