/linux-6.1.9/include/linux/ |
D | find.h | 11 unsigned long _find_next_bit(const unsigned long *addr1, unsigned long nbits, 13 unsigned long _find_next_and_bit(const unsigned long *addr1, const unsigned long *addr2, 15 unsigned long _find_next_andnot_bit(const unsigned long *addr1, const unsigned long *addr2, 21 unsigned long __find_nth_and_bit(const unsigned long *addr1, const unsigned long *addr2, 23 unsigned long __find_nth_andnot_bit(const unsigned long *addr1, const unsigned long *addr2, 25 extern unsigned long _find_first_and_bit(const unsigned long *addr1, 78 unsigned long find_next_and_bit(const unsigned long *addr1, in find_next_and_bit() argument 88 val = *addr1 & *addr2 & GENMASK(size - 1, offset); in find_next_and_bit() 92 return _find_next_and_bit(addr1, addr2, size, offset); in find_next_and_bit() 109 unsigned long find_next_andnot_bit(const unsigned long *addr1, in find_next_andnot_bit() argument [all …]
|
D | etherdevice.h | 346 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() 354 const u16 *a = (const u16 *)addr1; in ether_addr_equal() 375 static inline bool ether_addr_equal_64bits(const u8 *addr1, const u8 *addr2) in ether_addr_equal_64bits() argument 378 u64 fold = (*(const u64 *)addr1) ^ (*(const u64 *)addr2); in ether_addr_equal_64bits() 386 return ether_addr_equal(addr1, addr2); in ether_addr_equal_64bits() 399 static inline bool ether_addr_equal_unaligned(const u8 *addr1, const u8 *addr2) in ether_addr_equal_unaligned() argument 402 return ether_addr_equal(addr1, addr2); in ether_addr_equal_unaligned() 404 return memcmp(addr1, addr2, ETH_ALEN) == 0; in ether_addr_equal_unaligned() [all …]
|
/linux-6.1.9/tools/include/linux/ |
D | find.h | 11 unsigned long _find_next_bit(const unsigned long *addr1, unsigned long nbits, 13 unsigned long _find_next_and_bit(const unsigned long *addr1, const unsigned long *addr2, 18 extern unsigned long _find_first_and_bit(const unsigned long *addr1, 62 unsigned long find_next_and_bit(const unsigned long *addr1, in find_next_and_bit() argument 72 val = *addr1 & *addr2 & GENMASK(size - 1, offset); in find_next_and_bit() 76 return _find_next_and_bit(addr1, addr2, size, offset); in find_next_and_bit() 141 unsigned long find_first_and_bit(const unsigned long *addr1, in find_first_and_bit() argument 146 unsigned long val = *addr1 & *addr2 & GENMASK(size - 1, 0); in find_first_and_bit() 151 return _find_first_and_bit(addr1, addr2, size); in find_first_and_bit()
|
/linux-6.1.9/arch/xtensa/kernel/ |
D | smp.c | 469 unsigned long addr1; member 496 local_flush_tlb_page(fd->vma, fd->addr1); in ipi_flush_tlb_page() 503 .addr1 = addr, in flush_tlb_page() 511 local_flush_tlb_range(fd->vma, fd->addr1, fd->addr2); in ipi_flush_tlb_range() 519 .addr1 = start, in flush_tlb_range() 528 local_flush_tlb_kernel_range(fd->addr1, fd->addr2); in ipi_flush_tlb_kernel_range() 534 .addr1 = start, in flush_tlb_kernel_range() 555 local_flush_cache_page(fd->vma, fd->addr1, fd->addr2); in ipi_flush_cache_page() 563 .addr1 = address, in flush_cache_page() 572 local_flush_cache_range(fd->vma, fd->addr1, fd->addr2); in ipi_flush_cache_range() [all …]
|
/linux-6.1.9/lib/ |
D | find_bit.c | 110 unsigned long _find_first_and_bit(const unsigned long *addr1, in _find_first_and_bit() argument 114 return FIND_FIRST_BIT(addr1[idx] & addr2[idx], /* nop */, size); in _find_first_and_bit() 144 unsigned long __find_nth_and_bit(const unsigned long *addr1, const unsigned long *addr2, in __find_nth_and_bit() argument 147 return FIND_NTH_BIT(addr1[idx] & addr2[idx], size, n); in __find_nth_and_bit() 151 unsigned long __find_nth_andnot_bit(const unsigned long *addr1, const unsigned long *addr2, in __find_nth_andnot_bit() argument 154 return FIND_NTH_BIT(addr1[idx] & ~addr2[idx], size, n); in __find_nth_andnot_bit() 159 unsigned long _find_next_and_bit(const unsigned long *addr1, const unsigned long *addr2, in _find_next_and_bit() argument 162 return FIND_NEXT_BIT(addr1[idx] & addr2[idx], /* nop */, nbits, start); in _find_next_and_bit() 168 unsigned long _find_next_andnot_bit(const unsigned long *addr1, const unsigned long *addr2, in _find_next_andnot_bit() argument 171 return FIND_NEXT_BIT(addr1[idx] & ~addr2[idx], /* nop */, nbits, start); in _find_next_andnot_bit()
|
/linux-6.1.9/arch/sh/kernel/cpu/sh3/ |
D | probe.c | 18 unsigned long addr0, addr1, data0, data1, data2, data3; in cpu_probe() local 27 addr1 = CACHE_OC_ADDRESS_ARRAY + (1 << 12); in cpu_probe() 32 data1 = __raw_readl(addr1); in cpu_probe() 33 __raw_writel(data1&~(SH_CACHE_VALID|SH_CACHE_UPDATED), addr1); in cpu_probe() 39 data1 = __raw_readl(addr1); in cpu_probe() 41 __raw_writel(data2, addr1); in cpu_probe() 46 __raw_writel(data2&~SH_CACHE_VALID, addr1); in cpu_probe()
|
/linux-6.1.9/arch/sh/mm/ |
D | tlb-debugfs.c | 42 unsigned long addr1, addr2, data1, data2; in tlb_seq_show() local 55 addr1 = MMU_ITLB_ADDRESS_ARRAY; in tlb_seq_show() 61 addr1 = MMU_UTLB_ADDRESS_ARRAY; in tlb_seq_show() 78 addr1 = MMU_ITLB_ADDRESS_ARRAY; in tlb_seq_show() 84 addr1 = MMU_UTLB_ADDRESS_ARRAY; in tlb_seq_show() 100 val = __raw_readl(addr1 | (entry << MMU_TLB_ENTRY_SHIFT)); in tlb_seq_show()
|
/linux-6.1.9/Documentation/translations/zh_CN/core-api/ |
D | unaligned-memory-access.rst | 132 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))); 140 const u16 *a = (const u16 *)addr1; 147 边界上访问内存时,对a[0]的引用导致从地址addr1开始的2个字节(16位)被读取。 149 想一想,如果addr1是一个奇怪的地址,如0x10003,会发生什么?(提示:这将是一个非对齐访
|
/linux-6.1.9/arch/sh/kernel/ |
D | smp.c | 377 unsigned long addr1; member 385 local_flush_tlb_range(fd->vma, fd->addr1, fd->addr2); in flush_tlb_range_ipi() 398 fd.addr1 = start; in flush_tlb_range() 415 local_flush_tlb_kernel_range(fd->addr1, fd->addr2); in flush_tlb_kernel_range_ipi() 422 fd.addr1 = start; in flush_tlb_kernel_range() 431 local_flush_tlb_page(fd->vma, fd->addr1); in flush_tlb_page_ipi() 442 fd.addr1 = page; in flush_tlb_page() 457 local_flush_tlb_one(fd->addr1, fd->addr2); in flush_tlb_one_ipi() 464 fd.addr1 = asid; in flush_tlb_one()
|
/linux-6.1.9/drivers/pci/controller/cadence/ |
D | pcie-cadence.c | 36 u32 addr0, addr1, desc0, desc1; in cdns_pcie_set_outbound_region() local 44 addr1 = upper_32_bits(pci_addr); in cdns_pcie_set_outbound_region() 47 cdns_pcie_writel(pcie, CDNS_PCIE_AT_OB_REGION_PCI_ADDR1(r), addr1); in cdns_pcie_set_outbound_region() 97 addr1 = upper_32_bits(cpu_addr); in cdns_pcie_set_outbound_region() 100 cdns_pcie_writel(pcie, CDNS_PCIE_AT_OB_REGION_CPU_ADDR1(r), addr1); in cdns_pcie_set_outbound_region() 107 u32 addr0, addr1, desc0, desc1; in cdns_pcie_set_outbound_region_for_normal_msg() local 127 addr1 = upper_32_bits(cpu_addr); in cdns_pcie_set_outbound_region_for_normal_msg() 134 cdns_pcie_writel(pcie, CDNS_PCIE_AT_OB_REGION_CPU_ADDR1(r), addr1); in cdns_pcie_set_outbound_region_for_normal_msg()
|
D | pcie-cadence-host.c | 197 u32 addr0, addr1, aperture, value; in cdns_pcie_host_bar_ib_config() local 207 addr1 = upper_32_bits(cpu_addr); in cdns_pcie_host_bar_ib_config() 209 cdns_pcie_writel(pcie, CDNS_PCIE_AT_IB_RP_BAR_ADDR1(bar), addr1); in cdns_pcie_host_bar_ib_config() 411 u32 addr0, addr1, desc1; in cdns_pcie_host_init_address_translation() local 423 addr1 = 0; /* Should be programmed to zero. */ in cdns_pcie_host_init_address_translation() 425 cdns_pcie_writel(pcie, CDNS_PCIE_AT_OB_REGION_PCI_ADDR1(0), addr1); in cdns_pcie_host_init_address_translation() 433 addr1 = upper_32_bits(cpu_addr); in cdns_pcie_host_init_address_translation() 435 cdns_pcie_writel(pcie, CDNS_PCIE_AT_OB_REGION_CPU_ADDR1(0), addr1); in cdns_pcie_host_init_address_translation()
|
/linux-6.1.9/tools/lib/ |
D | find_bit.c | 84 unsigned long _find_first_and_bit(const unsigned long *addr1, in _find_first_and_bit() argument 88 return FIND_FIRST_BIT(addr1[idx] & addr2[idx], /* nop */, size); in _find_first_and_bit() 110 unsigned long _find_next_and_bit(const unsigned long *addr1, const unsigned long *addr2, in _find_next_and_bit() argument 113 return FIND_NEXT_BIT(addr1[idx] & addr2[idx], /* nop */, nbits, start); in _find_next_and_bit()
|
/linux-6.1.9/tools/testing/selftests/net/ |
D | udpgro.sh | 71 local addr1 addr2 pid family="" ipt_cmd=ip6tables 79 addr1=192.168.1.1 82 addr1=2001:db8::1 90 …ip netns exec "${PEER_NS}" $ipt_cmd -t nat -I PREROUTING -d ${addr1} -j DNAT --to-destination ${ad… 94 ip netns exec "${PEER_NS}" ./udpgso_bench_rx -G ${family} -b ${addr1} -n 0 &
|
/linux-6.1.9/kernel/kcsan/ |
D | encoding.h | 93 static __always_inline bool matching_access(unsigned long addr1, size_t size1, in matching_access() argument 96 unsigned long end_range1 = addr1 + size1 - 1; in matching_access() 99 return addr1 <= end_range2 && addr2 <= end_range1; in matching_access()
|
/linux-6.1.9/net/sctp/ |
D | ipv6.c | 66 static int sctp_v6_cmp_addr(const union sctp_addr *addr1, 623 static int __sctp_v6_cmp_addr(const union sctp_addr *addr1, in __sctp_v6_cmp_addr() argument 626 if (addr1->sa.sa_family != addr2->sa.sa_family) { in __sctp_v6_cmp_addr() 627 if (addr1->sa.sa_family == AF_INET && in __sctp_v6_cmp_addr() 631 addr1->v4.sin_addr.s_addr) in __sctp_v6_cmp_addr() 635 addr1->sa.sa_family == AF_INET6 && in __sctp_v6_cmp_addr() 636 ipv6_addr_v4mapped(&addr1->v6.sin6_addr) && in __sctp_v6_cmp_addr() 637 addr1->v6.sin6_addr.s6_addr32[3] == in __sctp_v6_cmp_addr() 644 if (!ipv6_addr_equal(&addr1->v6.sin6_addr, &addr2->v6.sin6_addr)) in __sctp_v6_cmp_addr() 648 if ((ipv6_addr_type(&addr1->v6.sin6_addr) & IPV6_ADDR_LINKLOCAL) && in __sctp_v6_cmp_addr() [all …]
|
/linux-6.1.9/drivers/net/wireless/intersil/hostap/ |
D | hostap_80211_rx.c | 52 printk(KERN_DEBUG " A1=%pM", hdr->addr1); in hostap_dump_rx_80211() 285 memcpy(entry->dst_addr, hdr->addr1, ETH_ALEN); in prism2_frag_cache_get() 290 hdr->addr1); in prism2_frag_cache_get() 312 entry = prism2_frag_cache_find(local, seq, -1, hdr->addr2, hdr->addr1); in prism2_frag_cache_invalidate() 565 if (!ether_addr_equal(hdr->addr1, local->dev->dev_addr) && in hostap_rx_frame_wds() 566 (hdr->addr1[0] != 0xff || hdr->addr1[1] != 0xff || in hostap_rx_frame_wds() 567 hdr->addr1[2] != 0xff || hdr->addr1[3] != 0xff || in hostap_rx_frame_wds() 568 hdr->addr1[4] != 0xff || hdr->addr1[5] != 0xff)) { in hostap_rx_frame_wds() 574 hdr->addr1); in hostap_rx_frame_wds() 624 ether_addr_equal(hdr->addr1, dev->dev_addr) && in hostap_is_eapol_frame() [all …]
|
D | hostap_80211_tx.c | 49 printk(KERN_DEBUG " A1=%pM", hdr->addr1); in hostap_dump_tx_80211() 179 eth_broadcast_addr(hdr.addr1); in hostap_data_start_xmit() 181 memcpy(&hdr.addr1, iface->u.wds.remote_addr, in hostap_data_start_xmit() 184 memcpy(&hdr.addr1, local->bssid, ETH_ALEN); in hostap_data_start_xmit() 190 skb_copy_from_linear_data(skb, &hdr.addr1, ETH_ALEN); in hostap_data_start_xmit() 197 memcpy(&hdr.addr1, to_assoc_ap ? in hostap_data_start_xmit() 204 skb_copy_from_linear_data(skb, &hdr.addr1, ETH_ALEN); in hostap_data_start_xmit() 337 local->dev->name, hdr->addr1); in hostap_tx_encrypt()
|
/linux-6.1.9/arch/csky/abiv1/inc/abi/ |
D | page.h | 7 static inline unsigned long pages_do_alias(unsigned long addr1, in pages_do_alias() argument 10 return (addr1 ^ addr2) & (SHMLBA-1); in pages_do_alias()
|
/linux-6.1.9/arch/openrisc/kernel/ |
D | smp.c | 247 unsigned long addr1; member 255 local_flush_tlb_page(NULL, fd->addr1); in ipi_flush_tlb_page() 262 local_flush_tlb_range(NULL, fd->addr1, fd->addr2); in ipi_flush_tlb_range() 284 fd.addr1 = start; in smp_flush_tlb_range()
|
/linux-6.1.9/drivers/net/ethernet/apm/xgene-v2/ |
D | mac.c | 69 u32 addr0, addr1; in xge_mac_set_station_addr() local 73 addr1 = (dev_addr[5] << 24) | (dev_addr[4] << 16); in xge_mac_set_station_addr() 76 xge_wr_csr(pdata, STATION_ADDR1, addr1); in xge_mac_set_station_addr()
|
/linux-6.1.9/arch/mips/kernel/ |
D | smp.c | 551 unsigned long addr1; member 559 local_flush_tlb_range(fd->vma, fd->addr1, fd->addr2); in flush_tlb_range_ipi() 587 .addr1 = start, in flush_tlb_range() 616 local_flush_tlb_kernel_range(fd->addr1, fd->addr2); in flush_tlb_kernel_range_ipi() 622 .addr1 = start, in flush_tlb_kernel_range() 633 local_flush_tlb_page(fd->vma, fd->addr1); in flush_tlb_page_ipi() 655 .addr1 = page, in flush_tlb_page()
|
/linux-6.1.9/arch/loongarch/kernel/ |
D | smp.c | 571 unsigned long addr1; member 579 local_flush_tlb_range(fd->vma, fd->addr1, fd->addr2); in flush_tlb_range_ipi() 590 .addr1 = start, in flush_tlb_range() 611 local_flush_tlb_kernel_range(fd->addr1, fd->addr2); in flush_tlb_kernel_range_ipi() 617 .addr1 = start, in flush_tlb_kernel_range() 628 local_flush_tlb_page(fd->vma, fd->addr1); in flush_tlb_page_ipi() 637 .addr1 = page, in flush_tlb_page()
|
/linux-6.1.9/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_tx.c | 184 "TX packet to %pM\n", header->addr1); in ieee80211_encrypt_fragment() 301 if (is_multicast_ether_addr(hdr->addr1)) in ieee80211_tx_query_agg_cap() 308 if (!GetTs(ieee, (struct ts_common_info **)(&pTxTs), hdr->addr1, skb->priority, TX_DIR, true)) { in ieee80211_tx_query_agg_cap() 620 memcpy(&header.addr1, ieee->current_network.bssid, ETH_ALEN); in ieee80211_xmit() 627 memcpy(&header.addr1, dest, ETH_ALEN); in ieee80211_xmit() 637 if (is_multicast_ether_addr(header.addr1)) { in ieee80211_xmit() 800 if (is_multicast_ether_addr(header.addr1)) in ieee80211_xmit() 802 if (is_broadcast_ether_addr(header.addr1)) in ieee80211_xmit() 814 ieee80211_query_seqnum(ieee, txb->fragments[0], header.addr1); in ieee80211_xmit()
|
/linux-6.1.9/net/rds/ |
D | threads.c | 269 int rds_addr_cmp(const struct in6_addr *addr1, in rds_addr_cmp() argument 276 a1 = (__be64 *)addr1; in rds_addr_cmp() 299 if (addr1->s6_addr32[i] != addr2->s6_addr32[i]) { in rds_addr_cmp() 300 a = ntohl(addr1->s6_addr32[i]); in rds_addr_cmp()
|
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/bus/ |
D | hwsq.h | 35 hwsq_reg2(u32 addr1, u32 addr2) in hwsq_reg2() argument 40 .addr = addr1, in hwsq_reg2() 41 .stride = addr2 - addr1, in hwsq_reg2()
|