/linux/arch/xtensa/kernel/ |
A D | smp.c | 462 unsigned long addr1; member 489 local_flush_tlb_page(fd->vma, fd->addr1); in ipi_flush_tlb_page() 496 .addr1 = addr, in flush_tlb_page() 512 .addr1 = start, in flush_tlb_range() 527 .addr1 = start, in flush_tlb_kernel_range() 556 .addr1 = address, in flush_cache_page() 573 .addr1 = start, in flush_cache_range() 582 local_flush_icache_range(fd->addr1, fd->addr2); in ipi_flush_icache_range() 588 .addr1 = start, in flush_icache_range() 607 .addr1 = start, in system_invalidate_dcache_range() [all …]
|
/linux/arch/sh/kernel/cpu/sh3/ |
A 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/include/linux/ |
A 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[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/arch/sh/mm/ |
A 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/arch/sh/kernel/ |
A 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/Documentation/translations/zh_CN/core-api/ |
A 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/drivers/pci/controller/cadence/ |
A 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()
|
A D | pcie-cadence-host.c | 189 u32 addr0, addr1, aperture, value; in cdns_pcie_host_bar_ib_config() local 199 addr1 = upper_32_bits(cpu_addr); in cdns_pcie_host_bar_ib_config() 201 cdns_pcie_writel(pcie, CDNS_PCIE_AT_IB_RP_BAR_ADDR1(bar), addr1); in cdns_pcie_host_bar_ib_config() 403 u32 addr0, addr1, desc1; in cdns_pcie_host_init_address_translation() local 415 addr1 = 0; /* Should be programmed to zero. */ in cdns_pcie_host_init_address_translation() 417 cdns_pcie_writel(pcie, CDNS_PCIE_AT_OB_REGION_PCI_ADDR1(0), addr1); in cdns_pcie_host_init_address_translation() 425 addr1 = upper_32_bits(cpu_addr); in cdns_pcie_host_init_address_translation() 427 cdns_pcie_writel(pcie, CDNS_PCIE_AT_OB_REGION_CPU_ADDR1(0), addr1); in cdns_pcie_host_init_address_translation()
|
/linux/tools/include/asm-generic/bitops/ |
A D | find.h | 5 extern unsigned long _find_next_bit(const unsigned long *addr1, 52 unsigned long find_next_and_bit(const unsigned long *addr1, 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 D | ipv6.c | 66 static int sctp_v6_cmp_addr(const union sctp_addr *addr1, 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() 662 return __sctp_v6_cmp_addr(addr1, addr2) && in sctp_v6_cmp_addr() 663 addr1->v6.sin6_port == addr2->v6.sin6_port; in sctp_v6_cmp_addr() 948 af1 = sctp_get_af_specific(addr1->sa.sa_family); in sctp_inet6_cmp_addr() [all …]
|
/linux/tools/testing/selftests/net/ |
A D | udpgro.sh | 69 local addr1 addr2 pid family="" ipt_cmd=ip6tables 77 addr1=192.168.1.1 80 addr1=2001:db8::1 88 …ip netns exec "${PEER_NS}" $ipt_cmd -t nat -I PREROUTING -d ${addr1} -j DNAT --to-destination ${ad… 92 ip netns exec "${PEER_NS}" ./udpgso_bench_rx -G ${family} -b ${addr1} -n 0 &
|
/linux/include/asm-generic/bitops/ |
A D | find.h | 5 extern unsigned long _find_next_bit(const unsigned long *addr1, 52 unsigned long find_next_and_bit(const unsigned long *addr1, 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/kernel/kcsan/ |
A 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/drivers/net/wireless/intersil/hostap/ |
A 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() 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() 629 ether_addr_equal(hdr->addr1, dev->dev_addr)) { in hostap_is_eapol_frame() 844 memcpy(dst, hdr->addr1, ETH_ALEN); in hostap_80211_rx() [all …]
|
A 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/tools/lib/ |
A D | find_bit.c | 31 unsigned long _find_next_bit(const unsigned long *addr1, in _find_next_bit() argument 41 tmp = addr1[start / BITS_PER_LONG]; in _find_next_bit() 67 tmp = addr1[start / BITS_PER_LONG]; in _find_next_bit()
|
/linux/arch/mips/kernel/ |
A D | smp.c | 545 unsigned long addr1; member 553 local_flush_tlb_range(fd->vma, fd->addr1, fd->addr2); in flush_tlb_range_ipi() 581 .addr1 = start, in flush_tlb_range() 610 local_flush_tlb_kernel_range(fd->addr1, fd->addr2); in flush_tlb_kernel_range_ipi() 616 .addr1 = start, in flush_tlb_kernel_range() 627 local_flush_tlb_page(fd->vma, fd->addr1); in flush_tlb_page_ipi() 649 .addr1 = page, in flush_tlb_page()
|
/linux/lib/ |
A D | find_bit.c | 32 unsigned long _find_next_bit(const unsigned long *addr1, in _find_next_bit() argument 41 tmp = addr1[start / BITS_PER_LONG]; in _find_next_bit() 60 tmp = addr1[start / BITS_PER_LONG]; in _find_next_bit()
|
/linux/drivers/staging/rtl8192u/ieee80211/ |
A 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/arch/openrisc/kernel/ |
A D | smp.c | 253 unsigned long addr1; member 261 local_flush_tlb_page(NULL, fd->addr1); in ipi_flush_tlb_page() 268 local_flush_tlb_range(NULL, fd->addr1, fd->addr2); in ipi_flush_tlb_range() 290 fd.addr1 = start; in smp_flush_tlb_range()
|
/linux/drivers/net/ethernet/apm/xgene-v2/ |
A 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/net/rds/ |
A 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/arch/csky/abiv1/inc/abi/ |
A 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/drivers/ata/ |
A D | pata_hpt37x.c | 414 u32 addr1, addr2; in hpt370_set_mode() local 418 addr1 = 0x40 + 4 * (adev->devno + 2 * ap->port_no); in hpt370_set_mode() 437 pci_read_config_dword(pdev, addr1, ®); in hpt370_set_mode() 439 pci_write_config_dword(pdev, addr1, reg); in hpt370_set_mode() 508 u32 addr1, addr2; in hpt372_set_mode() local 512 addr1 = 0x40 + 4 * (adev->devno + 2 * ap->port_no); in hpt372_set_mode() 530 pci_read_config_dword(pdev, addr1, ®); in hpt372_set_mode() 532 pci_write_config_dword(pdev, addr1, reg); in hpt372_set_mode()
|
/linux/drivers/pci/controller/ |
A D | pcie-rockchip-ep.c | 76 u32 addr0, addr1, desc0, desc1; in rockchip_pcie_prog_ep_ob_atu() local 87 addr1 = upper_32_bits(is_nor_msg ? cpu_addr : pci_addr); in rockchip_pcie_prog_ep_ob_atu() 104 rockchip_pcie_write(rockchip, addr1, in rockchip_pcie_prog_ep_ob_atu() 115 addr1 = upper_32_bits(cpu_addr); in rockchip_pcie_prog_ep_ob_atu() 121 rockchip_pcie_write(rockchip, addr1, in rockchip_pcie_prog_ep_ob_atu() 170 u32 addr0, addr1, reg, cfg, b, aperture, ctrl; in rockchip_pcie_ep_set_bar() local 213 addr1 = upper_32_bits(bar_phys); in rockchip_pcie_ep_set_bar() 224 rockchip_pcie_write(rockchip, addr1, in rockchip_pcie_ep_set_bar()
|