/linux/tools/testing/selftests/vm/ |
A D | hugepage-mremap.c | 115 void *haddr = mmap((void *)suggested_addr, LENGTH, PROTECTION, in main() local 117 printf("Map haddr: Returned address is %p\n", haddr); in main() 118 if (haddr == MAP_FAILED) { in main() 142 register_region_with_uffd(haddr, LENGTH); in main() 144 void *addr = mremap(haddr, LENGTH, LENGTH, in main()
|
/linux/arch/parisc/kernel/ |
A D | signal.c | 232 unsigned long haddr, sigframe_size; in setup_rt_frame() local 314 haddr = A(ksig->ka.sa.sa_handler); in setup_rt_frame() 319 if (haddr & PA_PLABEL_FDESC) { in setup_rt_frame() 321 Elf32_Fdesc __user *ufdesc = (Elf32_Fdesc __user *)A(haddr & ~3); in setup_rt_frame() 328 haddr = fdesc.addr; in setup_rt_frame() 334 Elf64_Fdesc __user *ufdesc = (Elf64_Fdesc __user *)A(haddr & ~3); in setup_rt_frame() 341 haddr = fdesc.addr; in setup_rt_frame() 344 haddr, regs->gr[19], in_syscall); in setup_rt_frame() 351 regs->gr[31] = haddr; in setup_rt_frame() 376 regs->iaoq[0] = haddr | 3; in setup_rt_frame()
|
/linux/mm/ |
A D | huge_memory.c | 720 set_pmd_at(mm, haddr, pmd, entry); in set_huge_zero_page() 766 haddr, vmf->pmd, zero_page); in do_huge_pmd_anonymous_page() 1242 unsigned long haddr; in huge_pud_set_accessed() local 1264 unsigned long haddr; in huge_pmd_set_accessed() local 1887 unsigned long haddr) in __split_huge_pud_locked() argument 1889 VM_BUG_ON(haddr & ~HPAGE_PUD_MASK); in __split_huge_pud_locked() 1925 unsigned long haddr, pmd_t *pmd) in __split_huge_zero_page_pmd() argument 1949 pte = pte_offset_map(&_pmd, haddr); in __split_huge_zero_page_pmd() 1951 set_pte_at(mm, haddr, pte, entry); in __split_huge_zero_page_pmd() 1959 unsigned long haddr, bool freeze) in __split_huge_pmd_locked() argument [all …]
|
A D | khugepaged.c | 1006 unsigned long haddr, pmd_t *pmd, in __collapse_huge_page_swapin() argument 1017 .pgoff = linear_page_index(vma, haddr), in __collapse_huge_page_swapin() 1034 if (hugepage_vma_revalidate(mm, haddr, &vma)) { in __collapse_huge_page_swapin() 1040 if (mm_find_pmd(mm, haddr) != pmd) { in __collapse_huge_page_swapin() 1435 unsigned long haddr = addr & HPAGE_PMD_MASK; in collapse_pte_mapped_thp() local 1445 !range_in_vma(vma, haddr, haddr + HPAGE_PMD_SIZE)) in collapse_pte_mapped_thp() 1458 linear_page_index(vma, haddr)); in collapse_pte_mapped_thp() 1465 pmd = mm_find_pmd(mm, haddr); in collapse_pte_mapped_thp() 1472 for (i = 0, addr = haddr, pte = start_pte; in collapse_pte_mapped_thp() 1496 for (i = 0, addr = haddr, pte = start_pte; in collapse_pte_mapped_thp() [all …]
|
A D | hugetlb.c | 5247 haddr + huge_page_size(h)); in hugetlb_cow() 5262 set_huge_pte_at(mm, haddr, ptep, in hugetlb_cow() 5344 unsigned long haddr, in hugetlb_handle_userfault() argument 5351 .address = haddr, in hugetlb_handle_userfault() 5420 flags, haddr, in hugetlb_no_page() 5425 page = alloc_huge_page(vma, haddr, 0); in hugetlb_no_page() 5484 flags, haddr, in hugetlb_no_page() 5502 vma_end_reservation(h, vma, haddr); in hugetlb_no_page() 5665 vma_end_reservation(h, vma, haddr); in hugetlb_fault() 5669 vma, haddr); in hugetlb_fault() [all …]
|
/linux/net/bluetooth/ |
A D | hci_sock.c | 1092 struct sockaddr_hci haddr; in hci_sock_bind() local 1103 memset(&haddr, 0, sizeof(haddr)); in hci_sock_bind() 1105 memcpy(&haddr, addr, len); in hci_sock_bind() 1107 if (haddr.hci_family != AF_BLUETOOTH) in hci_sock_bind() 1129 switch (haddr.hci_channel) { in hci_sock_bind() 1136 if (haddr.hci_dev != HCI_DEV_NONE) { in hci_sock_bind() 1137 hdev = hci_dev_get(haddr.hci_dev); in hci_sock_bind() 1193 hdev = hci_dev_get(haddr.hci_dev); in hci_sock_bind() 1410 haddr->hci_family = AF_BLUETOOTH; in hci_sock_getname() 1411 haddr->hci_dev = hdev->id; in hci_sock_getname() [all …]
|
/linux/include/linux/ |
A D | huge_mm.h | 119 unsigned long haddr) in transhuge_vma_suitable() argument 128 if (haddr < vma->vm_start || haddr + HPAGE_PMD_SIZE > vma->vm_end) in transhuge_vma_suitable() 353 unsigned long haddr) in transhuge_vma_suitable() argument
|
A D | if_ether.h | 40 int eth_header_parse(const struct sk_buff *skb, unsigned char *haddr);
|
A D | etherdevice.h | 45 int eth_header_parse(const struct sk_buff *skb, unsigned char *haddr); 49 const unsigned char *haddr);
|
/linux/arch/arm64/kvm/ |
A D | mmu.c | 343 unsigned long *haddr, in __create_hyp_private_mapping() argument 354 *haddr = base; in __create_hyp_private_mapping() 391 *haddr = base + offset_in_page(phys_addr); in __create_hyp_private_mapping() 405 void __iomem **haddr) in create_hyp_io_mappings() argument 415 *haddr = *kaddr; in create_hyp_io_mappings() 424 *haddr = NULL; in create_hyp_io_mappings() 428 *haddr = (void __iomem *)addr; in create_hyp_io_mappings() 439 void **haddr) in create_hyp_exec_mappings() argument 449 *haddr = NULL; in create_hyp_exec_mappings() 453 *haddr = (void *)addr; in create_hyp_exec_mappings()
|
/linux/net/ethernet/ |
A D | eth.c | 213 int eth_header_parse(const struct sk_buff *skb, unsigned char *haddr) in eth_header_parse() argument 216 memcpy(haddr, eth->h_source, ETH_ALEN); in eth_header_parse() 263 const unsigned char *haddr) in eth_header_cache_update() argument 266 haddr, ETH_ALEN); in eth_header_cache_update()
|
/linux/arch/arm64/include/asm/ |
A D | kvm_mmu.h | 156 void __iomem **haddr); 158 void **haddr);
|
/linux/net/sched/ |
A D | sch_teql.c | 242 char haddr[MAX_ADDR_LEN]; in __teql_resolve() local 244 neigh_ha_snapshot(haddr, n, dev); in __teql_resolve() 246 haddr, NULL, skb->len); in __teql_resolve()
|
/linux/net/mctp/ |
A D | af_mctp.c | 146 extaddr->smctp_halen > sizeof(cb->haddr)) { in mctp_sendmsg() 153 memcpy(cb->haddr, extaddr->smctp_haddr, cb->halen); in mctp_sendmsg() 237 memcpy(ae->smctp_haddr, cb->haddr, cb->halen); in mctp_recvmsg()
|
/linux/include/net/ |
A D | arp.h | 72 int arp_mc_map(__be32 addr, u8 *haddr, struct net_device *dev, int dir);
|
A D | mctp.h | 169 unsigned char haddr[MAX_ADDR_LEN]; member
|
/linux/net/ipv4/ |
A D | arp.c | 186 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()
|
A D | devinet.c | 995 __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()
|
/linux/net/ieee802154/ |
A D | socket.c | 487 struct ieee802154_addr haddr; in dgram_bind() local 502 ieee802154_addr_from_sa(&haddr, &addr->addr); in dgram_bind() 503 dev = ieee802154_get_dev(sock_net(sk), &haddr); in dgram_bind() 514 ro->src_addr = haddr; in dgram_bind()
|
/linux/net/phonet/ |
A D | af_phonet.c | 132 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()
|
/linux/drivers/dma/ppc4xx/ |
A D | adma.c | 3100 dma_addr_t haddr = 0; in ppc440spe_adma_pq_set_src() local 3122 haddr = DMA_RXOR12 << in ppc440spe_adma_pq_set_src() 3126 haddr = DMA_RXOR123 << in ppc440spe_adma_pq_set_src() 3130 haddr = DMA_RXOR124 << in ppc440spe_adma_pq_set_src() 3134 haddr = DMA_RXOR125 << in ppc440spe_adma_pq_set_src() 3138 haddr |= DMA_CUED_XOR_BASE; in ppc440spe_adma_pq_set_src() 3150 haddr = DMA_CUED_XOR_HB; in ppc440spe_adma_pq_set_src() 3165 haddr = DMA_CUED_XOR_HB; in ppc440spe_adma_pq_set_src() 3171 ppc440spe_desc_set_src_addr(iter, chan, 0, haddr, addr); in ppc440spe_adma_pq_set_src() 3181 haddr, addr); in ppc440spe_adma_pq_set_src()
|
/linux/drivers/firewire/ |
A D | net.c | 264 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()
|
/linux/net/mac802154/ |
A D | iface.c | 479 mac802154_header_parse(const struct sk_buff *skb, unsigned char *haddr) in mac802154_header_parse() argument 489 ieee802154_le64_to_be64(haddr, &hdr.source.extended_addr); in mac802154_header_parse()
|
/linux/drivers/net/wireless/intersil/hostap/ |
A D | hostap_main.c | 578 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()
|
/linux/drivers/atm/ |
A D | fore200e.h | 207 u32 haddr : 27 /* tpd DMA addr aligned on 32 byte boundary */
|