Home
last modified time | relevance | path

Searched refs:haddr (Results 1 – 25 of 29) sorted by relevance

12

/Linux-v4.19/mm/
Dhuge_memory.c550 unsigned long haddr = vmf->address & HPAGE_PMD_MASK; in __do_huge_pmd_anonymous_page() local
561 pgtable = pte_alloc_one(vma->vm_mm, haddr); in __do_huge_pmd_anonymous_page()
600 page_add_new_anon_rmap(page, vma, haddr, true); in __do_huge_pmd_anonymous_page()
604 set_pmd_at(vma->vm_mm, haddr, vmf->pmd, entry); in __do_huge_pmd_anonymous_page()
651 struct vm_area_struct *vma, unsigned long haddr, pmd_t *pmd, in set_huge_zero_page() argument
661 set_pmd_at(mm, haddr, pmd, entry); in set_huge_zero_page()
671 unsigned long haddr = vmf->address & HPAGE_PMD_MASK; in do_huge_pmd_anonymous_page() local
673 if (haddr < vma->vm_start || haddr + HPAGE_PMD_SIZE > vma->vm_end) in do_huge_pmd_anonymous_page()
686 pgtable = pte_alloc_one(vma->vm_mm, haddr); in do_huge_pmd_anonymous_page()
708 haddr, vmf->pmd, zero_page); in do_huge_pmd_anonymous_page()
[all …]
Dhugetlb.c3535 unsigned long haddr = address & huge_page_mask(h); in hugetlb_cow() local
3545 set_huge_ptep_writable(vma, haddr, ptep); in hugetlb_cow()
3569 new_page = alloc_huge_page(vma, haddr, outside_reserve); in hugetlb_cow()
3582 unmap_ref_private(mm, vma, old_page, haddr); in hugetlb_cow()
3585 ptep = huge_pte_offset(mm, haddr, huge_page_size(h)); in hugetlb_cow()
3614 mmun_start = haddr; in hugetlb_cow()
3623 ptep = huge_pte_offset(mm, haddr, huge_page_size(h)); in hugetlb_cow()
3628 huge_ptep_clear_flush(vma, haddr, ptep); in hugetlb_cow()
3630 set_huge_pte_at(mm, haddr, ptep, in hugetlb_cow()
3633 hugepage_add_new_anon_rmap(new_page, vma, haddr); in hugetlb_cow()
[all …]
Dmemory.c3325 unsigned long haddr) in transhuge_vma_suitable() argument
3330 if (haddr < vma->vm_start || haddr + HPAGE_PMD_SIZE > vma->vm_end) in transhuge_vma_suitable()
3352 unsigned long haddr = vmf->address & HPAGE_PMD_MASK; in do_set_pmd() local
3357 if (!transhuge_vma_suitable(vma, haddr)) in do_set_pmd()
3393 set_pmd_at(vma->vm_mm, haddr, vmf->pmd, entry); in do_set_pmd()
3395 update_mmu_cache_pmd(vma, haddr, vmf->pmd); in do_set_pmd()
/Linux-v4.19/arch/parisc/kernel/
Dsignal.c234 unsigned long haddr, sigframe_size; in setup_rt_frame() local
316 haddr = A(ksig->ka.sa.sa_handler); in setup_rt_frame()
321 if (haddr & PA_PLABEL_FDESC) { in setup_rt_frame()
323 Elf32_Fdesc __user *ufdesc = (Elf32_Fdesc __user *)A(haddr & ~3); in setup_rt_frame()
330 haddr = fdesc.addr; in setup_rt_frame()
336 Elf64_Fdesc __user *ufdesc = (Elf64_Fdesc __user *)A(haddr & ~3); in setup_rt_frame()
343 haddr = fdesc.addr; in setup_rt_frame()
346 haddr, regs->gr[19], in_syscall); in setup_rt_frame()
358 regs->gr[31] = haddr; in setup_rt_frame()
383 regs->iaoq[0] = haddr | 3; in setup_rt_frame()
/Linux-v4.19/net/bluetooth/
Dhci_sock.c1061 struct sockaddr_hci haddr; in hci_sock_bind() local
1072 memset(&haddr, 0, sizeof(haddr)); in hci_sock_bind()
1073 len = min_t(unsigned int, sizeof(haddr), addr_len); in hci_sock_bind()
1074 memcpy(&haddr, addr, len); in hci_sock_bind()
1076 if (haddr.hci_family != AF_BLUETOOTH) in hci_sock_bind()
1086 switch (haddr.hci_channel) { in hci_sock_bind()
1093 if (haddr.hci_dev != HCI_DEV_NONE) { in hci_sock_bind()
1094 hdev = hci_dev_get(haddr.hci_dev); in hci_sock_bind()
1103 hci_pi(sk)->channel = haddr.hci_channel; in hci_sock_bind()
1140 if (haddr.hci_dev == HCI_DEV_NONE) { in hci_sock_bind()
[all …]
/Linux-v4.19/net/ethernet/
Deth.c212 int eth_header_parse(const struct sk_buff *skb, unsigned char *haddr) in eth_header_parse() argument
215 memcpy(haddr, eth->h_source, ETH_ALEN); in eth_header_parse()
257 const unsigned char *haddr) in eth_header_cache_update() argument
260 haddr, ETH_ALEN); in eth_header_cache_update()
/Linux-v4.19/include/linux/
Dif_ether.h36 int eth_header_parse(const struct sk_buff *skb, unsigned char *haddr);
Detherdevice.h41 int eth_header_parse(const struct sk_buff *skb, unsigned char *haddr);
45 const unsigned char *haddr);
Dnetdevice.h271 int (*parse)(const struct sk_buff *skb, unsigned char *haddr);
275 const unsigned char *haddr);
2882 unsigned char *haddr) in dev_parse_header() argument
2888 return dev->header_ops->parse(skb, haddr); in dev_parse_header()
/Linux-v4.19/arch/arm/include/asm/
Dkvm_mmu.h58 void __iomem **haddr);
60 void **haddr);
/Linux-v4.19/net/sched/
Dsch_teql.c243 char haddr[MAX_ADDR_LEN]; in __teql_resolve() local
245 neigh_ha_snapshot(haddr, n, dev); in __teql_resolve()
247 haddr, NULL, skb->len); in __teql_resolve()
/Linux-v4.19/include/net/
Darp.h64 int arp_mc_map(__be32 addr, u8 *haddr, struct net_device *dev, int dir);
/Linux-v4.19/arch/arm64/include/asm/
Dkvm_mmu.h152 void __iomem **haddr);
154 void **haddr);
/Linux-v4.19/virt/kvm/arm/
Dmmu.c769 unsigned long *haddr, pgprot_t prot) in __create_hyp_private_mapping() argument
812 *haddr = base + offset_in_page(phys_addr); in __create_hyp_private_mapping()
827 void __iomem **haddr) in create_hyp_io_mappings() argument
837 *haddr = *kaddr; in create_hyp_io_mappings()
846 *haddr = NULL; in create_hyp_io_mappings()
850 *haddr = (void __iomem *)addr; in create_hyp_io_mappings()
861 void **haddr) in create_hyp_exec_mappings() argument
871 *haddr = NULL; in create_hyp_exec_mappings()
875 *haddr = (void *)addr; in create_hyp_exec_mappings()
/Linux-v4.19/net/ipv4/
Darp.c188 int arp_mc_map(__be32 addr, u8 *haddr, struct net_device *dev, int dir) in arp_mc_map() argument
194 ip_eth_mc_map(addr, haddr); in arp_mc_map()
197 ip_ib_mc_map(addr, dev->broadcast, haddr); in arp_mc_map()
200 ip_ipgre_mc_map(addr, dev->broadcast, haddr); in arp_mc_map()
204 memcpy(haddr, dev->broadcast, dev->addr_len); in arp_mc_map()
Ddevinet.c947 __u32 haddr = ntohl(addr); in inet_abc_len() local
949 if (IN_CLASSA(haddr)) in inet_abc_len()
951 else if (IN_CLASSB(haddr)) in inet_abc_len()
953 else if (IN_CLASSC(haddr)) in inet_abc_len()
Dip_gre.c911 static int ipgre_header_parse(const struct sk_buff *skb, unsigned char *haddr) in ipgre_header_parse() argument
914 memcpy(haddr, &iph->saddr, 4); in ipgre_header_parse()
/Linux-v4.19/net/ieee802154/
Dsocket.c503 struct ieee802154_addr haddr; in dgram_bind() local
518 ieee802154_addr_from_sa(&haddr, &addr->addr); in dgram_bind()
519 dev = ieee802154_get_dev(sock_net(sk), &haddr); in dgram_bind()
530 ro->src_addr = haddr; in dgram_bind()
/Linux-v4.19/net/phonet/
Daf_phonet.c145 static int pn_header_parse(const struct sk_buff *skb, unsigned char *haddr) in pn_header_parse() argument
148 *haddr = *media; in pn_header_parse()
/Linux-v4.19/drivers/dma/ppc4xx/
Dadma.c3114 dma_addr_t haddr = 0; in ppc440spe_adma_pq_set_src() local
3136 haddr = DMA_RXOR12 << in ppc440spe_adma_pq_set_src()
3140 haddr = DMA_RXOR123 << in ppc440spe_adma_pq_set_src()
3144 haddr = DMA_RXOR124 << in ppc440spe_adma_pq_set_src()
3148 haddr = DMA_RXOR125 << in ppc440spe_adma_pq_set_src()
3152 haddr |= DMA_CUED_XOR_BASE; in ppc440spe_adma_pq_set_src()
3164 haddr = DMA_CUED_XOR_HB; in ppc440spe_adma_pq_set_src()
3179 haddr = DMA_CUED_XOR_HB; in ppc440spe_adma_pq_set_src()
3185 ppc440spe_desc_set_src_addr(iter, chan, 0, haddr, addr); in ppc440spe_adma_pq_set_src()
3195 haddr, addr); in ppc440spe_adma_pq_set_src()
/Linux-v4.19/net/mac802154/
Diface.c488 mac802154_header_parse(const struct sk_buff *skb, unsigned char *haddr) in mac802154_header_parse() argument
498 ieee802154_le64_to_be64(haddr, &hdr.source.extended_addr); in mac802154_header_parse()
/Linux-v4.19/drivers/firewire/
Dnet.c259 const struct net_device *net, const unsigned char *haddr) in fwnet_header_cache_update() argument
261 memcpy((u8 *)hh->hh_data + HH_DATA_OFF(FWNET_HLEN), haddr, net->addr_len); in fwnet_header_cache_update()
264 static int fwnet_header_parse(const struct sk_buff *skb, unsigned char *haddr) in fwnet_header_parse() argument
266 memcpy(haddr, skb->dev->dev_addr, FWNET_ALEN); in fwnet_header_parse()
/Linux-v4.19/drivers/net/wireless/intersil/hostap/
Dhostap_main.c582 unsigned char *haddr) in hostap_80211_header_parse() argument
584 memcpy(haddr, skb_mac_header(skb) + 10, ETH_ALEN); /* addr2 */ in hostap_80211_header_parse()
/Linux-v4.19/drivers/atm/
Dfore200e.h207 u32 haddr : 27 /* tpd DMA addr aligned on 32 byte boundary */
/Linux-v4.19/net/core/
Dneighbour.c2243 char haddr[MAX_ADDR_LEN]; in neigh_fill_info() local
2245 neigh_ha_snapshot(haddr, neigh, neigh->dev); in neigh_fill_info()
2246 if (nla_put(skb, NDA_LLADDR, neigh->dev->addr_len, haddr) < 0) { in neigh_fill_info()

12