/linux/kernel/dma/ |
H A D | swiotlb.c | 76 phys_addr_t orig_addr; member 291 mem->slots[i].orig_addr = INVALID_PHYS_ADDR; in swiotlb_init_io_tlb_pool() 863 phys_addr_t orig_addr = mem->slots[index].orig_addr; in swiotlb_bounce() local 865 unsigned long pfn = PFN_DOWN(orig_addr); in swiotlb_bounce() 869 if (orig_addr == INVALID_PHYS_ADDR) in swiotlb_bounce() 883 swiotlb_align_offset(dev, 0, orig_addr); in swiotlb_bounce() 885 orig_addr += tlb_offset; in swiotlb_bounce() 896 unsigned int offset = orig_addr & ~PAGE_MASK; in swiotlb_bounce() 918 memcpy(vaddr, phys_to_virt(orig_addr), size); in swiotlb_bounce() 920 memcpy(phys_to_virt(orig_addr), vaddr, size); in swiotlb_bounce() [all …]
|
/linux/drivers/misc/ |
H A D | pci_endpoint_test.c | 530 void *orig_addr; in pci_endpoint_test_write() local 560 orig_addr = kzalloc(size + alignment, GFP_KERNEL); in pci_endpoint_test_write() 561 if (!orig_addr) { in pci_endpoint_test_write() 567 get_random_bytes(orig_addr, size + alignment); in pci_endpoint_test_write() 569 orig_phys_addr = dma_map_single(dev, orig_addr, size + alignment, in pci_endpoint_test_write() 580 addr = orig_addr + offset; in pci_endpoint_test_write() 583 addr = orig_addr; in pci_endpoint_test_write() 613 kfree(orig_addr); in pci_endpoint_test_write() 631 void *orig_addr; in pci_endpoint_test_read() local 660 orig_addr = kzalloc(size + alignment, GFP_KERNEL); in pci_endpoint_test_read() [all …]
|
/linux/drivers/mfd/ |
H A D | intel_soc_pmic_chtwc.c | 76 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/mm/kasan/ |
H A D | report.c | 648 unsigned long orig_addr; in kasan_non_canonical_hook() local 658 orig_addr = (unsigned long)kasan_shadow_to_mem((void *)addr); in kasan_non_canonical_hook() 671 if (orig_addr < PAGE_SIZE) in kasan_non_canonical_hook() 673 else if (orig_addr < TASK_SIZE) in kasan_non_canonical_hook() 680 orig_addr, orig_addr + KASAN_GRANULE_SIZE - 1); in kasan_non_canonical_hook()
|
/linux/fs/proc/ |
H A D | inode.c | 438 pde_get_unmapped_area(struct proc_dir_entry *pde, struct file *file, unsigned long orig_addr, in pde_get_unmapped_area() argument 443 return pde->proc_ops->proc_get_unmapped_area(file, orig_addr, len, pgoff, flags); in pde_get_unmapped_area() 446 return mm_get_unmapped_area(current->mm, file, orig_addr, len, pgoff, flags); in pde_get_unmapped_area() 449 return orig_addr; in pde_get_unmapped_area() 453 proc_reg_get_unmapped_area(struct file *file, unsigned long orig_addr, in proc_reg_get_unmapped_area() argument 461 return pde_get_unmapped_area(pde, file, orig_addr, len, pgoff, flags); in proc_reg_get_unmapped_area() 463 rv = pde_get_unmapped_area(pde, file, orig_addr, len, pgoff, flags); in proc_reg_get_unmapped_area()
|
/linux/drivers/i2c/ |
H A D | i2c-slave-testunit.c | 163 u16 orig_addr; in i2c_slave_testunit_work() local 191 orig_addr = tu->client->addr; in i2c_slave_testunit_work() 205 tu->client->addr = orig_addr; in i2c_slave_testunit_work()
|
/linux/net/batman-adv/ |
H A D | routing.c | 750 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()
|
H A D | hard-interface.h | 83 u8 *orig_addr, u8 *orig_neigh);
|
H A D | originator.h | 40 batadv_orig_to_router(struct batadv_priv *bat_priv, u8 *orig_addr,
|
H A D | hard-interface.c | 404 u8 *orig_addr, u8 *orig_neigh) in batadv_hardif_no_broadcast() argument 427 if (orig_addr && batadv_compare_eth(hardif_neigh->orig, orig_addr)) { in batadv_hardif_no_broadcast()
|
H A D | distributed-arp-table.c | 428 u8 *orig_addr; in batadv_dbg_arp() local 476 orig_addr = bcast_pkt->orig; in batadv_dbg_arp() 479 orig_addr); in batadv_dbg_arp()
|
H A D | originator.c | 344 * @orig_addr: the originator MAC address to search the best next hop router for 352 batadv_orig_to_router(struct batadv_priv *bat_priv, u8 *orig_addr, in batadv_orig_ifinfo_get() 358 orig_node = batadv_orig_hash_find(bat_priv, orig_addr); in batadv_orig_ifinfo_get() 325 batadv_orig_to_router(struct batadv_priv * bat_priv,u8 * orig_addr,struct batadv_hard_iface * if_outgoing) batadv_orig_to_router() argument
|
/linux/arch/x86/kernel/kprobes/ |
H A D | common.h | 81 extern bool can_boost(struct insn *insn, void *orig_addr);
|
/linux/arch/sh/mm/ |
H A D | pmb.c | 339 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/net/xdp/ |
H A D | xsk_buff_pool.c | 419 u64 orig_addr; in xp_init_dma_info() 421 orig_addr = xskb->xdp.data_hard_start - pool->addrs - pool->headroom; in xp_init_dma_info() 422 xp_init_xskb_dma(xskb, pool, dma_map->dma_pages, orig_addr); in xp_init_dma_info() 420 u64 orig_addr; xp_init_dma_info() local
|
/linux/tools/perf/util/ |
H A D | disasm.c | 1453 u64 orig_addr; in print_capstone_detail() 1463 orig_addr = addr + insn->size + op->mem.disp; in print_capstone_detail() 1464 addr = map__objdump_2mem(map, orig_addr); in print_capstone_detail() 1485 orig_addr, sym->name); in symbol__disassemble_capstone_powerpc() 1488 orig_addr, sym->name, addr - sym->start); in symbol__disassemble_capstone_powerpc() 1443 u64 orig_addr; print_capstone_detail() local
|
/linux/drivers/hwtracing/intel_th/ |
H A D | msu.c | 147 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()
|
/linux/drivers/vhost/ |
H A D | vhost.c | 1705 u64 s = 0, size, orig_addr = addr, last = addr + len - 1; in iotlb_access_ok() local 1724 if (orig_addr == addr && size >= len) in iotlb_access_ok()
|