Home
last modified time | relevance | path

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

123456789

/linux/arch/xtensa/kernel/
A Dsmp.c463 unsigned long addr2; member
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()
557 .addr2 = pfn, in flush_cache_page()
574 .addr2 = end, in flush_cache_range()
582 local_flush_icache_range(fd->addr1, fd->addr2); in ipi_flush_icache_range()
589 .addr2 = end, in flush_icache_range()
600 __invalidate_dcache_range(fd->addr1, fd->addr2); in ipi_invalidate_dcache_range()
608 .addr2 = size, in system_invalidate_dcache_range()
[all …]
/linux/include/linux/
A Detherdevice.h346 static inline bool ether_addr_equal(const u8 *addr1, const u8 *addr2) in ether_addr_equal() argument
349 u32 fold = ((*(const u32 *)addr1) ^ (*(const u32 *)addr2)) | in ether_addr_equal()
350 ((*(const u16 *)(addr1 + 4)) ^ (*(const u16 *)(addr2 + 4))); in ether_addr_equal()
355 const u16 *b = (const u16 *)addr2; in ether_addr_equal()
376 const u8 addr2[6+2]) in ether_addr_equal_64bits()
379 u64 fold = (*(const u64 *)addr1) ^ (*(const u64 *)addr2); in ether_addr_equal_64bits()
387 return ether_addr_equal(addr1, addr2); in ether_addr_equal_64bits()
403 return ether_addr_equal(addr1, addr2); in ether_addr_equal_unaligned()
405 return memcmp(addr1, addr2, ETH_ALEN) == 0; in ether_addr_equal_unaligned()
419 static inline bool ether_addr_equal_masked(const u8 *addr1, const u8 *addr2, in ether_addr_equal_masked() argument
[all …]
/linux/tools/lib/
A Dfind_bit.c32 const unsigned long *addr2, unsigned long nbits, in _find_next_bit() argument
42 if (addr2) in _find_next_bit()
43 tmp &= addr2[start / BITS_PER_LONG]; in _find_next_bit()
68 if (addr2) in _find_next_bit()
69 tmp &= addr2[start / BITS_PER_LONG]; in _find_next_bit()
/linux/arch/sh/mm/
A 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()
/linux/lib/
A Dfind_bit.c33 const unsigned long *addr2, unsigned long nbits, in _find_next_bit() argument
42 if (addr2) in _find_next_bit()
43 tmp &= addr2[start / BITS_PER_LONG]; in _find_next_bit()
61 if (addr2) in _find_next_bit()
62 tmp &= addr2[start / BITS_PER_LONG]; in _find_next_bit()
/linux/tools/testing/selftests/net/
A 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} && \
/linux/tools/include/asm-generic/bitops/
A Dfind.h6 const unsigned long *addr2, unsigned long nbits,
53 const unsigned long *addr2, unsigned long size, in find_next_and_bit() argument
62 val = *addr1 & *addr2 & GENMASK(size - 1, offset); in find_next_and_bit()
66 return _find_next_bit(addr1, addr2, size, offset, 0UL, 0); in find_next_and_bit()
/linux/arch/sh/kernel/
A 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()
/linux/arch/parisc/kernel/
A Dftrace.c121 unsigned long addr2 = in ftrace_make_call() local
128 addr2 >> 32, in ftrace_make_call()
129 addr2 & 0xffffffff, in ftrace_make_call()
134 addr2 >> 32, in ftrace_make_call()
135 addr2 & 0xffffffff, in ftrace_make_call()
/linux/Documentation/powerpc/
A 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;
/linux/drivers/net/wireless/intersil/hostap/
A 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()
579 *wds = prism2_rx_get_wds(local, hdr->addr2); in hostap_rx_frame_wds()
588 local->dev->name, hdr->addr2); in hostap_rx_frame_wds()
666 local->dev->name, hdr->addr2); in hostap_rx_frame_decrypt()
676 local->dev->name, hdr->addr2, res); in hostap_rx_frame_decrypt()
812 local->dev->name, hdr->addr2); in hostap_80211_rx()
849 memcpy(src, hdr->addr2, ETH_ALEN); in hostap_80211_rx()
859 memcpy(src, hdr->addr2, ETH_ALEN); in hostap_80211_rx()
990 local->dev->name, hdr->addr2); in hostap_80211_rx()
[all …]
A Dhostap_ap.c970 eth_zero_addr(hdr->addr2); in prism2_send_mgmt()
1310 sta = ap_get_sta(local->ap, hdr->addr2); in handle_authen()
1488 dev->name, hdr->addr2, in handle_authen()
1594 dev->name, hdr->addr2, left); in handle_assoc()
1680 hdr->addr2, in handle_assoc()
1696 hdr->addr2, in handle_assoc()
1741 hdr->addr2, reason_code); in handle_deauth()
1801 NULL, 0, hdr->addr2, 0); in ap_handle_data_nullfunc()
2964 dev->name, hdr->addr2, in hostap_handle_sta_rx()
2999 dev->name, hdr->addr2); in hostap_handle_sta_rx()
[all …]
/linux/include/asm-generic/bitops/
A Dfind.h6 const unsigned long *addr2, unsigned long nbits,
53 const unsigned long *addr2, unsigned long size, in find_next_and_bit() argument
62 val = *addr1 & *addr2 & GENMASK(size - 1, offset); in find_next_and_bit()
66 return _find_next_bit(addr1, addr2, size, offset, 0UL, 0); in find_next_and_bit()
/linux/net/sctp/
A Dipv6.c67 const union sctp_addr *addr2);
624 const union sctp_addr *addr2) in __sctp_v6_cmp_addr() argument
628 addr2->sa.sa_family == AF_INET6 && in __sctp_v6_cmp_addr()
629 ipv6_addr_v4mapped(&addr2->v6.sin6_addr) && in __sctp_v6_cmp_addr()
630 addr2->v6.sin6_addr.s6_addr32[3] == in __sctp_v6_cmp_addr()
634 if (addr2->sa.sa_family == AF_INET && in __sctp_v6_cmp_addr()
638 addr2->v4.sin_addr.s_addr) in __sctp_v6_cmp_addr()
660 const union sctp_addr *addr2) in sctp_v6_cmp_addr() argument
662 return __sctp_v6_cmp_addr(addr1, addr2) && in sctp_v6_cmp_addr()
942 const union sctp_addr *addr2, in sctp_inet6_cmp_addr() argument
[all …]
/linux/kernel/kcsan/
A Dencoding.h94 unsigned long addr2, size_t size2) in matching_access() argument
97 unsigned long end_range2 = addr2 + size2 - 1; in matching_access()
99 return addr1 <= end_range2 && addr2 <= end_range1; in matching_access()
/linux/Documentation/translations/zh_CN/core-api/
A Dunaligned-memory-access.rst132 bool ether_addr_equal(const u8 *addr1, const u8 *addr2)
135 u32 fold = ((*(const u32 *)addr1) ^ (*(const u32 *)addr2)) |
136 ((*(const u16 *)(addr1 + 4)) ^ (*(const u16 *)(addr2 + 4)));
141 const u16 *b = (const u16 *)addr2;
/linux/net/wireless/
A 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 …]
/linux/drivers/staging/rtl8192u/ieee80211/
A 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()
A Dieee80211_crypt_ccmp.c131 memcpy(iv + 2, hdr->addr2, ETH_ALEN); in ccmp_init_iv_and_aad()
145 memcpy(&aad[8], &hdr->addr2, ETH_ALEN); in ccmp_init_iv_and_aad()
249 hdr->addr2); in ieee80211_ccmp_decrypt()
263 hdr->addr2, keyidx); in ieee80211_ccmp_decrypt()
279 hdr->addr2, key->rx_pn, pn); in ieee80211_ccmp_decrypt()
312 hdr->addr2); in ieee80211_ccmp_decrypt()
/linux/drivers/staging/rtl8192e/
A 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()
/linux/tools/testing/selftests/bpf/
A Dtest_sock_addr.c880 const struct sockaddr_storage *addr2, int cmp_port) in cmp_addr() argument
885 if (addr1->ss_family != addr2->ss_family) in cmp_addr()
890 four2 = (const struct sockaddr_in *)addr2; in cmp_addr()
895 six2 = (const struct sockaddr_in6 *)addr2; in cmp_addr()
905 const struct sockaddr_storage *addr2, int cmp_port) in cmp_sock_addr() argument
914 return cmp_addr(&addr1, addr2, cmp_port); in cmp_sock_addr()
917 static int cmp_local_ip(int sock1, const struct sockaddr_storage *addr2) in cmp_local_ip() argument
919 return cmp_sock_addr(getsockname, sock1, addr2, /*cmp_port*/ 0); in cmp_local_ip()
924 return cmp_sock_addr(getsockname, sock1, addr2, /*cmp_port*/ 1); in cmp_local_addr()
927 static int cmp_peer_addr(int sock1, const struct sockaddr_storage *addr2) in cmp_peer_addr() argument
[all …]
A Dtest_tc_tunnel.sh78 ip netns exec "${ns1}" timeout 2 nc "${netcat_opt}" -w 1 "${addr2}" "${port}" < "${infile}"
153 readonly addr2="${ns2_v4}"
164 readonly addr2="${ns2_v6}"
183 echo "encap ${addr1} to ${addr2}, type ${tuntype}, mac ${mac} len ${datalen}"
237 link_addr2="${addr2}"
/linux/fs/jfs/
A 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()
/linux/net/rds/
A Dthreads.c270 const struct in6_addr *addr2) in rds_addr_cmp() argument
277 a2 = (__be64 *)addr2; in rds_addr_cmp()
299 if (addr1->s6_addr32[i] != addr2->s6_addr32[i]) { in rds_addr_cmp()
301 b = ntohl(addr2->s6_addr32[i]); in rds_addr_cmp()
/linux/arch/csky/abiv1/inc/abi/
A Dpage.h8 unsigned long addr2) in pages_do_alias() argument
10 return (addr1 ^ addr2) & (SHMLBA-1); in pages_do_alias()

Completed in 35 milliseconds

123456789