Home
last modified time | relevance | path

Searched refs:addr2 (Results 1 – 25 of 215) sorted by relevance

123456789

/kernel/liteos_a/net/lwip-2.1/enhancement/include/lwip/
Dfixme.h76 #define ip_addr_netcmp_val(addr1, addr2, mask) ((IP_IS_V6_VAL(*(addr1)) && IP_IS_V6_VAL(*(addr2))) … argument
78 … ip4_addr_netcmp(ip_2_ip4(addr1), ip_2_ip4(addr2), mask))
91 #define ip6_addr_cmp(addr1, addr2) (((addr1)->addr[0] == (addr2)->addr[0]) && \ argument
92 ((addr1)->addr[1] == (addr2)->addr[1]) && \
93 ((addr1)->addr[2] == (addr2)->addr[2]) && \
94 ((addr1)->addr[3] == (addr2)->addr[3]))
/kernel/linux/linux-5.10/tools/lib/
Dfind_bit.c32 const unsigned long *addr2, unsigned long nbits, in _find_next_bit() argument
41 if (addr2) in _find_next_bit()
42 tmp &= addr2[start / BITS_PER_LONG]; in _find_next_bit()
55 if (addr2) in _find_next_bit()
56 tmp &= addr2[start / BITS_PER_LONG]; in _find_next_bit()
119 const unsigned long *addr2, unsigned long size, in find_next_and_bit() argument
122 return _find_next_bit(addr1, addr2, size, offset, 0UL); in find_next_and_bit()
/kernel/linux/linux-5.10/arch/xtensa/kernel/
Dsmp.c463 unsigned long addr2; member
504 local_flush_tlb_range(fd->vma, fd->addr1, fd->addr2); in ipi_flush_tlb_range()
513 .addr2 = end, in flush_tlb_range()
521 local_flush_tlb_kernel_range(fd->addr1, fd->addr2); in ipi_flush_tlb_kernel_range()
528 .addr2 = end, in flush_tlb_kernel_range()
548 local_flush_cache_page(fd->vma, fd->addr1, fd->addr2); in ipi_flush_cache_page()
557 .addr2 = pfn, in flush_cache_page()
565 local_flush_cache_range(fd->vma, fd->addr1, fd->addr2); in ipi_flush_cache_range()
574 .addr2 = end, in flush_cache_range()
582 local_flush_icache_range(fd->addr1, fd->addr2); in ipi_flush_icache_range()
[all …]
/kernel/linux/linux-5.10/include/linux/
Detherdevice.h326 static inline bool ether_addr_equal(const u8 *addr1, const u8 *addr2) in ether_addr_equal() argument
329 u32 fold = ((*(const u32 *)addr1) ^ (*(const u32 *)addr2)) | in ether_addr_equal()
330 ((*(const u16 *)(addr1 + 4)) ^ (*(const u16 *)(addr2 + 4))); in ether_addr_equal()
335 const u16 *b = (const u16 *)addr2; in ether_addr_equal()
355 static inline bool ether_addr_equal_64bits(const u8 *addr1, const u8 *addr2) in ether_addr_equal_64bits() argument
358 u64 fold = (*(const u64 *)addr1) ^ (*(const u64 *)addr2); in ether_addr_equal_64bits()
366 return ether_addr_equal(addr1, addr2); in ether_addr_equal_64bits()
379 static inline bool ether_addr_equal_unaligned(const u8 *addr1, const u8 *addr2) in ether_addr_equal_unaligned() argument
382 return ether_addr_equal(addr1, addr2); in ether_addr_equal_unaligned()
384 return memcmp(addr1, addr2, ETH_ALEN) == 0; in ether_addr_equal_unaligned()
[all …]
/kernel/linux/linux-5.10/lib/
Dfind_bit.c32 const unsigned long *addr2, unsigned long nbits, in _find_next_bit() argument
41 if (addr2) in _find_next_bit()
42 tmp &= addr2[start / BITS_PER_LONG]; in _find_next_bit()
60 if (addr2) in _find_next_bit()
61 tmp &= addr2[start / BITS_PER_LONG]; in _find_next_bit()
95 const unsigned long *addr2, unsigned long size, in find_next_and_bit() argument
98 return _find_next_bit(addr1, addr2, size, offset, 0UL, 0); in find_next_and_bit()
/kernel/linux/linux-5.10/arch/sh/mm/
Dtlb-debugfs.c42 unsigned long addr1, addr2, data1, data2; in tlb_seq_show() local
56 addr2 = MMU_ITLB_ADDRESS_ARRAY2; in tlb_seq_show()
62 addr2 = MMU_UTLB_ADDRESS_ARRAY2; in tlb_seq_show()
79 addr2 = MMU_ITLB_ADDRESS_ARRAY2; in tlb_seq_show()
85 addr2 = MMU_UTLB_ADDRESS_ARRAY2; in tlb_seq_show()
105 val = __raw_readl(addr2 | (entry << MMU_TLB_ENTRY_SHIFT)); in tlb_seq_show()
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dudpgro.sh69 local addr1 addr2 pid family="" ipt_cmd=ip6tables
78 addr2=192.168.1.3/24
81 addr2="2001:db8::3/64 nodad"
85 ip -netns "${PEER_NS}" addr add dev veth1 ${addr2}
88 …ns exec "${PEER_NS}" $ipt_cmd -t nat -I PREROUTING -d ${addr1} -j DNAT --to-destination ${addr2%/*}
94 ip netns exec "${PEER_NS}" ./udpgso_bench_rx -C 1000 -R 10 ${family} -b ${addr2%/*} ${rx_args} && \
/kernel/linux/linux-5.10/arch/parisc/kernel/
Dftrace.c126 unsigned long addr2 = in ftrace_make_call() local
133 addr2 >> 32, in ftrace_make_call()
134 addr2 & 0xffffffff, in ftrace_make_call()
139 addr2 >> 32, in ftrace_make_call()
140 addr2 & 0xffffffff, in ftrace_make_call()
/kernel/linux/linux-5.10/arch/sh/kernel/
Dsmp.c378 unsigned long addr2; member
385 local_flush_tlb_range(fd->vma, fd->addr1, fd->addr2); in flush_tlb_range_ipi()
399 fd.addr2 = end; in flush_tlb_range()
415 local_flush_tlb_kernel_range(fd->addr1, fd->addr2); in flush_tlb_kernel_range_ipi()
423 fd.addr2 = end; in flush_tlb_kernel_range()
457 local_flush_tlb_one(fd->addr1, fd->addr2); in flush_tlb_one_ipi()
465 fd.addr2 = vaddr; in flush_tlb_one()
/kernel/linux/linux-5.10/kernel/kcsan/
Dencoding.h91 unsigned long addr2, size_t size2) in matching_access() argument
94 unsigned long end_range2 = addr2 + size2 - 1; in matching_access()
96 return addr1 <= end_range2 && addr2 <= end_range1; in matching_access()
/kernel/linux/linux-5.10/Documentation/powerpc/
Dptrace.rst78 uint64_t addr2;
104 p.addr2 = 0;
114 p.addr2 = 0;
124 p.addr2 = 0;
134 p.addr2 = (uint64_t) end_range;
147 /* For PPC_BREAKPOINT_MODE_RANGE_INCLUSIVE addr2 needs to be specified, where
148 * addr2 - addr <= 8 Bytes.
150 p.addr2 = (uint64_t) end_range;
/kernel/linux/linux-5.10/net/sctp/
Dipv6.c66 const union sctp_addr *addr2);
576 const union sctp_addr *addr2) in __sctp_v6_cmp_addr() argument
578 if (addr1->sa.sa_family != addr2->sa.sa_family) { in __sctp_v6_cmp_addr()
580 addr2->sa.sa_family == AF_INET6 && in __sctp_v6_cmp_addr()
581 ipv6_addr_v4mapped(&addr2->v6.sin6_addr) && in __sctp_v6_cmp_addr()
582 addr2->v6.sin6_addr.s6_addr32[3] == in __sctp_v6_cmp_addr()
586 if (addr2->sa.sa_family == AF_INET && in __sctp_v6_cmp_addr()
590 addr2->v4.sin_addr.s_addr) in __sctp_v6_cmp_addr()
596 if (!ipv6_addr_equal(&addr1->v6.sin6_addr, &addr2->v6.sin6_addr)) in __sctp_v6_cmp_addr()
601 addr1->v6.sin6_scope_id && addr2->v6.sin6_scope_id && in __sctp_v6_cmp_addr()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/hostap/
Dhostap_80211_rx.c53 printk(" A2=%pM", hdr->addr2); in hostap_dump_rx_80211()
284 memcpy(entry->src_addr, hdr->addr2, ETH_ALEN); in prism2_frag_cache_get()
289 entry = prism2_frag_cache_find(local, seq, frag, hdr->addr2, in prism2_frag_cache_get()
312 entry = prism2_frag_cache_find(local, seq, -1, hdr->addr2, hdr->addr1); in prism2_frag_cache_invalidate()
579 *wds = prism2_rx_get_wds(local, hdr->addr2); in hostap_rx_frame_wds()
583 memcmp(hdr->addr2, local->bssid, ETH_ALEN) != 0)) { in hostap_rx_frame_wds()
588 local->dev->name, hdr->addr2); in hostap_rx_frame_wds()
590 hostap_wds_link_oper(local, hdr->addr2, WDS_ADD); in hostap_rx_frame_wds()
595 hostap_is_sta_assoc(local->ap, hdr->addr2)) { in hostap_rx_frame_wds()
666 local->dev->name, hdr->addr2); in hostap_rx_frame_decrypt()
[all …]
Dhostap_ap.c966 memcpy(hdr->addr2, dev->dev_addr, ETH_ALEN); /* BSSID */ in prism2_send_mgmt()
970 eth_zero_addr(hdr->addr2); in prism2_send_mgmt()
973 memcpy(hdr->addr2, dev->dev_addr, ETH_ALEN); /* SA */ in prism2_send_mgmt()
1305 "(len=%d) from %pM\n", dev->name, len, hdr->addr2); in handle_authen()
1310 sta = ap_get_sta(local->ap, hdr->addr2); in handle_authen()
1332 if (ether_addr_equal(dev->dev_addr, hdr->addr2) || in handle_authen()
1333 ap_control_mac_deny(&ap->mac_restrictions, hdr->addr2)) { in handle_authen()
1403 sta = ap_add_sta(local->ap, hdr->addr2); in handle_authen()
1478 body, olen, hdr->addr2, ap->tx_callback_auth); in handle_authen()
1488 dev->name, hdr->addr2, in handle_authen()
[all …]
/kernel/linux/linux-5.10/arch/csky/abiv1/inc/abi/
Dpage.h9 unsigned long addr2) in pages_do_alias() argument
11 return (addr1 ^ addr2) & (SHMLBA-1); in pages_do_alias()
/kernel/linux/linux-5.10/net/wireless/
Dlib80211_crypt_tkip.c299 tkip_mixing_phase1(tkey->tx_ttak, tkey->key, hdr->addr2, in lib80211_tkip_hdr()
392 hdr->addr2); in lib80211_tkip_decrypt()
403 hdr->addr2); in lib80211_tkip_decrypt()
414 hdr->addr2, keyidx); in lib80211_tkip_decrypt()
424 hdr->addr2, tkey->rx_iv32, tkey->rx_iv16, in lib80211_tkip_decrypt()
432 tkip_mixing_phase1(tkey->rx_ttak, tkey->key, hdr->addr2, iv32); in lib80211_tkip_decrypt()
455 hdr->addr2); in lib80211_tkip_decrypt()
516 memcpy(hdr + ETH_ALEN, hdr11->addr2, ETH_ALEN); /* SA */ in michael_mic_hdr()
528 memcpy(hdr + ETH_ALEN, hdr11->addr2, ETH_ALEN); /* SA */ in michael_mic_hdr()
578 memcpy(ev.src_addr.sa_data, hdr->addr2, ETH_ALEN); in lib80211_michael_mic_failure()
[all …]
/kernel/linux/linux-5.10/fs/jfs/
Djfs_types.h54 __le32 addr2; member
69 pxd->addr2 = cpu_to_le32(addr & 0xffffffff); in PXDaddress()
81 return (n << 8) + le32_to_cpu(pxd->addr2); in addressPXD()
Djfs_dtree.h103 __le32 addr2; /* 4: lower 32 bits of leaf page address -OR- member
116 (dir_table_slot)->addr2 = __cpu_to_le32((address64) & 0xffffffff);\
120 ( ((s64)((dts)->addr1)) << 32 | __le32_to_cpu((dts)->addr2) )
/kernel/linux/linux-5.10/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt_tkip.c287 tkip_mixing_phase1(tkey->tx_ttak, tkey->key, hdr->addr2, in ieee80211_tkip_encrypt()
360 " flag from %pM\n", hdr->addr2); in ieee80211_tkip_decrypt()
374 " key\n", hdr->addr2, keyidx); in ieee80211_tkip_decrypt()
388 "%08x%04x\n", hdr->addr2, in ieee80211_tkip_decrypt()
396 tkip_mixing_phase1(tkey->rx_ttak, tkey->key, hdr->addr2, iv32); in ieee80211_tkip_decrypt()
423 "%pM\n", hdr->addr2); in ieee80211_tkip_decrypt()
482 memcpy(hdr + ETH_ALEN, hdr11->addr2, ETH_ALEN); /* SA */ in michael_mic_hdr()
494 memcpy(hdr + ETH_ALEN, hdr11->addr2, ETH_ALEN); /* SA */ in michael_mic_hdr()
550 memcpy(ev.src_addr.sa_data, hdr->addr2, ETH_ALEN); in ieee80211_michael_mic_failure()
584 hdr->addr2, keyidx); in ieee80211_michael_mic_verify()
/kernel/linux/linux-5.10/drivers/staging/rtl8192e/
Drtllib_crypt_tkip.c287 tkip_mixing_phase1(tkey->tx_ttak, tkey->key, hdr->addr2, in rtllib_tkip_encrypt()
367 hdr->addr2); in rtllib_tkip_decrypt()
382 hdr->addr2, keyidx); in rtllib_tkip_decrypt()
397 hdr->addr2, tkey->rx_iv32, in rtllib_tkip_decrypt()
407 hdr->addr2, iv32); in rtllib_tkip_decrypt()
434 hdr->addr2); in rtllib_tkip_decrypt()
493 ether_addr_copy(hdr + ETH_ALEN, hdr11->addr2); /* SA */ in michael_mic_hdr()
505 ether_addr_copy(hdr + ETH_ALEN, hdr11->addr2); /* SA */ in michael_mic_hdr()
558 ether_addr_copy(ev.src_addr.sa_data, hdr->addr2); in rtllib_michael_mic_failure()
590 hdr->addr2, keyidx); in rtllib_michael_mic_verify()
/kernel/linux/linux-5.10/net/rds/
Dthreads.c268 const struct in6_addr *addr2) in rds_addr_cmp() argument
275 a2 = (__be64 *)addr2; in rds_addr_cmp()
297 if (addr1->s6_addr32[i] != addr2->s6_addr32[i]) { in rds_addr_cmp()
299 b = ntohl(addr2->s6_addr32[i]); in rds_addr_cmp()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dtest_tc_tunnel.sh78 ip netns exec "${ns1}" timeout 2 nc "${netcat_opt}" -w 1 "${addr2}" "${port}" < "${infile}"
147 readonly addr2="${ns2_v4}"
158 readonly addr2="${ns2_v6}"
177 echo "encap ${addr1} to ${addr2}, type ${tuntype}, mac ${mac} len ${datalen}"
228 link_addr2="${addr2}"
/kernel/linux/linux-5.10/arch/arm64/kernel/
Dmte.c55 char *addr1, *addr2; in memcmp_pages() local
59 addr2 = page_address(page2); in memcmp_pages()
60 ret = memcmp(addr1, addr2, PAGE_SIZE); in memcmp_pages()
73 return addr1 != addr2; in memcmp_pages()
/kernel/linux/linux-5.10/drivers/ata/
Dpata_hpt37x.c412 u32 addr1, addr2; in hpt370_set_mode() local
417 addr2 = 0x51 + 4 * ap->port_no; in hpt370_set_mode()
420 pci_read_config_byte(pdev, addr2, &fast); in hpt370_set_mode()
423 pci_write_config_byte(pdev, addr2, fast); in hpt370_set_mode()
506 u32 addr1, addr2; in hpt372_set_mode() local
511 addr2 = 0x51 + 4 * ap->port_no; in hpt372_set_mode()
514 pci_read_config_byte(pdev, addr2, &fast); in hpt372_set_mode()
516 pci_write_config_byte(pdev, addr2, fast); in hpt372_set_mode()
/kernel/linux/linux-5.10/arch/powerpc/kernel/ptrace/
Dptrace-adv.c158 if (bp_info->addr2 >= TASK_SIZE) in set_instruction_bp()
165 child->thread.debug.iac2 = bp_info->addr2; in set_instruction_bp()
176 child->thread.debug.iac4 = bp_info->addr2; in set_instruction_bp()
407 if (~((unsigned long)bp_info->addr2) >= TASK_SIZE) in set_dac_range()
413 if (bp_info->addr2 >= TASK_SIZE) in set_dac_range()
426 child->thread.debug.dac2 = bp_info->addr2; in set_dac_range()

123456789