/freebsd/tools/tools/crypto/ |
H A D | README | 18 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 D | MarkLive.cpp | 53 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 getAddend() argument 97 void MarkLive<ELFT>::resolveReloc(InputSectionBase &sec, RelTy &rel, in resolveReloc() argument 100 Symbol &sym = sec.file->getRelocTargetSym(rel); in resolveReloc() 110 offset += getAddend<ELFT>(sec, rel); in resolveReloc() 130 for (InputSectionBase *sec : cNamedSections.lookup(sym.getName())) in resolveReloc() [all …]
|
H A D | LinkerScript.cpp | 120 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() 137 OutputDesc *sec; in createOutputSection() local 140 sec = secRef; in createOutputSection() 142 sec = make<OutputDesc>(name, SHT_PROGBITS, 0); in createOutputSection() 144 secRef = sec; in createOutputSection() 146 sec->osec.location = std::string(location); in createOutputSection() 147 return sec; in createOutputSection() 213 SectionBase *sec = value.isAbsolute() ? nullptr : value.sec; in addSymbol() local [all …]
|
H A D | DWARF.cpp | 32 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->contentMaybeDecompress()); in LLDDwarfObj() 57 else if (sec->name == ".debug_line_str") in LLDDwarfObj() [all …]
|
H A D | Writer.cpp | 112 for (OutputSection *sec : outputSections) in removeEmptyPTLoad() 113 if (removed.count(sec->ptLoad)) in removeEmptyPTLoad() 114 sec->ptLoad = nullptr; in removeEmptyPTLoad() 141 static Defined *addOptionalRegular(StringRef name, SectionBase *sec, in addOptionalRegular() argument 149 /*size=*/0, sec}); in addOptionalRegular() 252 for (auto [i, sec] : llvm::enumerate(sym.file->getSections())) in demoteDefined() 253 map.try_emplace(sec, i); in demoteDefined() 314 for (OutputSection *sec : outputSections) in run() 315 sec->maybeCompress<ELFT>(); in run() 459 SectionBase *sec = d->section; in includeInSymtab() local [all …]
|
H A D | InputFiles.cpp | 375 const InputSectionBase &sec, uint64_t offset) { in getSrcMsgAux() argument 378 if (std::optional<DILineInfo> info = file.getDILineInfo(&sec, offset)) in getSrcMsgAux() 390 std::string InputFile::getSrcMsg(const Symbol &sym, const InputSectionBase &sec, in getSrcMsg() argument 398 return getSrcMsgAux(cast<ObjFile<ELF32LE>>(*this), sym, sec, offset); in getSrcMsg() 400 return getSrcMsgAux(cast<ObjFile<ELF32BE>>(*this), sym, sec, offset); in getSrcMsg() 402 return getSrcMsgAux(cast<ObjFile<ELF64LE>>(*this), sym, sec, offset); in getSrcMsg() 404 return getSrcMsgAux(cast<ObjFile<ELF64BE>>(*this), sym, sec, offset); in getSrcMsg() 523 for (const Elf_Shdr &sec : sections) in findSection() local 524 if (sec.sh_type == type) in findSection() 525 return &sec; in findSection() [all …]
|
/freebsd/sys/contrib/device-tree/src/powerpc/fsl/ |
H A D | qoriq-sec5.2-0.dtsi | 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", 62 "fsl,sec-v5.0-job-ring", [all …]
|
H A D | qoriq-sec5.3-0.dtsi | 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", 62 "fsl,sec-v5.0-job-ring", [all …]
|
H A D | qoriq-sec4.2-0.dtsi | 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", 67 "fsl,sec-v4.0-job-ring"; [all …]
|
H A D | qoriq-sec5.0-0.dtsi | 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", 67 "fsl,sec-v4.0-job-ring"; [all …]
|
H A D | qoriq-sec6.0-0.dtsi | 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", 52 "fsl,sec-v5.2-job-ring", [all …]
|
/freebsd/sys/contrib/dev/rtw88/ |
H A D | sec.c | 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() 91 clear_bit(hw_key_idx, sec->cam_map); in rtw_sec_clear_cam() [all …]
|
/freebsd/contrib/wpa/src/utils/ |
H A D | os.h | 19 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/wpa/hostapd/ |
H A D | sae_pk_gen.c | 26 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/contrib/llvm-project/lld/ELF/Arch/ |
H A D | RISCV.cpp | 46 void relocateAlloc(InputSectionBase &sec, uint8_t *buf) const override; 593 void RISCV::relocateAlloc(InputSectionBase &sec, uint8_t *buf) const { in relocateAlloc() argument 594 uint64_t secAddr = sec.getOutputSection()->addr; in relocateAlloc() 595 if (auto *s = dyn_cast<InputSection>(&sec)) in relocateAlloc() 597 else if (auto *ehIn = dyn_cast<EhInputSection>(&sec)) in relocateAlloc() 601 const ArrayRef<Relocation> relocs = sec.relocs(); in relocateAlloc() 606 sec.getRelocTargetVA(sec.file, rel.type, rel.addend, in relocateAlloc() 664 errorOrWarn(sec.getLocation(rel.offset) + ": ULEB128 value " + in relocateAlloc() 671 errorOrWarn(sec.getLocation(rel.offset) + in relocateAlloc() 686 for (InputSection *sec : getInputSections(*osec, storage)) { in initSymbolAnchors() [all …]
|
/freebsd/sys/dev/qat/qat_common/ |
H A D | adf_cfg.c | 158 adf_cfg_keyval_add(struct adf_cfg_key_val *new, struct adf_cfg_section *sec) in adf_cfg_keyval_add() argument 160 list_add_tail(&new->list, &sec->param_head); in adf_cfg_keyval_add() 164 adf_cfg_keyval_remove(const char *key, struct adf_cfg_section *sec) in adf_cfg_keyval_remove() argument 167 struct list_head *head = &sec->param_head; in adf_cfg_keyval_remove() 247 struct adf_cfg_section *sec = adf_cfg_sec_find(accel_dev, name); in adf_cfg_section_del() local 249 if (!sec) in adf_cfg_section_del() 251 adf_cfg_keyval_del_all(&sec->param_head); in adf_cfg_section_del() 252 list_del(&sec->list); in adf_cfg_section_del() 253 free(sec, M_QAT); in adf_cfg_section_del() 322 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 D | vmdk.c | 115 uint32_t sec, cursec; in vmdk_write() local 141 sec = desc_len / VMDK_SECTOR_SIZE + 1; in vmdk_write() 153 le64enc(&hdr.gd_offset, sec); in vmdk_write() 154 sec += gdsz / VMDK_SECTOR_SIZE; in vmdk_write() 156 le32enc(gd + n, sec); in vmdk_write() 157 sec += VMDK_NGTES * sizeof(uint32_t) / VMDK_SECTOR_SIZE; in vmdk_write() 166 le64enc(&hdr.rgd_offset, sec); in vmdk_write() 167 sec += gdsz / VMDK_SECTOR_SIZE; in vmdk_write() 169 le32enc(rgd + n, sec); in vmdk_write() 170 sec += VMDK_NGTES * sizeof(uint32_t) / VMDK_SECTOR_SIZE; in vmdk_write() [all …]
|
/freebsd/sys/sys/ |
H A D | time.h | 54 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/device-tree/Bindings/crypto/ |
H A D | fsl-sec6.txt | 23 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/contrib/ck/src/ |
H A D | ck_ec_timeutil.h | 44 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/wpa/src/ap/ |
H A D | bss_load.c | 20 unsigned int *sec, unsigned int *usec) in get_bss_load_update_timeout() argument 35 *sec = ((update_timeout / 1000) * 1024) / 1000; in get_bss_load_update_timeout() 45 unsigned int sec, usec; in update_channel_utilization() local 60 if (get_bss_load_update_timeout(hapd, &sec, &usec) < 0) in update_channel_utilization() 78 eloop_register_timeout(sec, usec, update_channel_utilization, hapd, in update_channel_utilization() 85 unsigned int sec, usec; in bss_load_update_init() local 87 if (get_bss_load_update_timeout(hapd, &sec, &usec) < 0) in bss_load_update_init() 90 eloop_register_timeout(sec, usec, update_channel_utilization, hapd, in bss_load_update_init()
|
/freebsd/contrib/mandoc/ |
H A D | main.c | 135 const char *progname, *sec, *ep; in main() local 295 search.sec = optarg; in main() 439 search.sec = (char *)uc; in main() 522 else if (search.sec != NULL) in main() 525 *argv, search.sec); in main() 562 sec = resn[i].file; in main() 563 sec += strcspn(sec, "123456789"); in main() 564 if (sec[0] == '\0') in main() 566 prio = sec_prios[sec[0] - '1']; in main() 567 if (search.sec != NULL) { in main() [all …]
|
H A D | cgi.c | 56 char *sec; /* manual section */ member 214 req->q.sec = NULL; in parse_query_string() 266 set_query_attr(&req->q.sec, &val); in parse_query_string() 378 const char *name, *sec, *cp; in resp_begin_html() local 398 sec = NULL; in resp_begin_html() 400 sec = cp + 1; in resp_begin_html() 401 secsz = strlen(sec); in resp_begin_html() 406 sec = cp; in resp_begin_html() 412 if (sec != NULL) in resp_begin_html() 413 printf("(%.*s)", secsz, sec); in resp_begin_html() [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/freescale/ |
H A D | fsl-ls1012a.dtsi | 27 sec-mon = &sec_mon; 191 compatible = "fsl,sec-v5.4", "fsl,sec-v5.0", 192 "fsl,sec-v4.0"; 193 fsl,sec-era = <8>; 202 compatible = "fsl,sec-v5.4-job-ring", 203 "fsl,sec-v5.0-job-ring", 204 "fsl,sec-v4.0-job-ring"; 210 compatible = "fsl,sec-v5.4-job-ring", 211 "fsl,sec-v5.0-job-ring", 212 "fsl,sec-v4.0-job-ring"; [all …]
|
/freebsd/sys/kern/ |
H A D | subr_clock.c | 159 ct->hour > 23 || ct->min > 59 || ct->sec > 59 || year < 1970 || in clock_ct_to_ts() 186 ct->sec; in clock_ct_to_ts() 214 !validbcd(bct->min) || !validbcd(bct->sec)) { in clock_bcd_to_ts() 219 bct->hour, bct->min, bct->sec); in clock_bcd_to_ts() 228 ct.sec = FROMBCD(bct->sec); in clock_bcd_to_ts() 280 ct->sec = rsec; in clock_ts_to_ct() 300 KASSERT(ct->sec >= 0 && ct->sec <= 60, in clock_ts_to_ct() 301 ("seconds %d not in 0-60", ct->sec)); in clock_ts_to_ct() 327 bct->sec = TOBCD(ct.sec); in clock_ts_to_bcd() 341 bct->hour, bct->min, bct->sec, in clock_print_bcd() [all …]
|