Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/arch/parisc/kernel/
Dsignal.c232 unsigned long haddr, sigframe_size; in setup_rt_frame() local
320 haddr = A(ksig->ka.sa.sa_handler); in setup_rt_frame()
325 if (haddr & PA_PLABEL_FDESC) { in setup_rt_frame()
327 Elf32_Fdesc __user *ufdesc = (Elf32_Fdesc __user *)A(haddr & ~3); in setup_rt_frame()
334 haddr = fdesc.addr; in setup_rt_frame()
340 Elf64_Fdesc __user *ufdesc = (Elf64_Fdesc __user *)A(haddr & ~3); in setup_rt_frame()
347 haddr = fdesc.addr; in setup_rt_frame()
350 haddr, regs->gr[19], in_syscall); in setup_rt_frame()
362 regs->gr[31] = haddr; in setup_rt_frame()
387 regs->iaoq[0] = haddr | 3; in setup_rt_frame()
/kernel/linux/linux-5.10/mm/
Dhuge_memory.c586 unsigned long haddr = vmf->address & HPAGE_PMD_MASK; in __do_huge_pmd_anonymous_page() local
637 page_add_new_anon_rmap(page, vma, haddr, true); in __do_huge_pmd_anonymous_page()
640 set_pmd_at(vma->vm_mm, haddr, vmf->pmd, entry); in __do_huge_pmd_anonymous_page()
696 struct vm_area_struct *vma, unsigned long haddr, pmd_t *pmd, in set_huge_zero_page() argument
706 set_pmd_at(mm, haddr, pmd, entry); in set_huge_zero_page()
716 unsigned long haddr = vmf->address & HPAGE_PMD_MASK; in do_huge_pmd_anonymous_page() local
718 if (!transhuge_vma_suitable(vma, haddr)) in do_huge_pmd_anonymous_page()
753 haddr, vmf->pmd, zero_page); in do_huge_pmd_anonymous_page()
763 page = alloc_hugepage_vma(gfp, vma, haddr, HPAGE_PMD_ORDER); in do_huge_pmd_anonymous_page()
1231 unsigned long haddr; in huge_pud_set_accessed() local
[all …]
Dhugetlb.c4154 unsigned long haddr = address & huge_page_mask(h); in hugetlb_cow() local
4165 set_huge_ptep_writable(vma, haddr, ptep); in hugetlb_cow()
4189 new_page = alloc_huge_page(vma, haddr, outside_reserve); in hugetlb_cow()
4215 idx = vma_hugecache_offset(h, vma, haddr); in hugetlb_cow()
4220 unmap_ref_private(mm, vma, old_page, haddr); in hugetlb_cow()
4225 ptep = huge_pte_offset(mm, haddr, huge_page_size(h)); in hugetlb_cow()
4253 mmu_notifier_range_init(&range, MMU_NOTIFY_CLEAR, 0, vma, mm, haddr, in hugetlb_cow()
4254 haddr + huge_page_size(h)); in hugetlb_cow()
4262 ptep = huge_pte_offset(mm, haddr, huge_page_size(h)); in hugetlb_cow()
4267 huge_ptep_clear_flush(vma, haddr, ptep); in hugetlb_cow()
[all …]
Dkhugepaged.c1439 unsigned long haddr = addr & HPAGE_PMD_MASK; in collapse_pte_mapped_thp() local
1440 struct vm_area_struct *vma = find_vma(mm, haddr); in collapse_pte_mapped_thp()
1450 vma->vm_start > haddr || vma->vm_end < haddr + HPAGE_PMD_SIZE) in collapse_pte_mapped_thp()
1463 linear_page_index(vma, haddr)); in collapse_pte_mapped_thp()
1470 pmd = mm_find_pmd(mm, haddr); in collapse_pte_mapped_thp()
1487 start_pte = pte_offset_map_lock(mm, pmd, haddr, &ptl); in collapse_pte_mapped_thp()
1490 for (i = 0, addr = haddr, pte = start_pte; in collapse_pte_mapped_thp()
1514 for (i = 0, addr = haddr, pte = start_pte; in collapse_pte_mapped_thp()
1537 mmu_notifier_range_init(&range, MMU_NOTIFY_CLEAR, 0, NULL, mm, haddr, in collapse_pte_mapped_thp()
1538 haddr + HPAGE_PMD_SIZE); in collapse_pte_mapped_thp()
[all …]
Dmemory.c3879 unsigned long haddr = vmf->address & HPAGE_PMD_MASK; in do_set_pmd() local
3884 if (!transhuge_vma_suitable(vma, haddr)) in do_set_pmd()
3921 set_pmd_at(vma->vm_mm, haddr, vmf->pmd, entry); in do_set_pmd()
3923 update_mmu_cache_pmd(vma, haddr, vmf->pmd); in do_set_pmd()
/kernel/linux/linux-5.10/net/bluetooth/
Dhci_sock.c1098 struct sockaddr_hci haddr; in hci_sock_bind() local
1109 memset(&haddr, 0, sizeof(haddr)); in hci_sock_bind()
1110 len = min_t(unsigned int, sizeof(haddr), addr_len); in hci_sock_bind()
1111 memcpy(&haddr, addr, len); in hci_sock_bind()
1113 if (haddr.hci_family != AF_BLUETOOTH) in hci_sock_bind()
1135 switch (haddr.hci_channel) { in hci_sock_bind()
1142 if (haddr.hci_dev != HCI_DEV_NONE) { in hci_sock_bind()
1143 hdev = hci_dev_get(haddr.hci_dev); in hci_sock_bind()
1152 hci_pi(sk)->channel = haddr.hci_channel; in hci_sock_bind()
1189 if (haddr.hci_dev == HCI_DEV_NONE) { in hci_sock_bind()
[all …]
/kernel/linux/linux-5.10/net/ethernet/
Deth.c217 int eth_header_parse(const struct sk_buff *skb, unsigned char *haddr) in eth_header_parse() argument
220 memcpy(haddr, eth->h_source, ETH_ALEN); in eth_header_parse()
267 const unsigned char *haddr) in eth_header_cache_update() argument
270 haddr, ETH_ALEN); in eth_header_cache_update()
/kernel/linux/linux-5.10/include/linux/
Dhuge_mm.h122 unsigned long haddr) in transhuge_vma_suitable() argument
131 if (haddr < vma->vm_start || haddr + HPAGE_PMD_SIZE > vma->vm_end) in transhuge_vma_suitable()
371 unsigned long haddr) in transhuge_vma_suitable() argument
Dif_ether.h40 int eth_header_parse(const struct sk_buff *skb, unsigned char *haddr);
Detherdevice.h38 int eth_header_parse(const struct sk_buff *skb, unsigned char *haddr);
42 const unsigned char *haddr);
Dnetdevice.h281 int (*parse)(const struct sk_buff *skb, unsigned char *haddr);
285 const unsigned char *haddr);
3171 unsigned char *haddr) in dev_parse_header() argument
3177 return dev->header_ops->parse(skb, haddr); in dev_parse_header()
/kernel/linux/linux-5.10/arch/arm64/kvm/
Dmmu.c250 unsigned long *haddr, in __create_hyp_private_mapping() argument
288 *haddr = base + offset_in_page(phys_addr); in __create_hyp_private_mapping()
302 void __iomem **haddr) in create_hyp_io_mappings() argument
312 *haddr = *kaddr; in create_hyp_io_mappings()
321 *haddr = NULL; in create_hyp_io_mappings()
325 *haddr = (void __iomem *)addr; in create_hyp_io_mappings()
336 void **haddr) in create_hyp_exec_mappings() argument
346 *haddr = NULL; in create_hyp_exec_mappings()
350 *haddr = (void *)addr; in create_hyp_exec_mappings()
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dkvm_mmu.h117 void __iomem **haddr);
119 void **haddr);
/kernel/linux/linux-5.10/net/sched/
Dsch_teql.c241 char haddr[MAX_ADDR_LEN]; in __teql_resolve() local
243 neigh_ha_snapshot(haddr, n, dev); in __teql_resolve()
245 haddr, NULL, skb->len); in __teql_resolve()
/kernel/linux/linux-5.10/include/net/
Darp.h72 int arp_mc_map(__be32 addr, u8 *haddr, struct net_device *dev, int dir);
/kernel/linux/linux-5.10/net/ipv4/
Darp.c186 int arp_mc_map(__be32 addr, u8 *haddr, struct net_device *dev, int dir) in arp_mc_map() argument
192 ip_eth_mc_map(addr, haddr); in arp_mc_map()
195 ip_ib_mc_map(addr, dev->broadcast, haddr); in arp_mc_map()
198 ip_ipgre_mc_map(addr, dev->broadcast, haddr); in arp_mc_map()
202 memcpy(haddr, dev->broadcast, dev->addr_len); in arp_mc_map()
Ddevinet.c995 __u32 haddr = ntohl(addr); in inet_abc_len() local
996 if (IN_CLASSA(haddr)) in inet_abc_len()
998 else if (IN_CLASSB(haddr)) in inet_abc_len()
1000 else if (IN_CLASSC(haddr)) in inet_abc_len()
1002 else if (IN_CLASSE(haddr)) in inet_abc_len()
Dip_gre.c868 static int ipgre_header_parse(const struct sk_buff *skb, unsigned char *haddr) in ipgre_header_parse() argument
871 memcpy(haddr, &iph->saddr, 4); in ipgre_header_parse()
/kernel/linux/linux-5.10/net/ieee802154/
Dsocket.c493 struct ieee802154_addr haddr; in dgram_bind() local
511 ieee802154_addr_from_sa(&haddr, &addr->addr); in dgram_bind()
512 dev = ieee802154_get_dev(sock_net(sk), &haddr); in dgram_bind()
523 ro->src_addr = haddr; in dgram_bind()
/kernel/linux/linux-5.10/net/phonet/
Daf_phonet.c132 static int pn_header_parse(const struct sk_buff *skb, unsigned char *haddr) in pn_header_parse() argument
135 *haddr = *media; in pn_header_parse()
/kernel/linux/linux-5.10/drivers/dma/ppc4xx/
Dadma.c3102 dma_addr_t haddr = 0; in ppc440spe_adma_pq_set_src() local
3124 haddr = DMA_RXOR12 << in ppc440spe_adma_pq_set_src()
3128 haddr = DMA_RXOR123 << in ppc440spe_adma_pq_set_src()
3132 haddr = DMA_RXOR124 << in ppc440spe_adma_pq_set_src()
3136 haddr = DMA_RXOR125 << in ppc440spe_adma_pq_set_src()
3140 haddr |= DMA_CUED_XOR_BASE; in ppc440spe_adma_pq_set_src()
3152 haddr = DMA_CUED_XOR_HB; in ppc440spe_adma_pq_set_src()
3167 haddr = DMA_CUED_XOR_HB; in ppc440spe_adma_pq_set_src()
3173 ppc440spe_desc_set_src_addr(iter, chan, 0, haddr, addr); in ppc440spe_adma_pq_set_src()
3183 haddr, addr); in ppc440spe_adma_pq_set_src()
/kernel/linux/linux-5.10/net/mac802154/
Diface.c480 mac802154_header_parse(const struct sk_buff *skb, unsigned char *haddr) in mac802154_header_parse() argument
490 ieee802154_le64_to_be64(haddr, &hdr.source.extended_addr); in mac802154_header_parse()
/kernel/linux/linux-5.10/drivers/firewire/
Dnet.c264 const struct net_device *net, const unsigned char *haddr) in fwnet_header_cache_update() argument
266 memcpy((u8 *)hh->hh_data + HH_DATA_OFF(FWNET_HLEN), haddr, net->addr_len); in fwnet_header_cache_update()
269 static int fwnet_header_parse(const struct sk_buff *skb, unsigned char *haddr) in fwnet_header_parse() argument
271 memcpy(haddr, skb->dev->dev_addr, FWNET_ALEN); in fwnet_header_parse()
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/hostap/
Dhostap_main.c578 unsigned char *haddr) in hostap_80211_header_parse() argument
580 memcpy(haddr, skb_mac_header(skb) + 10, ETH_ALEN); /* addr2 */ in hostap_80211_header_parse()
/kernel/linux/linux-5.10/drivers/atm/
Dfore200e.h207 u32 haddr : 27 /* tpd DMA addr aligned on 32 byte boundary */

12