Home
last modified time | relevance | path

Searched refs:sec (Results 1 – 25 of 959) sorted by relevance

12345678910>>...39

/freebsd/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/contrib/llvm-project/lld/ELF/
H A DMarkLive.cpp65 void enqueue(InputSectionBase *sec, uint64_t offset, Symbol *sym,
71 void resolveReloc(InputSectionBase &sec, RelTy &rel, bool fromFDE);
96 static uint64_t getAddend(Ctx &ctx, InputSectionBase &sec, in getAddend() argument
98 return ctx.target->getImplicitAddend(sec.content().begin() + rel.r_offset, in getAddend()
103 static uint64_t getAddend(Ctx &, InputSectionBase &sec, in getAddend() argument
110 static uint64_t getAddend(Ctx &, InputSectionBase &sec, in getAddend() argument
117 void MarkLive<ELFT, TrackWhyLive>::resolveReloc(InputSectionBase &sec, in resolveReloc() argument
120 Symbol &sym = sec.file->getRelocTargetSym(rel); in resolveReloc()
125 reason = {SecOffset(&sec, rel.r_offset), "referenced by"}; in resolveReloc()
134 offset += getAddend<ELFT>(ctx, sec, rel); in resolveReloc()
[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; in getSecAddr()
141 OutputDesc *sec; in createOutputSection() local
144 sec = secRef; in createOutputSection()
148 sec = descPool.back().get(); in createOutputSection()
150 secRef = sec; in createOutputSection()
152 sec->osec.location = std::string(location); in createOutputSection()
153 return sec; in createOutputSection()
234 SectionBase *sec = value.isAbsolute() ? nullptr : value.sec; in addSymbol() local
[all …]
H A DDWARF.cpp29 for (auto [i, sec] : llvm::enumerate(obj->getSections())) { in LLDDwarfObj()
30 if (!sec) in LLDDwarfObj()
34 StringSwitch<LLDDWARFSection *>(sec->name) in LLDDwarfObj()
45 m->Data = toStringRef(sec->contentMaybeDecompress()); in LLDDwarfObj()
46 m->sec = sec; in LLDDwarfObj()
50 if (sec->name == ".debug_abbrev") in LLDDwarfObj()
51 abbrevSection = toStringRef(sec->contentMaybeDecompress()); in LLDDwarfObj()
52 else if (sec->name == ".debug_str") in LLDDwarfObj()
53 strSection = toStringRef(sec->contentMaybeDecompress()); in LLDDwarfObj()
54 else if (sec->name == ".debug_line_str") in LLDDwarfObj()
[all …]
H A DWriter.cpp119 for (OutputSection *sec : ctx.outputSections) in removeEmptyPTLoad()
120 if (removed.count(sec->ptLoad)) in removeEmptyPTLoad()
121 sec->ptLoad = nullptr; in removeEmptyPTLoad()
148 static Defined *addOptionalRegular(Ctx &ctx, StringRef name, SectionBase *sec, in addOptionalRegular() argument
157 /*size=*/0, sec}); in addOptionalRegular()
265 for (auto [i, sec] : llvm::enumerate(sym.file->getSections())) in demoteDefined()
266 map.try_emplace(sec, i); in demoteDefined()
329 for (OutputSection *sec : ctx.outputSections) in run()
330 sec->maybeCompress<ELFT>(ctx); in run()
476 SectionBase *sec = d->section; in includeInSymtab() local
[all …]
H A DBPSectionOrderer.cpp31 static uint64_t getSize(const Section &sec) { return sec.getSize(); } in getSize()
32 static bool isCodeSection(const Section &sec) { in isCodeSection()
33 return sec.flags & ELF::SHF_EXECINSTR; in isCodeSection()
35 ArrayRef<Defined *> getSymbols(const Section &sec) { in getSymbols()
36 auto it = secToSym.find(&sec); in getSymbols()
43 getSectionHashes(const Section &sec, SmallVectorImpl<uint64_t> &hashes, in getSectionHashes()
48 ArrayRef<uint8_t> data = sec.content(); in getSectionHashes()
78 auto *sec = dyn_cast_or_null<InputSection>(d->section); in runBalancedPartitioning() local
81 if (!sec || sec->size == 0 || !sec->isLive() || sec->repl != sec || in runBalancedPartitioning()
82 !orderer.secToSym.try_emplace(sec, d).second) in runBalancedPartitioning()
[all …]
H A DInputFiles.cpp476 for (const Elf_Shdr &sec : sections) in findSection() local
477 if (sec.sh_type == type) in findSection()
478 return &sec; in findSection()
557 const Elf_Shdr &sec = objSections[i]; in parse() local
558 if (LLVM_LIKELY(sec.sh_type == SHT_PROGBITS)) in parse()
560 if (LLVM_LIKELY(sec.sh_type == SHT_GROUP)) { in parse()
561 StringRef signature = getShtGroupSignature(objSections, sec); in parse()
563 CHECK2(obj.template getSectionContentsAsArray<Elf_Word>(sec), this); in parse()
578 i, sec, check(obj.getSectionName(sec, shstrtab))); in parse()
591 if (sec.sh_type == SHT_LLVM_DEPENDENT_LIBRARIES && !ctx.arg.relocatable) { in parse()
[all …]
/freebsd/sys/contrib/device-tree/src/powerpc/fsl/
H A Dqoriq-sec5.2-0.dtsi36 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",
62 "fsl,sec-v5.0-job-ring",
[all …]
H A Dqoriq-sec5.3-0.dtsi36 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",
62 "fsl,sec-v5.0-job-ring",
[all …]
H A Dqoriq-sec4.2-0.dtsi36 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",
67 "fsl,sec-v4.0-job-ring";
[all …]
H A Dqoriq-sec5.0-0.dtsi36 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",
67 "fsl,sec-v4.0-job-ring";
[all …]
H A Dqoriq-sec6.0-0.dtsi35 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",
52 "fsl,sec-v5.2-job-ring",
[all …]
/freebsd/crypto/krb5/src/lib/krb5/os/
H A Dc_ustime.c33 krb5_timestamp sec; member
51 n->sec = timeptr.time; in get_time_now()
69 n->sec = tv.tv_sec; in get_time_now()
86 *seconds = now.sec; in k5_us_timeofday()
99 now.sec = now.usec = 0; in krb5_crypto_us_timeofday()
123 if (now.sec == ts_incr(last_time.sec, -1) || in krb5_crypto_us_timeofday()
124 (now.sec == last_time.sec && now.usec <= last_time.usec)) { in krb5_crypto_us_timeofday()
130 now.sec = last_time.sec; in krb5_crypto_us_timeofday()
133 now.sec = ts_incr(now.sec, 1); in krb5_crypto_us_timeofday()
137 last_time.sec = now.sec; /* Remember for next time */ in krb5_crypto_us_timeofday()
[all …]
H A Dustime.c43 krb5_timestamp sec; in k5_time_with_offset() local
47 retval = krb5_crypto_us_timeofday(&sec, &usec); in k5_time_with_offset()
53 sec = ts_incr(sec, 1); in k5_time_with_offset()
57 sec = ts_incr(sec, -1); in k5_time_with_offset()
59 sec = ts_incr(sec, offset); in k5_time_with_offset()
61 *time_out = sec; in k5_time_with_offset()
/freebsd/sys/contrib/dev/rtw88/
H A Dsec.c9 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()
91 clear_bit(hw_key_idx, sec->cam_map); in rtw_sec_clear_cam()
[all …]
/freebsd/contrib/wpa/src/utils/
H A Dos.h19 void os_sleep(os_time_t sec, os_time_t usec);
22 os_time_t sec; member
27 os_time_t sec; member
50 return (a->sec < b->sec) || in os_time_before()
51 (a->sec == b->sec && a->usec < b->usec); in os_time_before()
58 res->sec = a->sec - b->sec; in os_time_sub()
61 res->sec--; in os_time_sub()
72 return (a->sec < b->sec) || in os_reltime_before()
73 (a->sec == b->sec && a->usec < b->usec); in os_reltime_before()
80 res->sec = a->sec - b->sec; in os_reltime_sub()
[all …]
/freebsd/contrib/llvm-project/lld/ELF/Arch/
H A DRISCV.cpp46 void relocateAlloc(InputSectionBase &sec, uint8_t *buf) const override;
592 void RISCV::relocateAlloc(InputSectionBase &sec, uint8_t *buf) const { in relocateAlloc() argument
593 uint64_t secAddr = sec.getOutputSection()->addr; in relocateAlloc()
594 if (auto *s = dyn_cast<InputSection>(&sec)) in relocateAlloc()
596 else if (auto *ehIn = dyn_cast<EhInputSection>(&sec)) in relocateAlloc()
600 const ArrayRef<Relocation> relocs = sec.relocs(); in relocateAlloc()
604 uint64_t val = sec.getRelocTargetVA(ctx, rel, secAddr + rel.offset); in relocateAlloc()
662 Err(ctx) << sec.getLocation(rel.offset) << ": ULEB128 value " << val in relocateAlloc()
669 Err(ctx) << sec.getLocation(rel.offset) in relocateAlloc()
684 for (InputSection *sec : getInputSections(*osec, storage)) { in initSymbolAnchors()
[all …]
/freebsd/contrib/wpa/hostapd/
H A Dsae_pk_gen.c26 int sec, j; in main() local
48 sec = atoi(argv[2]); in main()
49 if (sec != 3 && sec != 5) { 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()
150 val20 = sae_pk_get_be19(hash + sec); in main()
152 sae_pk_buf_shift_left_19(hash + sec, hash_len - sec); in main()
166 pw_base_bin, hash_len - sec) >= 0) in main()
[all …]
/freebsd/sys/dev/qat/qat_common/
H A Dadf_cfg.c128 adf_cfg_keyval_add(struct adf_cfg_key_val *new, struct adf_cfg_section *sec) in adf_cfg_keyval_add() argument
130 list_add_tail(&new->list, &sec->param_head); in adf_cfg_keyval_add()
134 adf_cfg_keyval_remove(const char *key, struct adf_cfg_section *sec) in adf_cfg_keyval_remove() argument
137 struct list_head *head = &sec->param_head; in adf_cfg_keyval_remove()
217 struct adf_cfg_section *sec = adf_cfg_sec_find(accel_dev, name); in adf_cfg_section_del() local
219 if (!sec) in adf_cfg_section_del()
221 adf_cfg_keyval_del_all(&sec->param_head); in adf_cfg_section_del()
222 list_del(&sec->list); in adf_cfg_section_del()
223 free(sec, M_QAT); in adf_cfg_section_del()
292 struct adf_cfg_section *sec = adf_cfg_sec_find(accel_dev, sec_name); in adf_cfg_key_val_get() local
[all …]
/freebsd/usr.bin/mkimg/
H A Dvmdk.c117 uint32_t sec, cursec; in vmdk_write() local
143 sec = desc_len / VMDK_SECTOR_SIZE + 1; in vmdk_write()
155 le64enc(&hdr.gd_offset, sec); in vmdk_write()
156 sec += gdsz / VMDK_SECTOR_SIZE; in vmdk_write()
158 le32enc(gd + n, sec); in vmdk_write()
159 sec += VMDK_NGTES * sizeof(uint32_t) / VMDK_SECTOR_SIZE; in vmdk_write()
168 le64enc(&hdr.rgd_offset, sec); in vmdk_write()
169 sec += gdsz / VMDK_SECTOR_SIZE; in vmdk_write()
171 le32enc(rgd + n, sec); in vmdk_write()
172 sec += VMDK_NGTES * sizeof(uint32_t) / VMDK_SECTOR_SIZE; in vmdk_write()
[all …]
/freebsd/sys/contrib/dev/rtw89/
H A Defuse.c411 struct rtw89_fw_secure *sec = &rtwdev->fw.sec; in rtw89_efuse_recognize_mss_info_v1() local
416 sec->mss_cust_idx = 0; in rtw89_efuse_recognize_mss_info_v1()
417 sec->mss_key_num = 0; in rtw89_efuse_recognize_mss_info_v1()
423 sec->mss_cust_idx = 0x1F - (u8_get_bits(b1, EFUSE_B1_MSSCUSTIDX0_MASK) | in rtw89_efuse_recognize_mss_info_v1()
425 sec->mss_key_num = 0xF - u8_get_bits(b2, EFUSE_B2_MSSKEYNUM_MASK); in rtw89_efuse_recognize_mss_info_v1()
428 sec->mss_dev_type = get_mss_dev_type_idx(rtwdev, mss_dev_type); in rtw89_efuse_recognize_mss_info_v1()
429 if (sec->mss_dev_type == RTW89_FW_MSS_DEV_TYPE_FWSEC_INV) { in rtw89_efuse_recognize_mss_info_v1()
434 sec->can_mss_v1 = true; in rtw89_efuse_recognize_mss_info_v1()
442 struct rtw89_fw_secure *sec = &rtwdev->fw.sec; in rtw89_efuse_recognize_mss_index_v0() local
456 sec->mss_idx = i; in rtw89_efuse_recognize_mss_index_v0()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/crypto/
H A Dfsl-sec6.txt23 Definition: Must include "fsl,sec-v6.0".
25 - fsl,sec-era
63 compatible = "fsl,sec-v6.0";
64 fsl,sec-era = <6>;
84 Definition: Must include "fsl,sec-v6.0-job-ring".
103 compatible = "fsl,sec-v6.0-job-ring";
117 compatible = "fsl,sec-v6.0";
118 fsl,sec-era = <6>;
123 compatible = "fsl,sec-v6.0-job-ring",
124 "fsl,sec-v5.2-job-ring",
[all …]
/freebsd/sys/sys/
H A Dtime.h54 time_t sec; member
66 _bt->sec++; in bintime_addx()
77 _bt->sec++; in bintime_add()
78 _bt->sec += _bt2->sec; in bintime_add()
89 _bt->sec--; in bintime_sub()
90 _bt->sec -= _bt2->sec; in bintime_sub()
100 _bt->sec *= _x; in bintime_mul()
101 _bt->sec += (_p2 >> 32); in bintime_mul()
110 _bt->sec <<= _exp; in bintime_shift()
111 _bt->sec |= _bt->frac >> (64 - _exp); in bintime_shift()
[all …]
/freebsd/sys/contrib/ck/src/
H A Dck_ec_timeutil.h44 time_t sec; in timespec_add_ns() local
57 sec = ts.tv_sec; in timespec_add_ns()
60 if (sec >= TIME_MAX) { in timespec_add_ns()
64 sec++; in timespec_add_ns()
68 ret.tv_sec = sec; in timespec_add_ns()
86 time_t sec; in timespec_add() local
99 sec = ts.tv_sec + inc.tv_sec; in timespec_add()
104 if (sec >= TIME_MAX) { in timespec_add()
108 sec++; in timespec_add()
112 ret.tv_sec = sec; in timespec_add()
/freebsd/contrib/mandoc/
H A Dmain.c135 const char *progname, *sec, *ep; in main() local
294 search.sec = optarg; in main()
438 search.sec = (char *)uc; in main()
521 else if (search.sec != NULL) in main()
524 *argv, search.sec); in main()
547 sec = resn[i].file + in main()
549 sec += strcspn(sec, "123456789"); in main()
550 if (sec[0] == '\0') in main()
552 prio = sec_prios[sec[ in main()
755 fs_append(char ** file,size_t filesz,int copy,size_t ipath,const char * sec,enum form form,struct manpage ** res,size_t * ressz) fs_append() argument
779 fs_lookup(const struct manpaths * paths,size_t ipath,const char * sec,const char * arch,const char * name,struct manpage ** res,size_t * ressz) fs_lookup() argument
[all...]

12345678910>>...39