Home
last modified time | relevance | path

Searched full:sec (Results 1 – 25 of 1735) sorted by relevance

12345678910>>...70

/freebsd-src/tools/tools/crypto/
H A DREADME18 0.129 sec, 2048 des crypts, 8 bytes, 127120 byte/sec, 1.0 Mb/sec
19 0.129 sec, 2048 des crypts, 16 bytes, 253915 byte/sec, 1.9 Mb/sec
20 0.129 sec, 2048 des crypts, 32 bytes, 508942 byte/sec, 3.9 Mb/sec
21 0.128 sec, 2048 des crypts, 64 bytes, 1020135 byte/sec, 7.8 Mb/sec
22 0.134 sec, 2048 des crypts, 128 bytes, 1954869 byte/sec, 14.9 Mb/sec
23 0.142 sec, 2048 des crypts, 256 bytes, 3698107 byte/sec, 28.2 Mb/sec
24 0.190 sec, 2048 des crypts, 1024 bytes, 11037700 byte/sec, 84.2 Mb/sec
25 0.264 sec, 2048 des crypts, 2048 bytes, 15891127 byte/sec, 121.2 Mb/sec
26 0.403 sec, 2048 des crypts, 4096 bytes, 20828998 byte/sec, 158.9 Mb/sec
27 0.687 sec, 2048 des crypts, 8192 bytes, 24426602 byte/sec, 186.4 Mb/sec
[all …]
/freebsd-src/sys/contrib/device-tree/src/powerpc/fsl/
H A Dqoriq-sec5.3-0.dtsi2 * QorIQ Sec/Crypto 5.3 device tree stub [ controller @ offset 0x300000 ]
36 compatible = "fsl,sec-v5.3", "fsl,sec-v5.0", "fsl,sec-v4.0";
37 fsl,sec-era = <4>;
45 compatible = "fsl,sec-v5.3-job-ring",
46 "fsl,sec-v5.0-job-ring",
47 "fsl,sec-v4.0-job-ring";
53 compatible = "fsl,sec-v5.3-job-ring",
54 "fsl,sec-v5.0-job-ring",
55 "fsl,sec-v4.0-job-ring";
61 compatible = "fsl,sec-v5.3-job-ring",
[all …]
H A Dqoriq-sec5.2-0.dtsi2 * QorIQ Sec/Crypto 5.2 device tree stub [ controller @ offset 0x300000 ]
36 compatible = "fsl,sec-v5.2", "fsl,sec-v5.0", "fsl,sec-v4.0";
37 fsl,sec-era = <5>;
45 compatible = "fsl,sec-v5.2-job-ring",
46 "fsl,sec-v5.0-job-ring",
47 "fsl,sec-v4.0-job-ring";
53 compatible = "fsl,sec-v5.2-job-ring",
54 "fsl,sec-v5.0-job-ring",
55 "fsl,sec-v4.0-job-ring";
61 compatible = "fsl,sec-v5.2-job-ring",
[all …]
H A Dqoriq-sec5.0-0.dtsi2 * QorIQ Sec/Crypto 5.0 device tree stub [ controller @ offset 0x300000 ]
36 compatible = "fsl,sec-v5.0", "fsl,sec-v4.0";
37 fsl,sec-era = <5>;
45 compatible = "fsl,sec-v5.0-job-ring",
46 "fsl,sec-v4.0-job-ring";
52 compatible = "fsl,sec-v5.0-job-ring",
53 "fsl,sec-v4.0-job-ring";
59 compatible = "fsl,sec-v5.0-job-ring",
60 "fsl,sec-v4.0-job-ring";
66 compatible = "fsl,sec-v5.0-job-ring",
[all …]
H A Dqoriq-sec4.2-0.dtsi2 * QorIQ Sec/Crypto 4.2 device tree stub [ controller @ offset 0x300000 ]
36 compatible = "fsl,sec-v4.2", "fsl,sec-v4.0";
37 fsl,sec-era = <3>;
45 compatible = "fsl,sec-v4.2-job-ring",
46 "fsl,sec-v4.0-job-ring";
52 compatible = "fsl,sec-v4.2-job-ring",
53 "fsl,sec-v4.0-job-ring";
59 compatible = "fsl,sec-v4.2-job-ring",
60 "fsl,sec-v4.0-job-ring";
66 compatible = "fsl,sec-v4.2-job-ring",
[all …]
H A Dqoriq-sec6.0-0.dtsi2 * QorIQ Sec/Crypto 6.0 device tree stub
35 compatible = "fsl,sec-v6.0", "fsl,sec-v5.0",
36 "fsl,sec-v4.0";
37 fsl,sec-era = <6>;
42 compatible = "fsl,sec-v6.0-job-ring",
43 "fsl,sec-v5.2-job-ring",
44 "fsl,sec-v5.0-job-ring",
45 "fsl,sec-v4.4-job-ring",
46 "fsl,sec-v4.0-job-ring";
51 compatible = "fsl,sec-v6.0-job-ring",
[all …]
/freebsd-src/sys/contrib/device-tree/Bindings/crypto/
H A Dfsl-sec2.txt1 Freescale SoC SEC Security Engines versions 1.x-2.x-3.x
6 SEC versions, high to low, e.g., "fsl,sec2.1", "fsl,sec2.0" (SEC2/3)
10 - interrupts : the SEC's interrupt number
17 should be encoded following the SEC's Descriptor Header Dword
21 bit 1 = set if SEC has the ARC4 EU (AFEU)
22 bit 2 = set if SEC has the DES/3DES EU (DEU)
23 bit 3 = set if SEC has the message digest EU (MDEU/MDEU-A)
24 bit 4 = set if SEC has the random number generator EU (RNG)
25 bit 5 = set if SEC has the public key EU (PKEU)
26 bit 6 = set if SEC has the AES EU (AESU)
[all …]
H A Dfsl-sec6.txt1 SEC 6 is as Freescale's Cryptographic Accelerator and Assurance Module (CAAM).
2 Currently Freescale powerpc chip C29X is embedded with SEC 6.
3 SEC 6 device tree binding include:
4 -SEC 6 Node
9 SEC 6 Node
13 Node defines the base address of the SEC 6 block.
15 configuration registers for the SEC 6 block.
16 For example, In C293, we could see three SEC 6 node.
23 Definition: Must include "fsl,sec-v6.0".
25 - fsl,sec-era
[all …]
H A Dfsl,sec-v4.0.yaml5 $id: http://devicetree.org/schemas/crypto/fsl,sec-v4.0.yaml#
8 title: Freescale SEC 4
16 NOTE: the SEC 4 is also known as Freescale's Cryptographic Accelerator
19 SEC 4 h/w can process requests from 2 types of sources.
20 1. DPAA Queue Interface (HW interface between Queue Manager & SEC 4).
21 2. Job Rings (HW interface between cores & SEC 4 registers).
25 HW interface between QM & SEC 4 and also BM & SEC 4, on DPAA-enabled parts
28 SEC version. E.g., the SEC 4.
[all...]
H A Dfsl-sec4.txt2 SEC 4 Device Tree Binding
7 -SEC 4 Node
15 NOTE: the SEC 4 is also known as Freescale's Cryptographic Accelerator
23 SEC 4 h/w can process requests from 2 types of sources.
24 1. DPAA Queue Interface (HW interface between Queue Manager & SEC 4).
25 2. Job Rings (HW interface between cores & SEC 4 registers).
29 HW interface between QM & SEC 4 and also BM & SEC 4, on DPAA-enabled parts
32 SEC version. E.g., the SEC 4.0 in the P4080 has 5 DECOs and can thus
42 SEC 4 Node
46 Node defines the base address of the SEC 4 block.
[all …]
H A Dfsl,sec-v4.0-mon.yaml5 $id: http://devicetree.org/schemas/crypto/fsl,sec-v4.0-mon.yaml#
24 - const: fsl,sec-v4.0-mon
28 - const: fsl,sec-v5.0-mon
29 - const: fsl,sec-v4.0-mon
32 - fsl,sec-v5.3-mon
33 - fsl,sec-v5.4-mon
34 - const: fsl,sec-v5.0-mon
35 - const: fsl,sec-v4.0-mon
51 const: fsl,sec-v4.0-mon-rtc-lp
88 const: fsl,sec-v4.0-pwrkey
[all …]
/freebsd-src/contrib/llvm-project/llvm/lib/ObjCopy/wasm/
H A DWasmObjcopy.cpp22 using SectionPred = std::function<bool(const Section &Sec)>;
24 static bool isDebugSection(const Section &Sec) { in isDebugSection() argument
25 return Sec.Name.starts_with(".debug"); in isDebugSection()
28 static bool isLinkerSection(const Section &Sec) { in isLinkerSection() argument
29 return Sec.Name.starts_with("reloc.") || Sec.Name == "linking"; in isLinkerSection()
32 static bool isNameSection(const Section &Sec) { return Sec.Name == "name"; } in isNameSection() argument
36 static bool isCommentSection(const Section &Sec) { in isCommentSection() argument
37 return Sec.Name == "producers"; in isCommentSection()
42 for (const Section &Sec : Obj.Sections) { in dumpSectionToFile() local
43 if (Sec.Name == SecName) { in dumpSectionToFile()
[all …]
/freebsd-src/contrib/llvm-project/llvm/lib/ObjCopy/ELF/
H A DELFObjcopy.cpp52 using SectionPred = std::function<bool(const SectionBase &Sec)>;
54 static bool isDebugSection(const SectionBase &Sec) { in isDebugSection() argument
55 return StringRef(Sec.Name).starts_with(".debug") || Sec.Name == ".gdb_index"; in isDebugSection()
58 static bool isDWOSection(const SectionBase &Sec) { in isDWOSection() argument
59 return StringRef(Sec.Name).ends_with(".dwo"); in isDWOSection()
62 static bool onlyKeepDWOPred(const Object &Obj, const SectionBase &Sec) { in onlyKeepDWOPred() argument
64 if (&Sec == Obj.SectionNames) in onlyKeepDWOPred()
68 return !isDWOSection(Sec); in onlyKeepDWOPred()
110 static void setSectionType(SectionBase &Sec, uint64_ argument
118 setSectionFlagsAndType(SectionBase & Sec,SectionFlag Flags,uint16_t EMachine) setSectionFlagsAndType() argument
193 for (auto &Sec : Obj.sections()) { dumpSectionToFile() local
215 isCompressable(const SectionBase & Sec) isCompressable() argument
227 for (auto &Sec : Obj.sections()) replaceDebugSections() local
391 __anon7bd64c5a0402(const SectionBase &Sec) replaceAndRemoveSections() argument
397 __anon7bd64c5a0502(const SectionBase &Sec) replaceAndRemoveSections() argument
402 __anon7bd64c5a0602(const SectionBase &Sec) replaceAndRemoveSections() argument
407 __anon7bd64c5a0702(const SectionBase &Sec) replaceAndRemoveSections() argument
425 __anon7bd64c5a0802(const SectionBase &Sec) replaceAndRemoveSections() argument
431 __anon7bd64c5a0902(const SectionBase &Sec) replaceAndRemoveSections() argument
437 __anon7bd64c5a0a02(const SectionBase &Sec) replaceAndRemoveSections() argument
446 __anon7bd64c5a0b02(const SectionBase &Sec) replaceAndRemoveSections() argument
465 __anon7bd64c5a0c02(const SectionBase &Sec) replaceAndRemoveSections() argument
476 __anon7bd64c5a0d02(const SectionBase &Sec) replaceAndRemoveSections() argument
498 __anon7bd64c5a0e02(const SectionBase &Sec) replaceAndRemoveSections() argument
514 __anon7bd64c5a0f02(const SectionBase &Sec) replaceAndRemoveSections() argument
549 SectionBase *Sec = Obj.findSection(SymInfo.SectionName); addSymbol() local
626 __anon7bd64c5a1302(const SectionBase &Sec) handleArgs() argument
657 for (auto &Sec : Obj.sections()) handleArgs() local
696 for (auto &Sec : Obj.sections()) { handleArgs() local
[all...]
H A DELFObject.cpp69 template <class ELFT> void ELFWriter<ELFT>::writeShdr(const SectionBase &Sec) { in writeShdr()
71 reinterpret_cast<uint8_t *>(Buf->getBufferStart()) + Sec.HeaderOffset; in writeShdr()
73 Shdr.sh_name = Sec.NameIndex; in writeShdr()
74 Shdr.sh_type = Sec.Type; in writeShdr()
75 Shdr.sh_flags = Sec.Flags; in writeShdr()
76 Shdr.sh_addr = Sec.Addr; in writeShdr()
77 Shdr.sh_offset = Sec.Offset; in writeShdr()
78 Shdr.sh_size = Sec.Size; in writeShdr()
79 Shdr.sh_link = Sec.Link; in writeShdr()
80 Shdr.sh_info = Sec in writeShdr()
67 writeShdr(const SectionBase & Sec) writeShdr() argument
101 visit(SymbolTableSection & Sec) visit() argument
110 visit(RelocationSection & Sec) visit() argument
123 visit(GroupSection & Sec) visit() argument
142 visit(const SectionIndexSection & Sec) visit() argument
148 visit(const SymbolTableSection & Sec) visit() argument
154 visit(const RelocationSection & Sec) visit() argument
160 visit(const GnuDebugLinkSection & Sec) visit() argument
165 visit(const GroupSection & Sec) visit() argument
170 visit(const Section & Sec) visit() argument
327 sectionPhysicalAddr(const SectionBase * Sec) sectionPhysicalAddr() argument
335 writeSection(const SectionBase * Sec,ArrayRef<uint8_t> Data) writeSection() argument
384 visit(const Section & Sec) visit() argument
389 visit(const OwnedDataSection & Sec) visit() argument
394 visit(const StringTableSection & Sec) visit() argument
404 visit(const DynamicRelocationSection & Sec) visit() argument
416 visit(const StringTableSection & Sec) visit() argument
439 visit(const OwnedDataSection & Sec) visit() argument
445 visit(const DecompressedSection & Sec) visit() argument
480 visit(const DecompressedSection & Sec) visit() argument
511 visit(const CompressedSection & Sec) visit() argument
518 visit(const CompressedSection & Sec) visit() argument
541 CompressedSection(const SectionBase & Sec,DebugCompressionType CompressionType,bool Is64Bits) CompressedSection() argument
583 visit(const StringTableSection & Sec) visit() argument
598 visit(const SectionIndexSection & Sec) visit() argument
606 Expected<SymbolTableSection *> Sec = initialize() local
771 Expected<StringTableSection *> Sec = initialize() local
845 visit(const SymbolTableSection & Sec) visit() argument
911 Expected<SymTabType *> Sec = SecTable.getSectionOfType<SymTabType>( initialize() local
924 Expected<SectionBase *> Sec = initialize() local
965 visit(const RelocationSection & Sec) visit() argument
1008 visit(const DynamicRelocationSection & Sec) visit() argument
1114 Expected<SectionBase *> Sec = initialize() local
1156 visit(const GnuDebugLinkSection & Sec) visit() argument
1175 visit(const GroupSection & Sec) visit() argument
1193 sectionWithinSegment(const SectionBase & Sec,const Segment & Seg) sectionWithinSegment() argument
1406 for (const SectionBase &Sec : Obj.sections()) { findEhdrOffset() local
1523 Expected<SectionBase *> Sec = SecTable.getSection( initGroupSection() local
1584 Expected<SectionBase *> Sec = Obj.sections().getSection( initSymbolTable() local
1601 Expected<SectionBase *> Sec = Obj.sections().getSection( initSymbolTable() local
1669 if (T *Sec = dyn_cast<T>(*BaseSec)) getSectionOfType() local
1767 Expected<SectionBase &> Sec = makeSection(Shdr); readSectionHeaders() local
1798 Expected<const Elf_Shdr *> Sec = ElfFile.getSection(0); readSections() local
1808 Expected<StringTableSection *> Sec = readSections() local
2094 SectionBase *Sec = it.first; writeSegmentData() local
2105 for (auto &Sec : Obj.removedSections()) { writeSegmentData() local
2123 __anon1cfe2d5b0502(const SecPtr &Sec) updateSection() argument
2156 __anon1cfe2d5b0602(const SecPtr &Sec) removeSections() argument
2190 __anon1cfe2d5b0702(const SectionBase *Sec) removeSections() argument
2217 for (auto &Sec : Sections) replaceSections() local
2222 __anon1cfe2d5b0902(const SectionBase &Sec) replaceSections() argument
2230 for (const SecPtr &Sec : Sections) removeSymbols() local
2318 for (auto &Sec : Sections) { layoutSections() local
2332 for (auto *Sec : OutOfSegmentSections) { layoutSections() local
2349 for (auto &Sec : Obj.sections()) { layoutSectionsForOnlyKeepDebug() local
2358 for (auto *Sec : Sections) { layoutSectionsForOnlyKeepDebug() local
2411 for (const SectionBase *Sec : Seg->Sections) { layoutSegmentsForOnlyKeepDebug() local
2517 __anon1cfe2d5b0c02(const SectionBase &Sec) removeUnneededSections() argument
2550 __anon1cfe2d5b0d02(const SectionBase &Sec) finalize() argument
2571 __anon1cfe2d5b0e02(const SectionBase &Sec) finalize() argument
2581 for (const SectionBase &Sec : Obj.sections()) finalize() local
2640 for (const SectionBase &Sec : Obj.allocSections()) { write() local
2656 const SectionBase &Sec = *SectionsToWrite[i]; write() local
2746 for (const SectionBase *Sec : Sections) write() local
2765 checkSection(const SectionBase & Sec) checkSection() argument
2782 for (const SectionBase &Sec : Obj.sections()) finalize() local
2797 for (const SectionBase *Sec : Sections) finalize() local
[all...]
H A DELFObject.h77 virtual Error visit(const Section &Sec) = 0;
78 virtual Error visit(const OwnedDataSection &Sec) = 0;
79 virtual Error visit(const StringTableSection &Sec) = 0;
80 virtual Error visit(const SymbolTableSection &Sec) = 0;
81 virtual Error visit(const RelocationSection &Sec) = 0;
82 virtual Error visit(const DynamicRelocationSection &Sec) = 0;
83 virtual Error visit(const GnuDebugLinkSection &Sec) = 0;
84 virtual Error visit(const GroupSection &Sec) = 0;
85 virtual Error visit(const SectionIndexSection &Sec) = 0;
86 virtual Error visit(const CompressedSection &Sec)
480 removeSection(const SectionBase * Sec) removeSection() argument
481 addSection(const SectionBase * Sec) addSection() argument
575 DecompressedSection(const CompressedSection & Sec) DecompressedSection() argument
763 setSection(SectionBase * Sec) setSection() argument
836 addMember(SectionBase * Sec) addMember() argument
1039 sectionIsAlloc(const SectionBase & Sec) sectionIsAlloc() argument
1100 auto Sec = std::make_unique<T>(std::forward<Ts>(Args)...); addSection() local
[all...]
/freebsd-src/contrib/llvm-project/lld/ELF/
H A DMarkLive.cpp53 void enqueue(InputSectionBase *sec, uint64_t offset);
58 void resolveReloc(InputSectionBase &sec, RelTy &rel, bool fromFDE);
76 static uint64_t getAddend(InputSectionBase &sec, in getAddend() argument
78 return target->getImplicitAddend(sec.content().begin() + rel.r_offset, in getAddend()
83 static uint64_t getAddend(InputSectionBase &sec, in getAddend() argument
90 static uint64_t getAddend(InputSectionBase &sec, in resolveReloc() argument
97 void MarkLive<ELFT>::resolveReloc(InputSectionBase &sec, RelTy &rel, in resolveReloc()
100 Symbol &sym = sec.file->getRelocTargetSym(rel); in resolveReloc()
110 offset += getAddend<ELFT>(sec, rel); in resolveReloc()
130 for (InputSectionBase *sec
163 isReserved(InputSectionBase * sec) isReserved() argument
183 enqueue(InputSectionBase * sec,uint64_t offset) enqueue() argument
308 InputSectionBase &sec = *queue.pop_back_val(); mark() local
[all...]
H A DLinkerScript.cpp120 if (sec) in getValue()
121 return alignToPowerOf2(sec->getOutputSection()->addr + sec->getOffset(val), in getValue()
127 return sec ? sec->getOutputSection()->addr + sec->getOffset(0) : 0;
137 OutputDesc *sec; in createOutputSection()
140 sec = secRef; in createOutputSection()
142 sec = make<OutputDesc>(name, SHT_PROGBITS, 0); in createOutputSection()
144 secRef = sec; in createOutputSection()
135 OutputDesc *sec; createOutputSection() local
220 SectionBase *sec = value.isAbsolute() ? nullptr : value.sec; addSymbol() local
360 const OutputSection &sec = cast<OutputDesc>(cmd)->osec; declareSymbols() local
434 __anon7dcf305d0302(InputSectionBase *sec) matchConstraints() argument
518 InputSectionBase *sec = sections[i]; computeInputSections() local
745 auto *sec = cast<InputSection>(isec); addInputSec() local
841 } else if (OutputSection *sec = findByName(sectionCommands, name)) { addOrphanSections() local
868 if (auto *sec = dyn_cast<InputSection>(isec)) addOrphanSections() local
895 for (const InputSectionBase *sec : orphanSections) { diagnoseOrphanHandling() local
918 OutputSection *sec = findByName(sectionCommands, ".gnu.sgstubs"); diagnoseMissingSGSectionAddress() local
929 findMemoryRegion(OutputSection * sec,MemoryRegion * hint) findMemoryRegion() argument
983 assignOffsets(OutputSection * sec) assignOffsets() argument
1108 isDiscardable(const OutputSection & sec) isDiscardable() argument
1142 maybePropagatePhdrs(OutputSection & sec,SmallVector<StringRef,0> & phdrs) maybePropagatePhdrs() argument
1184 auto *sec = &cast<OutputDesc>(cmd)->osec; adjustOutputSections() local
1245 OutputSection *sec = &osd->osec; adjustSectionsAfterSorting() local
1514 for (const OutputSection *sec : outputSections) { checkFinalScriptConditions() local
[all...]
H A DDWARF.cpp32 for (auto [i, sec] : llvm::enumerate(obj->getSections())) { in LLDDwarfObj()
33 if (!sec) in LLDDwarfObj()
37 StringSwitch<LLDDWARFSection *>(sec->name) in LLDDwarfObj()
48 m->Data = toStringRef(sec->contentMaybeDecompress()); in LLDDwarfObj()
49 m->sec = sec; in LLDDwarfObj()
53 if (sec->name == ".debug_abbrev") in LLDDwarfObj()
54 abbrevSection = toStringRef(sec->contentMaybeDecompress()); in LLDDwarfObj()
55 else if (sec->name == ".debug_str") in LLDDwarfObj()
56 strSection = toStringRef(sec in LLDDwarfObj()
105 findAux(const InputSectionBase & sec,uint64_t pos,ArrayRef<RelTy> rels) const findAux() argument
137 auto &sec = static_cast<const LLDDWARFSection &>(s); find() local
[all...]
/freebsd-src/contrib/llvm-project/llvm/include/llvm/Object/
H A DELFObjectFile.h79 virtual uint32_t getSectionType(DataRefImpl Sec) const = 0;
80 virtual uint64_t getSectionFlags(DataRefImpl Sec) const = 0;
81 virtual uint64_t getSectionOffset(DataRefImpl Sec) const = 0;
127 StringRef getCrelDecodeProblem(SectionRef Sec) const; in ELFSectionRef()
274 SectionRef toSectionRef(const Elf_Shdr *Sec) const {
275 return SectionRef(toDRI(Sec), this);
319 void moveSectionNext(DataRefImpl &Sec) const override;
320 Expected<StringRef> getSectionName(DataRefImpl Sec) const override;
321 uint64_t getSectionAddress(DataRefImpl Sec) const override;
322 uint64_t getSectionIndex(DataRefImpl Sec) cons
359 toELFShdrIter(DataRefImpl Sec) toELFShdrIter() argument
363 toDRI(const Elf_Shdr * Sec) toDRI() argument
438 getSection(DataRefImpl Sec) getSection() argument
549 getSectionFlags(DataRefImpl Sec) getSectionFlags() argument
554 getSectionType(DataRefImpl Sec) getSectionType() argument
559 getSectionOffset(DataRefImpl Sec) getSectionOffset() argument
833 DataRefImpl Sec; getSymbolSection() local
852 moveSectionNext(DataRefImpl & Sec) moveSectionNext() argument
858 getSectionName(DataRefImpl Sec) getSectionName() argument
863 getSectionAddress(DataRefImpl Sec) getSectionAddress() argument
868 getSectionIndex(DataRefImpl Sec) getSectionIndex() argument
879 getSectionSize(DataRefImpl Sec) getSectionSize() argument
885 getSectionContents(DataRefImpl Sec) getSectionContents() argument
897 getSectionAlignment(DataRefImpl Sec) getSectionAlignment() argument
902 isSectionCompressed(DataRefImpl Sec) isSectionCompressed() argument
907 isSectionText(DataRefImpl Sec) isSectionText() argument
912 isSectionData(DataRefImpl Sec) isSectionData() argument
920 isSectionBSS(DataRefImpl Sec) isSectionBSS() argument
956 isSectionVirtual(DataRefImpl Sec) isSectionVirtual() argument
961 isBerkeleyText(DataRefImpl Sec) isBerkeleyText() argument
968 isBerkeleyData(DataRefImpl Sec) isBerkeleyData() argument
975 isDebugSection(DataRefImpl Sec) isDebugSection() argument
989 section_rel_begin(DataRefImpl Sec) section_rel_begin() argument
1002 section_rel_end(DataRefImpl Sec) section_rel_end() argument
1022 getRelocatedSection(DataRefImpl Sec) getRelocatedSection() argument
1044 const Elf_Shdr *sec = getRelSection(Rel); getRelocationSymbol() local
1061 const Elf_Shdr *sec = getRelSection(Rel); getRelocationOffset() local
1070 const Elf_Shdr *sec = getRelSection(Rel); getRelocationType() local
[all...]
H A DGOFFObjectFile.h72 bool isSectionNoLoad(DataRefImpl Sec) const;
73 bool isSectionReadOnlyData(DataRefImpl Sec) const;
74 bool isSectionZeroInit(DataRefImpl Sec) const;
92 void moveSectionNext(DataRefImpl &Sec) const override; in getSectionContents()
93 virtual Expected<StringRef> getSectionName(DataRefImpl Sec) const override; in getSectionContents()
94 uint64_t getSectionAddress(DataRefImpl Sec) const override; in getSectionIndex() argument
95 uint64_t getSectionSize(DataRefImpl Sec) const override; in getSectionAlignment() argument
97 getSectionContents(DataRefImpl Sec) const override; in isSectionText() argument
98 uint64_t getSectionIndex(DataRefImpl Sec) const override { return Sec in isSectionText() argument
84 moveSectionNext(DataRefImpl & Sec) moveSectionNext() argument
85 getSectionName(DataRefImpl Sec) getSectionName() argument
88 getSectionAddress(DataRefImpl Sec) getSectionAddress() argument
89 getSectionSize(DataRefImpl Sec) getSectionSize() argument
91 getSectionContents(DataRefImpl Sec) getSectionContents() argument
96 isSectionCompressed(DataRefImpl Sec) isSectionCompressed() argument
99 isSectionBSS(DataRefImpl Sec) isSectionBSS() argument
100 isSectionVirtual(DataRefImpl Sec) isSectionVirtual() argument
101 section_rel_begin(DataRefImpl Sec) section_rel_begin() argument
104 section_rel_end(DataRefImpl Sec) section_rel_end() argument
[all...]
H A DELF.h131 const typename ELFT::Shdr &Sec) { in getSecIndexForError()
134 return "[index " + std::to_string(&Sec - &TableOrErr->front()) + "]"; in getSecIndexForError()
145 const typename ELFT::Shdr &Sec) { in describe()
146 unsigned SecNdx = &Sec - &cantFail(Obj.sections()).front(); in describe()
148 Sec.sh_type) + in describe()
170 const typename ELFT::Shdr &Sec) { in checkSectionOffsets()
172 if (Sec.sh_type == ELF::SHT_NOBITS) in checkSectionOffsets()
175 if (Sec.sh_offset < Phdr.p_offset) in checkSectionOffsets()
179 if (Sec.sh_size == 0) in checkSectionOffsets()
180 return (Sec in checkSectionOffsets()
129 getSecIndexForError(const ELFFile<ELFT> & Obj,const typename ELFT::Shdr & Sec) getSecIndexForError() argument
143 describe(const ELFFile<ELFT> & Obj,const typename ELFT::Shdr & Sec) describe() argument
168 checkSectionOffsets(const typename ELFT::Phdr & Phdr,const typename ELFT::Shdr & Sec) checkSectionOffsets() argument
186 checkSectionVMA(const typename ELFT::Phdr & Phdr,const typename ELFT::Shdr & Sec) checkSectionVMA() argument
205 isSectionInSegment(const typename ELFT::Phdr & Phdr,const typename ELFT::Shdr & Sec) isSectionInSegment() argument
304 symbols(const Elf_Shdr * Sec) symbols() argument
310 relas(const Elf_Shdr & Sec) relas() argument
314 rels(const Elf_Shdr & Sec) rels() argument
318 relrs(const Elf_Shdr & Sec) relrs() argument
551 getSymbol(const Elf_Shdr * Sec,uint32_t Index) getSymbol() argument
567 getSectionContentsAsArray(const Elf_Shdr & Sec) getSectionContentsAsArray() argument
623 getSectionContents(const Elf_Shdr & Sec) getSectionContents() argument
985 getVersionDefinitions(const Elf_Shdr & Sec) getVersionDefinitions() argument
1072 getVersionDependencies(const Elf_Shdr & Sec,WarningHandler WarnHandler) getVersionDependencies() argument
1233 getStringTableForSymtab(const Elf_Shdr & Sec) getStringTableForSymtab() argument
1242 getStringTableForSymtab(const Elf_Shdr & Sec,Elf_Shdr_Range Sections) getStringTableForSymtab() argument
1257 getLinkAsStrtab(const typename ELFT::Shdr & Sec) getLinkAsStrtab() argument
[all...]
/freebsd-src/sys/contrib/dev/rtw88/
H A Dsec.c6 #include "sec.h"
9 int rtw_sec_get_free_cam(struct rtw_sec_desc *sec) in rtw_sec_get_free_cam() argument
15 if (sec->default_key_search) in rtw_sec_get_free_cam()
16 return find_next_zero_bit(sec->cam_map, RTW_MAX_SEC_CAM_NUM, in rtw_sec_get_free_cam()
19 return find_first_zero_bit(sec->cam_map, RTW_MAX_SEC_CAM_NUM); in rtw_sec_get_free_cam()
23 struct rtw_sec_desc *sec, in rtw_sec_write_cam() argument
28 struct rtw_cam_entry *cam = &sec->cam_table[hw_key_idx]; in rtw_sec_write_cam()
35 set_bit(hw_key_idx, sec->cam_map); in rtw_sec_write_cam()
83 struct rtw_sec_desc *sec, in rtw_sec_clear_cam() argument
86 struct rtw_cam_entry *cam = &sec->cam_table[hw_key_idx]; in rtw_sec_clear_cam()
[all …]
/freebsd-src/contrib/llvm-project/llvm/lib/ObjCopy/COFF/
H A DCOFFObjcopy.cpp31 static bool isDebugSection(const Section &Sec) { in isDebugSection() argument
32 return Sec.Name.starts_with(".debug"); in isDebugSection()
66 Section Sec; in addSection() local
67 Sec.setOwnedContents(Contents); in addSection()
68 Sec.Name = Name; in addSection()
69 Sec.Header.VirtualSize = NeedVA ? Sec.getContents().size() : 0u; in addSection()
70 Sec.Header.VirtualAddress = NeedVA ? getNextRVA(Obj) : 0u; in addSection()
71 Sec.Header.SizeOfRawData = in addSection()
72 NeedVA ? alignTo(Sec.Header.VirtualSize, in addSection()
74 : Sec.getContents().size(); in addSection()
[all …]
/freebsd-src/contrib/llvm-project/llvm/lib/ObjCopy/MachO/
H A DMachOReader.cpp32 static Section constructSectionCommon(const SectionType &Sec, uint32_t Index) { in constructSectionCommon() argument
33 StringRef SegName(Sec.segname, strnlen(Sec.segname, sizeof(Sec.segname))); in constructSectionCommon()
34 StringRef SectName(Sec.sectname, strnlen(Sec.sectname, sizeof(Sec.sectname))); in constructSectionCommon()
37 S.Addr = Sec.addr; in constructSectionCommon()
38 S.Size = Sec.size; in constructSectionCommon()
39 S.OriginalOffset = Sec.offset; in constructSectionCommon()
40 S.Align = Sec.align; in constructSectionCommon()
41 S.RelOff = Sec.reloff; in constructSectionCommon()
42 S.NReloc = Sec.nreloc; in constructSectionCommon()
43 S.Flags = Sec.flags; in constructSectionCommon()
[all …]
/freebsd-src/contrib/wpa/hostapd/
H A Dsae_pk_gen.c26 int sec, j; in main() local
44 "usage: sae_pk_gen <DER ECPrivateKey file> <Sec:3|5> <SSID>\n"); in main()
48 sec = atoi(argv[2]); in main()
49 if (sec != 3 && sec != 5) { in main()
51 "Invalid Sec value (allowed values: 3 and 5)\n"); in main()
54 sec_1b = sec == 3; in main()
56 for (j = 0; j < sec; j++) in main()
118 for (j = 2; j < sec; j++) { in main()
122 if (j == sec) in main()
145 /* Skip 8*Sec bits and add Sec_1b as the every 20th bit starting with in main()
[all …]

12345678910>>...70