/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
H A D | mac.c | 223 memset(rtlpriv->sec.key_buf[idx], 0, in rtl92c_set_key() 225 rtlpriv->sec.key_len[idx] = 0; in rtl92c_set_key() 247 if (is_wepkey || rtlpriv->sec.use_defaultkey) { in rtl92c_set_key() 271 if (rtlpriv->sec.key_len[key_index] == 0) { in rtl92c_set_key() 281 rtlpriv->sec.key_len[PAIRWISE_KEYIDX]); in rtl92c_set_key() 284 rtlpriv->sec.key_buf[0][0], in rtl92c_set_key() 285 rtlpriv->sec.key_buf[0][1]); in rtl92c_set_key() 291 rtlpriv->sec.pairwise_key, in rtl92c_set_key() 292 rtlpriv->sec. in rtl92c_set_key() 300 rtlpriv->sec in rtl92c_set_key() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
H A D | mac.c | 222 memset(rtlpriv->sec.key_buf[idx], 0, in rtl92c_set_key() 224 rtlpriv->sec.key_len[idx] = 0; in rtl92c_set_key() 246 if (is_wepkey || rtlpriv->sec.use_defaultkey) { in rtl92c_set_key() 270 if (rtlpriv->sec.key_len[key_index] == 0) { in rtl92c_set_key() 280 rtlpriv->sec.key_len[PAIRWISE_KEYIDX]); in rtl92c_set_key() 283 rtlpriv->sec.key_buf[0][0], in rtl92c_set_key() 284 rtlpriv->sec.key_buf[0][1]); in rtl92c_set_key() 290 rtlpriv->sec.pairwise_key, in rtl92c_set_key() 291 rtlpriv->sec. in rtl92c_set_key() 299 rtlpriv->sec in rtl92c_set_key() [all...] |
/kernel/linux/linux-6.6/tools/objtool/arch/x86/ |
H A D | decode.c | 147 int arch_decode_instruction(struct objtool_file *file, const struct section *sec, in arch_decode_instruction() argument 167 ret = insn_decode(&ins, sec->data->d_buf + offset, maxlen, in arch_decode_instruction() 170 WARN("can't decode instruction at %s:0x%lx", sec->name, offset); in arch_decode_instruction() 445 WARN("invalid LEA encoding at %s:0x%lx", sec->name, offset); in arch_decode_instruction() 547 WARN("ENQCMD instruction at %s:%lx", sec->name, in arch_decode_instruction() 615 if (ins.length == 3+4+4 && !strncmp(sec->name, ".init.text", 10)) { in arch_decode_instruction() 620 immr = find_reloc_by_dest(elf, (void *)sec, offset+3); in arch_decode_instruction() 621 disp = find_reloc_by_dest(elf, (void *)sec, offset+7); in arch_decode_instruction() 630 func = find_symbol_by_offset(disp->sym->sec, reloc_addend(disp)); in arch_decode_instruction() 646 sym = find_symbol_containing(sec, offse in arch_decode_instruction() [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | ZoneMeta.java | 623 // fields[3] - sec / 6-bit in getCustomTimeZone() 665 int sec = 0; in parseCustomID() 712 sec = n.intValue(); in parseCustomID() 741 sec = hour % 100; in parseCustomID() 748 if (hour <= kMAX_CUSTOM_HOUR && min <= kMAX_CUSTOM_MIN && sec <= kMAX_CUSTOM_SEC) { in parseCustomID() 760 fields[3] = sec; in parseCustomID() 782 int hour, min, sec; in getCustomTimeZone() 788 sec = tmp % 60; in getCustomTimeZone() 794 String zid = formatCustomID(hour, min, sec, negative); in getCustomTimeZone() 802 static String formatCustomID(int hour, int min, int sec, boolea argument [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
H A D | ZoneMeta.java | 624 // fields[3] - sec / 6-bit in getCustomTimeZone() 666 int sec = 0; in parseCustomID() 713 sec = n.intValue(); in parseCustomID() 742 sec = hour % 100; in parseCustomID() 749 if (hour <= kMAX_CUSTOM_HOUR && min <= kMAX_CUSTOM_MIN && sec <= kMAX_CUSTOM_SEC) { in parseCustomID() 761 fields[3] = sec; in parseCustomID() 783 int hour, min, sec; in getCustomTimeZone() 789 sec = tmp % 60; in getCustomTimeZone() 795 String zid = formatCustomID(hour, min, sec, negative); in getCustomTimeZone() 803 static String formatCustomID(int hour, int min, int sec, boolea argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
H A D | os_unix.c | 50 void os_sleep(os_time_t sec, os_time_t usec) in os_sleep() argument 52 if (sec) in os_sleep() 53 sleep(sec); in os_sleep() 64 t->sec = tv.tv_sec; in os_get_time() 89 t->sec = ts.tv_sec; in os_get_reltime() 120 t->sec = nano / NSEC_PER_SEC; in os_get_reltime() 121 t->usec = (nano - (((uint64_t) t->sec) * NSEC_PER_SEC)) / NSEC_PER_USEC; in os_get_reltime() 128 int os_mktime(int year, int month, int day, int hour, int min, int sec, in os_mktime() argument 136 hour < 0 || hour > 23 || min < 0 || min > 59 || sec < 0 || in os_mktime() 137 sec > 6 in os_mktime() [all...] |
H A D | eloop_win.c | 251 now_sec = timeout->time.sec; in eloop_register_timeout() 252 timeout->time.sec += secs; in eloop_register_timeout() 253 if (timeout->time.sec < now_sec) { in eloop_register_timeout() 265 timeout->time.sec++; in eloop_register_timeout() 323 remaining->sec = remaining->usec = 0; in eloop_cancel_timeout_one() 368 requested.sec = req_secs; in eloop_deplete_timeout() 375 eloop_register_timeout(requested.sec, in eloop_deplete_timeout() 400 requested.sec = req_secs; in eloop_replenish_timeout() 407 eloop_register_timeout(requested.sec, in eloop_replenish_timeout() 543 tv.sec in eloop_run() [all...] |
/kernel/linux/linux-5.10/arch/m68k/mvme16x/ |
H A D | rtc.c | 69 unsigned char mon, day, hrs, min, sec, leap_yr; in rtc_ioctl() local 85 sec = rtc_tm.tm_sec; in rtc_ioctl() 95 if ((hrs >= 24) || (min >= 60) || (sec >= 60)) in rtc_ioctl() 104 rtc->bcd_sec = bin2bcd(sec); in rtc_ioctl()
|
/kernel/linux/linux-5.10/arch/x86/platform/intel-mid/ |
H A D | intel_mid_vrtc.c | 58 u8 sec, min, hour, mday, mon; in vrtc_get_time() local 67 sec = vrtc_cmos_read(RTC_SECONDS); in vrtc_get_time() 79 pr_info("vRTC: sec: %d min: %d hour: %d day: %d " in vrtc_get_time() 80 "mon: %d year: %d\n", sec, min, hour, mday, mon, year); in vrtc_get_time() 82 now->tv_sec = mktime64(year, mon, mday, hour, min, sec); in vrtc_get_time()
|
/kernel/linux/linux-6.6/arch/m68k/mvme16x/ |
H A D | rtc.c | 69 unsigned char mon, day, hrs, min, sec, leap_yr; in rtc_ioctl() local 85 sec = rtc_tm.tm_sec; in rtc_ioctl() 95 if ((hrs >= 24) || (min >= 60) || (sec >= 60)) in rtc_ioctl() 104 rtc->bcd_sec = bin2bcd(sec); in rtc_ioctl()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
H A D | test_xdp_redirect.sh | 55 ip -n ns1 link set veth11 $xdpmode obj xdp_dummy.o sec xdp_dummy &> /dev/null 56 ip -n ns2 link set veth22 $xdpmode obj xdp_dummy.o sec xdp_dummy &> /dev/null 57 ip link set dev veth1 $xdpmode obj test_xdp_redirect.o sec redirect_to_222 &> /dev/null 58 ip link set dev veth2 $xdpmode obj test_xdp_redirect.o sec redirect_to_111 &> /dev/null
|
H A D | test_xdp_meta.sh | 40 ip netns exec ns1 tc filter add dev veth1 ingress bpf da obj test_xdp_meta.o sec t 41 ip netns exec ns2 tc filter add dev veth2 ingress bpf da obj test_xdp_meta.o sec t 43 ip netns exec ns1 ip link set dev veth1 xdp obj test_xdp_meta.o sec x 44 ip netns exec ns2 ip link set dev veth2 xdp obj test_xdp_meta.o sec x
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | test_xdp_redirect.sh | 57 ip -n ${NS1} link set veth11 $xdpmode obj xdp_dummy.bpf.o sec xdp &> /dev/null 58 ip -n ${NS2} link set veth22 $xdpmode obj xdp_dummy.bpf.o sec xdp &> /dev/null 59 ip link set dev veth1 $xdpmode obj test_xdp_redirect.bpf.o sec redirect_to_222 &> /dev/null 60 ip link set dev veth2 $xdpmode obj test_xdp_redirect.bpf.o sec redirect_to_111 &> /dev/null
|
H A D | test_xdp_meta.sh | 46 ip netns exec ${NS1} tc filter add dev veth1 ingress bpf da obj ${BPF_FILE} sec t 47 ip netns exec ${NS2} tc filter add dev veth2 ingress bpf da obj ${BPF_FILE} sec t 49 ip netns exec ${NS1} ip link set dev veth1 xdp obj ${BPF_FILE} sec x 50 ip netns exec ${NS2} ip link set dev veth2 xdp obj ${BPF_FILE} sec x
|
/third_party/python/Include/cpython/ |
H A D | pytime.h | 91 time_t sec); variable 100 time_t *sec, 108 time_t *sec, 117 time_t *sec,
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
H A D | eloop.c | 863 now_sec = timeout->time.sec; in eloop_register_timeout() 864 timeout->time.sec += secs; in eloop_register_timeout() 865 if (timeout->time.sec < now_sec) in eloop_register_timeout() 869 timeout->time.sec++; in eloop_register_timeout() 872 if (timeout->time.sec < now_sec) in eloop_register_timeout() 961 remaining->sec = remaining->usec = 0; in eloop_cancel_timeout_one() 1014 requested.sec = req_secs; in eloop_deplete_timeout() 1021 eloop_register_timeout(requested.sec, in eloop_deplete_timeout() 1046 requested.sec = req_secs; in eloop_replenish_timeout() 1053 eloop_register_timeout(requested.sec, in eloop_replenish_timeout() 1390 int sec, usec; eloop_destroy() local [all...] |
H A D | eloop_win.c | 251 now_sec = timeout->time.sec; in eloop_register_timeout() 252 timeout->time.sec += secs; in eloop_register_timeout() 253 if (timeout->time.sec < now_sec) { in eloop_register_timeout() 265 timeout->time.sec++; in eloop_register_timeout() 323 remaining->sec = remaining->usec = 0; in eloop_cancel_timeout_one() 368 requested.sec = req_secs; in eloop_deplete_timeout() 375 eloop_register_timeout(requested.sec, in eloop_deplete_timeout() 400 requested.sec = req_secs; in eloop_replenish_timeout() 407 eloop_register_timeout(requested.sec, in eloop_replenish_timeout() 543 tv.sec in eloop_run() [all...] |
/kernel/linux/linux-6.6/fs/exfat/ |
H A D | fatent.c | 14 static int exfat_mirror_bh(struct super_block *sb, sector_t sec, in exfat_mirror_bh() argument 23 sec2 = sec - sbi->FAT1_start_sector + sbi->FAT2_start_sector; in exfat_mirror_bh() 42 sector_t sec; in __exfat_ent_get() local 45 sec = FAT_ENT_OFFSET_SECTOR(sb, loc); in __exfat_ent_get() 48 bh = sb_bread(sb, sec); in __exfat_ent_get() 66 sector_t sec; in exfat_ent_set() local 70 sec = FAT_ENT_OFFSET_SECTOR(sb, loc); in exfat_ent_set() 73 bh = sb_bread(sb, sec); in exfat_ent_set() 80 exfat_mirror_bh(sb, sec, bh); in exfat_ent_set()
|
/kernel/linux/linux-6.6/net/mac802154/ |
H A D | rx.c | 173 rc = mac802154_llsec_decrypt(&sdata->sec, skb); in ieee802154_subif_frame() 277 pr_debug("seclevel %i\n", hdr->sec.level); in ieee802154_parse_frame_start() 279 switch (hdr->sec.key_id_mode) { in ieee802154_parse_frame_start() 285 pr_debug("key %02x\n", hdr->sec.key_id); in ieee802154_parse_frame_start() 290 le32_to_cpu(hdr->sec.short_src) >> 16, in ieee802154_parse_frame_start() 291 le32_to_cpu(hdr->sec.short_src) & 0xffff, in ieee802154_parse_frame_start() 292 hdr->sec.key_id); in ieee802154_parse_frame_start() 296 key = swab64((__force u64)hdr->sec.extended_src); in ieee802154_parse_frame_start() 298 hdr->sec.key_id); in ieee802154_parse_frame_start()
|
/kernel/linux/linux-6.6/tools/lib/bpf/ |
H A D | libbpf_internal.h | 408 #define for_each_btf_ext_sec(seg, sec) \ 409 for (sec = (seg)->info; \ 410 (void *)sec < (seg)->info + (seg)->len; \ 411 sec = (void *)sec + sizeof(struct btf_ext_info_sec) + \ 412 (seg)->rec_size * sec->num_info) 414 #define for_each_btf_ext_rec(seg, sec, i, rec) \ 415 for (i = 0, rec = (void *)&(sec)->data; \ 416 i < (sec)->num_info; \
|
/third_party/libbpf/src/ |
H A D | libbpf_internal.h | 439 #define for_each_btf_ext_sec(seg, sec) \ 440 for (sec = (seg)->info; \ 441 (void *)sec < (seg)->info + (seg)->len; \ 442 sec = (void *)sec + sizeof(struct btf_ext_info_sec) + \ 443 (seg)->rec_size * sec->num_info) 445 #define for_each_btf_ext_rec(seg, sec, i, rec) \ 446 for (i = 0, rec = (void *)&(sec)->data; \ 447 i < (sec)->num_info; \
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | symbol-elf.c | 192 Elf_Scn *sec = NULL; in elf_addr_to_index() local 196 while ((sec = elf_nextscn(elf, sec)) != NULL) { in elf_addr_to_index() 197 gelf_getshdr(sec, &shdr); in elf_addr_to_index() 212 Elf_Scn *sec = NULL; in elf_section_by_name() local 219 while ((sec = elf_nextscn(elf, sec)) != NULL) { in elf_section_by_name() 222 gelf_getshdr(sec, shp); in elf_section_by_name() 227 return sec; in elf_section_by_name() 489 Elf_Scn *sec; in elf_read_build_id() local 721 Elf_Scn *sec; filename__read_debuglink() local 1082 Elf_Scn *sec, *sec_strndx; dso__load_sym() local [all...] |
/kernel/linux/linux-5.10/arch/mips/sibyte/swarm/ |
H A D | rtc_xicor1241.c | 169 unsigned int year, mon, day, hour, min, sec, y2k; in xicor_get_time() local 173 sec = xicor_read(X1241REG_SC); in xicor_get_time() 190 sec = bcd2bin(sec); in xicor_get_time() 200 return mktime64(year, mon, day, hour, min, sec); in xicor_get_time()
|
/kernel/linux/linux-6.6/arch/mips/sibyte/swarm/ |
H A D | rtc_xicor1241.c | 169 unsigned int year, mon, day, hour, min, sec, y2k; in xicor_get_time() local 173 sec = xicor_read(X1241REG_SC); in xicor_get_time() 190 sec = bcd2bin(sec); in xicor_get_time() 200 return mktime64(year, mon, day, hour, min, sec); in xicor_get_time()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_ptp.c | 61 u32 sec, nsec; in stmmac_adjust_time() local 74 sec = quotient; in stmmac_adjust_time() 78 stmmac_adjust_systime(priv, priv->ptpaddr, sec, nsec, neg_adj, xmac); in stmmac_adjust_time() 149 cfg->start.tv_sec = rq->perout.start.sec; in stmmac_enable() 151 cfg->period.tv_sec = rq->perout.period.sec; in stmmac_enable()
|