Home
last modified time | relevance | path

Searched refs:orig_addr (Results 1 – 20 of 20) sorted by relevance

/kernel/linux/linux-5.10/kernel/dma/
Dswiotlb.c418 static void swiotlb_bounce(phys_addr_t orig_addr, phys_addr_t tlb_addr, in swiotlb_bounce() argument
421 unsigned long pfn = PFN_DOWN(orig_addr); in swiotlb_bounce()
426 unsigned int offset = orig_addr & ~PAGE_MASK; in swiotlb_bounce()
449 memcpy(vaddr, phys_to_virt(orig_addr), size); in swiotlb_bounce()
451 memcpy(phys_to_virt(orig_addr), vaddr, size); in swiotlb_bounce()
489 static int find_slots(struct device *dev, phys_addr_t orig_addr, in find_slots() argument
520 (orig_addr & iotlb_align_mask)) { in find_slots()
564 phys_addr_t swiotlb_tbl_map_single(struct device *dev, phys_addr_t orig_addr, in swiotlb_tbl_map_single() argument
568 unsigned int offset = swiotlb_align_offset(dev, orig_addr); in swiotlb_tbl_map_single()
585 index = find_slots(dev, orig_addr, alloc_size + offset); in swiotlb_tbl_map_single()
[all …]
/kernel/linux/linux-5.10/samples/bpf/
Dtest_probe_write_user_kern.c37 struct sockaddr_in new_addr, orig_addr = {}; in SYSCALL() local
40 if (sockaddr_len > sizeof(orig_addr)) in SYSCALL()
43 if (bpf_probe_read_user(&orig_addr, sizeof(orig_addr), sockaddr_arg) != 0) in SYSCALL()
46 mapped_addr = bpf_map_lookup_elem(&dnat_map, &orig_addr); in SYSCALL()
/kernel/linux/linux-5.10/net/mac80211/
Dmesh_hwmp.c101 const u8 *orig_addr, u32 orig_sn, in mesh_path_sel_frame_tx() argument
141 mhwmp_dbg(sdata, "sending PREP to %pM\n", orig_addr); in mesh_path_sel_frame_tx()
147 mhwmp_dbg(sdata, "sending RANN from %pM\n", orig_addr); in mesh_path_sel_frame_tx()
170 memcpy(pos, orig_addr, ETH_ALEN); in mesh_path_sel_frame_tx()
187 memcpy(pos, orig_addr, ETH_ALEN); in mesh_path_sel_frame_tx()
388 const u8 *orig_addr, *ta; in hwmp_route_info_get() local
408 orig_addr = PREQ_IE_ORIG_ADDR(hwmp_ie); in hwmp_route_info_get()
420 orig_addr = PREP_IE_TARGET_ADDR(hwmp_ie); in hwmp_route_info_get()
435 if (ether_addr_equal(orig_addr, sdata->vif.addr)) { in hwmp_route_info_get()
442 mpath = mesh_path_lookup(sdata, orig_addr); in hwmp_route_info_get()
[all …]
/kernel/linux/linux-5.10/arch/sh/mm/
Dioremap.c89 unsigned long offset, last_addr, addr, orig_addr; in __ioremap_caller() local
133 orig_addr = addr = (unsigned long)area->addr; in __ioremap_caller()
136 vunmap((void *)orig_addr); in __ioremap_caller()
140 return (void __iomem *)(offset + (char *)orig_addr); in __ioremap_caller()
Dpmb.c339 unsigned long orig_addr, orig_size; in pmb_bolt_mapping() local
350 orig_addr = vaddr; in pmb_bolt_mapping()
405 flush_cache_vmap(orig_addr, orig_addr + orig_size); in pmb_bolt_mapping()
/kernel/linux/linux-5.10/drivers/misc/
Dpci_endpoint_test.c502 void *orig_addr; in pci_endpoint_test_write() local
532 orig_addr = kzalloc(size + alignment, GFP_KERNEL); in pci_endpoint_test_write()
533 if (!orig_addr) { in pci_endpoint_test_write()
539 get_random_bytes(orig_addr, size + alignment); in pci_endpoint_test_write()
541 orig_phys_addr = dma_map_single(dev, orig_addr, size + alignment, in pci_endpoint_test_write()
552 addr = orig_addr + offset; in pci_endpoint_test_write()
555 addr = orig_addr; in pci_endpoint_test_write()
585 kfree(orig_addr); in pci_endpoint_test_write()
603 void *orig_addr; in pci_endpoint_test_read() local
632 orig_addr = kzalloc(size + alignment, GFP_KERNEL); in pci_endpoint_test_read()
[all …]
/kernel/linux/linux-5.10/drivers/mfd/
Dintel_soc_pmic_chtwc.c75 int ret, orig_addr = client->addr; in cht_wc_byte_reg_read() local
84 client->addr = orig_addr; in cht_wc_byte_reg_read()
97 int ret, orig_addr = client->addr; in cht_wc_byte_reg_write() local
106 client->addr = orig_addr; in cht_wc_byte_reg_write()
/kernel/linux/linux-5.10/mm/kasan/
Dreport.c582 unsigned long orig_addr; in kasan_non_canonical_hook() local
588 orig_addr = (addr - KASAN_SHADOW_OFFSET) << KASAN_SHADOW_SCALE_SHIFT; in kasan_non_canonical_hook()
600 if (orig_addr < PAGE_SIZE) in kasan_non_canonical_hook()
602 else if (orig_addr < TASK_SIZE) in kasan_non_canonical_hook()
607 orig_addr, orig_addr + KASAN_SHADOW_MASK); in kasan_non_canonical_hook()
/kernel/linux/linux-5.10/fs/proc/
Dinode.c461 pde_get_unmapped_area(struct proc_dir_entry *pde, struct file *file, unsigned long orig_addr, in pde_get_unmapped_area() argument
473 return get_area(file, orig_addr, len, pgoff, flags); in pde_get_unmapped_area()
474 return orig_addr; in pde_get_unmapped_area()
478 proc_reg_get_unmapped_area(struct file *file, unsigned long orig_addr, in proc_reg_get_unmapped_area() argument
486 return pde_get_unmapped_area(pde, file, orig_addr, len, pgoff, flags); in proc_reg_get_unmapped_area()
488 rv = pde_get_unmapped_area(pde, file, orig_addr, len, pgoff, flags); in proc_reg_get_unmapped_area()
/kernel/linux/linux-5.10/net/batman-adv/
Drouting.c769 u8 *orig_addr, orig_ttvn; in batadv_reroute_unicast_packet() local
775 orig_addr = primary_if->net_dev->dev_addr; in batadv_reroute_unicast_packet()
786 orig_addr = orig_node->orig; in batadv_reroute_unicast_packet()
792 ether_addr_copy(unicast_packet->dest, orig_addr); in batadv_reroute_unicast_packet()
964 u8 *orig_addr, *orig_addr_gw; in batadv_recv_unicast_packet() local
1025 orig_addr = unicast_4addr_packet->src; in batadv_recv_unicast_packet()
1027 orig_addr); in batadv_recv_unicast_packet()
Dhard-interface.h107 u8 *orig_addr, u8 *orig_neigh);
Dhard-interface.c403 u8 *orig_addr, u8 *orig_neigh) in batadv_hardif_no_broadcast() argument
426 if (orig_addr && batadv_compare_eth(hardif_neigh->orig, orig_addr)) { in batadv_hardif_no_broadcast()
Ddistributed-arp-table.c431 u8 *orig_addr; in batadv_dbg_arp() local
479 orig_addr = bcast_pkt->orig; in batadv_dbg_arp()
482 orig_addr); in batadv_dbg_arp()
/kernel/linux/linux-5.10/arch/x86/kernel/kprobes/
Dcommon.h80 extern int can_boost(struct insn *insn, void *orig_addr);
/kernel/linux/linux-5.10/arch/sparc/kernel/
Dsys_sparc_64.c218 unsigned long get_fb_unmapped_area(struct file *filp, unsigned long orig_addr, unsigned long len, u… in get_fb_unmapped_area() argument
228 return get_area(NULL, orig_addr, len, pgoff, flags); in get_fb_unmapped_area()
241 addr = get_area(NULL, orig_addr, len + (align_goal - PAGE_SIZE), pgoff, flags); in get_fb_unmapped_area()
259 addr = get_area(NULL, orig_addr, len, pgoff, flags); in get_fb_unmapped_area()
/kernel/linux/linux-5.10/include/net/
Dxsk_buff_pool.h27 u64 orig_addr; member
/kernel/linux/linux-5.10/drivers/hwtracing/intel_th/
Dmsu.c147 u32 orig_addr; member
777 msc->orig_addr = ioread32(msc->reg_base + REG_MSU_MSC0BAR); in msc_configure()
854 iowrite32(msc->orig_addr, msc->reg_base + REG_MSU_MSC0BAR); in msc_disable()
/kernel/linux/linux-5.10/net/xdp/
Dxsk.c147 return xskb->orig_addr + offset; in xp_get_handle()
148 return xskb->orig_addr + (offset << XSK_UNALIGNED_BUF_OFFSET_SHIFT); in xp_get_handle()
Dxsk_buff_pool.c480 xskb->orig_addr = addr; in __xp_alloc()
/kernel/linux/linux-5.10/drivers/vhost/
Dvhost.c1330 u64 s = 0, size, orig_addr = addr, last = addr + len - 1; in iotlb_access_ok() local
1349 if (orig_addr == addr && size >= len) in iotlb_access_ok()