Home
last modified time | relevance | path

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

/linux-6.1.9/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()
/linux-6.1.9/kernel/dma/
Dswiotlb.c66 phys_addr_t orig_addr; member
287 mem->slots[i].orig_addr = INVALID_PHYS_ADDR; in swiotlb_init_io_tlb_mem()
516 phys_addr_t orig_addr = mem->slots[index].orig_addr; in swiotlb_bounce() local
518 unsigned long pfn = PFN_DOWN(orig_addr); in swiotlb_bounce()
522 if (orig_addr == INVALID_PHYS_ADDR) in swiotlb_bounce()
526 orig_addr_offset = swiotlb_align_offset(dev, orig_addr); in swiotlb_bounce()
542 orig_addr += tlb_offset; in swiotlb_bounce()
553 unsigned int offset = orig_addr & ~PAGE_MASK; in swiotlb_bounce()
575 memcpy(vaddr, phys_to_virt(orig_addr), size); in swiotlb_bounce()
577 memcpy(phys_to_virt(orig_addr), vaddr, size); in swiotlb_bounce()
[all …]
/linux-6.1.9/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()
393 const u8 *orig_addr, *ta; in hwmp_route_info_get() local
413 orig_addr = PREQ_IE_ORIG_ADDR(hwmp_ie); in hwmp_route_info_get()
425 orig_addr = PREP_IE_TARGET_ADDR(hwmp_ie); in hwmp_route_info_get()
440 if (ether_addr_equal(orig_addr, sdata->vif.addr)) { in hwmp_route_info_get()
447 mpath = mesh_path_lookup(sdata, orig_addr); in hwmp_route_info_get()
[all …]
/linux-6.1.9/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()
/linux-6.1.9/drivers/misc/
Dpci_endpoint_test.c503 void *orig_addr; in pci_endpoint_test_write() local
533 orig_addr = kzalloc(size + alignment, GFP_KERNEL); in pci_endpoint_test_write()
534 if (!orig_addr) { in pci_endpoint_test_write()
540 get_random_bytes(orig_addr, size + alignment); in pci_endpoint_test_write()
542 orig_phys_addr = dma_map_single(dev, orig_addr, size + alignment, in pci_endpoint_test_write()
553 addr = orig_addr + offset; in pci_endpoint_test_write()
556 addr = orig_addr; in pci_endpoint_test_write()
586 kfree(orig_addr); in pci_endpoint_test_write()
604 void *orig_addr; in pci_endpoint_test_read() local
633 orig_addr = kzalloc(size + alignment, GFP_KERNEL); in pci_endpoint_test_read()
[all …]
/linux-6.1.9/drivers/mfd/
Dintel_soc_pmic_chtwc.c76 int ret, orig_addr = client->addr; in cht_wc_byte_reg_read() local
85 client->addr = orig_addr; in cht_wc_byte_reg_read()
98 int ret, orig_addr = client->addr; in cht_wc_byte_reg_write() local
107 client->addr = orig_addr; in cht_wc_byte_reg_write()
/linux-6.1.9/mm/kasan/
Dreport.c537 unsigned long orig_addr; in kasan_non_canonical_hook() local
543 orig_addr = (addr - KASAN_SHADOW_OFFSET) << KASAN_SHADOW_SCALE_SHIFT; in kasan_non_canonical_hook()
555 if (orig_addr < PAGE_SIZE) in kasan_non_canonical_hook()
557 else if (orig_addr < TASK_SIZE) in kasan_non_canonical_hook()
562 orig_addr, orig_addr + KASAN_GRANULE_SIZE - 1); in kasan_non_canonical_hook()
/linux-6.1.9/include/net/
Dxsk_buff_pool.h27 u64 orig_addr; member
114 xskb->orig_addr = addr; in xp_init_xskb_addr()
225 return xskb->orig_addr + offset; in xp_get_handle()
226 return xskb->orig_addr + (offset << XSK_UNALIGNED_BUF_OFFSET_SHIFT); in xp_get_handle()
/linux-6.1.9/fs/proc/
Dinode.c456 pde_get_unmapped_area(struct proc_dir_entry *pde, struct file *file, unsigned long orig_addr, in pde_get_unmapped_area() argument
468 return get_area(file, orig_addr, len, pgoff, flags); in pde_get_unmapped_area()
469 return orig_addr; in pde_get_unmapped_area()
473 proc_reg_get_unmapped_area(struct file *file, unsigned long orig_addr, in proc_reg_get_unmapped_area() argument
481 return pde_get_unmapped_area(pde, file, orig_addr, len, pgoff, flags); in proc_reg_get_unmapped_area()
483 rv = pde_get_unmapped_area(pde, file, orig_addr, len, pgoff, flags); in proc_reg_get_unmapped_area()
/linux-6.1.9/net/batman-adv/
Drouting.c750 const u8 *orig_addr; in batadv_reroute_unicast_packet() local
757 orig_addr = primary_if->net_dev->dev_addr; in batadv_reroute_unicast_packet()
768 orig_addr = orig_node->orig; in batadv_reroute_unicast_packet()
774 ether_addr_copy(unicast_packet->dest, orig_addr); in batadv_reroute_unicast_packet()
944 u8 *orig_addr, *orig_addr_gw; in batadv_recv_unicast_packet() local
1005 orig_addr = unicast_4addr_packet->src; in batadv_recv_unicast_packet()
1007 orig_addr); in batadv_recv_unicast_packet()
Dhard-interface.h83 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.c429 u8 *orig_addr; in batadv_dbg_arp() local
477 orig_addr = bcast_pkt->orig; in batadv_dbg_arp()
480 orig_addr); in batadv_dbg_arp()
/linux-6.1.9/arch/x86/kernel/kprobes/
Dcommon.h81 extern int can_boost(struct insn *insn, void *orig_addr);
/linux-6.1.9/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()
/linux-6.1.9/drivers/hwtracing/intel_th/
Dmsu.c147 u32 orig_addr; member
775 msc->orig_addr = ioread32(msc->reg_base + REG_MSU_MSC0BAR); in msc_configure()
852 iowrite32(msc->orig_addr, msc->reg_base + REG_MSU_MSC0BAR); in msc_disable()
/linux-6.1.9/net/xdp/
Dxsk_buff_pool.c389 xp_init_xskb_dma(xskb, pool, dma_map->dma_pages, xskb->orig_addr); in xp_init_dma_info()
/linux-6.1.9/drivers/vhost/
Dvhost.c1342 u64 s = 0, size, orig_addr = addr, last = addr + len - 1; in iotlb_access_ok() local
1361 if (orig_addr == addr && size >= len) in iotlb_access_ok()