Home
last modified time | relevance | path

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

/linux-6.3-rc2/samples/bpf/
A Dtest_probe_write_user.bpf.c33 struct sockaddr_in new_addr, orig_addr = {}; in BPF_KSYSCALL() local
36 if (addrlen > sizeof(orig_addr)) in BPF_KSYSCALL()
39 if (bpf_probe_read_user(&orig_addr, sizeof(orig_addr), uservaddr) != 0) in BPF_KSYSCALL()
42 mapped_addr = bpf_map_lookup_elem(&dnat_map, &orig_addr); in BPF_KSYSCALL()
/linux-6.3-rc2/kernel/dma/
A Dswiotlb.c66 phys_addr_t orig_addr; member
279 mem->slots[i].orig_addr = INVALID_PHYS_ADDR; in swiotlb_init_io_tlb_mem()
524 phys_addr_t orig_addr = mem->slots[index].orig_addr; in swiotlb_bounce() local
526 unsigned long pfn = PFN_DOWN(orig_addr); in swiotlb_bounce()
530 if (orig_addr == INVALID_PHYS_ADDR) in swiotlb_bounce()
550 orig_addr += tlb_offset; in swiotlb_bounce()
616 phys_addr_t orig_addr, size_t alloc_size, in swiotlb_do_find_slots() argument
657 if (orig_addr && in swiotlb_do_find_slots()
760 index = swiotlb_find_slots(dev, orig_addr, in swiotlb_tbl_map_single()
776 mem->slots[index + i].orig_addr = slot_addr(orig_addr, i); in swiotlb_tbl_map_single()
[all …]
/linux-6.3-rc2/net/mac80211/
A Dmesh_hwmp.c101 const u8 *orig_addr, u32 orig_sn, in mesh_path_sel_frame_tx() argument
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
518 if (ether_addr_equal(orig_addr, ta)) in hwmp_route_info_get()
570 const u8 *target_addr, *orig_addr; in hwmp_preq_frame_process() local
706 const u8 *target_addr, *orig_addr; in hwmp_prep_frame_process() local
823 const u8 *orig_addr; in hwmp_rann_frame_process() local
830 orig_addr = rann->rann_addr; in hwmp_rann_frame_process()
843 orig_addr, mgmt->sa, root_is_gate); in hwmp_rann_frame_process()
[all …]
/linux-6.3-rc2/arch/sh/mm/
A 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()
A 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.3-rc2/drivers/misc/
A Dpci_endpoint_test.c504 void *orig_addr; in pci_endpoint_test_write() local
535 if (!orig_addr) { in pci_endpoint_test_write()
541 get_random_bytes(orig_addr, size + alignment); in pci_endpoint_test_write()
554 addr = orig_addr + offset; in pci_endpoint_test_write()
557 addr = orig_addr; in pci_endpoint_test_write()
587 kfree(orig_addr); in pci_endpoint_test_write()
605 void *orig_addr; in pci_endpoint_test_read() local
635 if (!orig_addr) { in pci_endpoint_test_read()
652 addr = orig_addr + offset; in pci_endpoint_test_read()
655 addr = orig_addr; in pci_endpoint_test_read()
[all …]
/linux-6.3-rc2/mm/kasan/
A Dreport.c578 unsigned long orig_addr; in kasan_non_canonical_hook() local
584 orig_addr = (addr - KASAN_SHADOW_OFFSET) << KASAN_SHADOW_SCALE_SHIFT; in kasan_non_canonical_hook()
596 if (orig_addr < PAGE_SIZE) in kasan_non_canonical_hook()
598 else if (orig_addr < TASK_SIZE) in kasan_non_canonical_hook()
603 orig_addr, orig_addr + KASAN_GRANULE_SIZE - 1); in kasan_non_canonical_hook()
/linux-6.3-rc2/drivers/mfd/
A 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.3-rc2/include/net/
A Dxsk_buff_pool.h30 u64 orig_addr; member
119 xskb->orig_addr = addr; in xp_init_xskb_addr()
230 return xskb->orig_addr + offset; in xp_get_handle()
231 return xskb->orig_addr + (offset << XSK_UNALIGNED_BUF_OFFSET_SHIFT); in xp_get_handle()
/linux-6.3-rc2/fs/proc/
A 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.3-rc2/net/batman-adv/
A 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()
A Dhard-interface.h83 u8 *orig_addr, u8 *orig_neigh);
A 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()
A 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.3-rc2/arch/x86/kernel/kprobes/
A Dcommon.h81 extern int can_boost(struct insn *insn, void *orig_addr);
/linux-6.3-rc2/arch/sparc/kernel/
A 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.3-rc2/drivers/hwtracing/intel_th/
A 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.3-rc2/net/xdp/
A Dxsk_buff_pool.c392 xp_init_xskb_dma(xskb, pool, dma_map->dma_pages, xskb->orig_addr); in xp_init_dma_info()
/linux-6.3-rc2/drivers/vhost/
A Dvhost.c1343 u64 s = 0, size, orig_addr = addr, last = addr + len - 1; in iotlb_access_ok() local
1362 if (orig_addr == addr && size >= len) in iotlb_access_ok()

Completed in 48 milliseconds