Home
last modified time | relevance | path

Searched refs:old_addr (Results 1 – 25 of 52) sorted by relevance

123

/linux/mm/
A Dmremap.c178 for (; old_addr < old_end; old_pte++, old_addr += PAGE_SIZE, in move_ptes()
274 flush_tlb_range(vma, old_addr, old_addr + PMD_SIZE); in move_normal_pmd()
323 flush_tlb_range(vma, old_addr, old_addr + PUD_SIZE); in move_normal_pud()
372 flush_pud_tlb_range(vma, old_addr, old_addr + HPAGE_PUD_SIZE); in move_huge_pud()
425 extent = next - old_addr; in get_extent()
489 old_end = old_addr + len; in move_page_tables()
497 old_addr, old_end); in move_page_tables()
500 for (; old_addr < old_end; old_addr += extent, new_addr += extent) { in move_page_tables()
557 move_ptes(vma, old_pmd, old_addr, old_addr + extent, new_vma, in move_page_tables()
610 err = ksm_madvise(vma, old_addr, old_addr + old_len, in move_vma()
[all …]
/linux/arch/sh/kernel/
A Dftrace.c261 static int ftrace_mod(unsigned long ip, unsigned long old_addr, in ftrace_mod() argument
269 if (old_addr != __raw_readl((unsigned long *)code)) in ftrace_mod()
278 unsigned long ip, old_addr, new_addr; in ftrace_enable_ftrace_graph_caller() local
281 old_addr = (unsigned long)(&skip_trace); in ftrace_enable_ftrace_graph_caller()
284 return ftrace_mod(ip, old_addr, new_addr); in ftrace_enable_ftrace_graph_caller()
289 unsigned long ip, old_addr, new_addr; in ftrace_disable_ftrace_graph_caller() local
292 old_addr = (unsigned long)(&ftrace_graph_caller); in ftrace_disable_ftrace_graph_caller()
295 return ftrace_mod(ip, old_addr, new_addr); in ftrace_disable_ftrace_graph_caller()
/linux/net/sched/
A Dact_nat.c86 p->old_addr = parm->old_addr; in tcf_nat_init()
107 __be32 old_addr; in tcf_nat_act() local
119 old_addr = p->old_addr; in tcf_nat_act()
143 if (!((old_addr ^ addr) & mask)) { in tcf_nat_act()
220 if ((old_addr ^ addr) & mask) in tcf_nat_act()
270 opt.old_addr = p->old_addr; in tcf_nat_dump()
/linux/drivers/mtd/
A Dftl.c799 uint32_t old_addr; in set_bam_entry() local
815 (u_char *)&old_addr); in set_bam_entry()
820 old_addr = le32_to_cpu(old_addr); in set_bam_entry()
922 old_addr = part->VirtualBlockMap[sector+i]; in ftl_write()
923 if (old_addr != 0xffffffff) { in ftl_write()
925 part->EUNInfo[old_addr/bsize].Deleted++; in ftl_write()
926 if (set_bam_entry(part, old_addr, 0)) in ftl_write()
979 uint32_t old_addr = part->VirtualBlockMap[sector]; in ftl_discardsect() local
980 if (old_addr != 0xffffffff) { in ftl_discardsect()
982 part->EUNInfo[old_addr/bsize].Deleted++; in ftl_discardsect()
[all …]
A Drfd_ftl.c545 static int mark_sector_deleted(struct partition *part, u_long old_addr) in mark_sector_deleted() argument
552 block = old_addr / part->block_size; in mark_sector_deleted()
553 offset = (old_addr % part->block_size) / SECTOR_SIZE - in mark_sector_deleted()
601 static int do_writesect(struct mtd_blktrans_dev *dev, u_long sector, char *buf, ulong *old_addr) in do_writesect() argument
614 rc = find_writable_block(part, old_addr); in do_writesect()
670 u_long old_addr; in rfd_ftl_writesect() local
686 old_addr = part->sector_map[sector]; in rfd_ftl_writesect()
692 rc = do_writesect(dev, sector, buf, &old_addr); in rfd_ftl_writesect()
701 if (old_addr != -1) in rfd_ftl_writesect()
702 rc = mark_sector_deleted(part, old_addr); in rfd_ftl_writesect()
/linux/arch/powerpc/boot/
A Dmain.c127 void *old_addr = (void *)initrd_addr; in prep_initrd() local
136 initrd_addr, old_addr, initrd_size); in prep_initrd()
137 memmove((void *)initrd_addr, old_addr, initrd_size); in prep_initrd()
169 void *old_addr = (void *)esm_blob_addr; in prep_esm_blob() local
177 esm_blob_addr, old_addr, esm_blob_size); in prep_esm_blob()
178 memmove((void *)esm_blob_addr, old_addr, esm_blob_size); in prep_esm_blob()
/linux/drivers/firmware/efi/libstub/
A Dfile.c191 unsigned long old_addr = alloc_addr; in handle_cmdline_files() local
207 if (old_addr != 0) { in handle_cmdline_files()
214 memcpy((void *)alloc_addr, (void *)old_addr, alloc_size); in handle_cmdline_files()
215 efi_free(alloc_size, old_addr); in handle_cmdline_files()
/linux/include/linux/
A Dftrace.h320 int modify_ftrace_direct(unsigned long ip, unsigned long old_addr, unsigned long new_addr);
324 unsigned long old_addr,
343 unsigned long old_addr, unsigned long new_addr) in modify_ftrace_direct() argument
353 unsigned long old_addr, in ftrace_modify_direct_caller() argument
760 extern int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr,
764 static inline int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, in ftrace_modify_call() argument
/linux/arch/parisc/kernel/
A Dcache.c329 unsigned long addr, old_addr = 0; in flush_dcache_page() local
364 if (old_addr == 0 || (old_addr & (SHM_COLOUR - 1)) in flush_dcache_page()
367 if (parisc_requires_coherency() && old_addr) in flush_dcache_page()
368 …printk(KERN_ERR "INEQUIVALENT ALIASES 0x%lx and 0x%lx in file %pD\n", old_addr, addr, mpnt->vm_fil… in flush_dcache_page()
369 old_addr = addr; in flush_dcache_page()
A Dftrace.c102 int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, in ftrace_modify_call() argument
/linux/kernel/bpf/
A Dtrampoline.c124 static int unregister_fentry(struct bpf_trampoline *tr, void *old_addr) in unregister_fentry() argument
130 ret = unregister_ftrace_direct((long)ip, (long)old_addr); in unregister_fentry()
132 ret = bpf_arch_text_poke(ip, BPF_MOD_CALL, old_addr, NULL); in unregister_fentry()
139 static int modify_fentry(struct bpf_trampoline *tr, void *old_addr, void *new_addr) in modify_fentry() argument
145 ret = modify_ftrace_direct((long)ip, (long)old_addr, (long)new_addr); in modify_fentry()
147 ret = bpf_arch_text_poke(ip, BPF_MOD_CALL, old_addr, new_addr); in modify_fentry()
/linux/arch/powerpc/kernel/trace/
A Dftrace.c713 __ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, argument
741 entry = ppc_global_function_entry((void *)old_addr);
806 int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, argument
817 if (test_24bit_addr(ip, addr) && test_24bit_addr(ip, old_addr)) {
819 old = ftrace_call_replace(ip, old_addr, 1);
839 return __ftrace_modify_call(rec, old_addr, addr);
/linux/arch/riscv/kernel/
A Dftrace.c160 int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, in ftrace_modify_call() argument
167 make_call(caller, old_addr, call); in ftrace_modify_call()
/linux/arch/arm64/kernel/
A Dftrace.c129 int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, in ftrace_modify_call() argument
135 old = aarch64_insn_gen_branch_imm(pc, old_addr, in ftrace_modify_call()
/linux/arch/arm/kernel/
A Dftrace.c150 int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, in ftrace_modify_call() argument
156 old = ftrace_call_replace(ip, adjust_address(rec, old_addr), true); in ftrace_modify_call()
/linux/include/net/tc_act/
A Dtc_nat.h11 __be32 old_addr; member
/linux/include/uapi/linux/tc_act/
A Dtc_nat.h21 __be32 old_addr; member
/linux/drivers/net/ethernet/freescale/fman/
A Dmac.c285 struct mac_address *old_addr, *tmp; in set_multi() local
293 list_for_each_entry_safe(old_addr, tmp, &priv->mc_addr_list, list) { in set_multi()
294 addr = (enet_addr_t *)old_addr->addr; in set_multi()
299 list_del(&old_addr->list); in set_multi()
300 kfree(old_addr); in set_multi()
/linux/drivers/media/pci/saa7134/
A Dsaa7134-alsa.c383 int active, old_addr; in snd_saa7134_capsrc_set() local
393 old_addr = chip->capture_source_addr; in snd_saa7134_capsrc_set()
397 change = old_addr != addr || in snd_saa7134_capsrc_set()
476 if (old_addr != MIXER_ADDR_UNSELECTED && old_addr != addr) in snd_saa7134_capsrc_set()
479 &chip->capture_ctl[old_addr]->id); in snd_saa7134_capsrc_set()
/linux/drivers/media/rc/
A Dnuvoton-cir.c154 unsigned long old_addr; in nvt_set_ioaddr() local
156 old_addr = nvt_cr_read(nvt, CR_CIR_BASE_ADDR_HI) << 8; in nvt_set_ioaddr()
157 old_addr |= nvt_cr_read(nvt, CR_CIR_BASE_ADDR_LO); in nvt_set_ioaddr()
159 if (old_addr) in nvt_set_ioaddr()
160 *ioaddr = old_addr; in nvt_set_ioaddr()
/linux/kernel/
A Dkexec_core.c754 unsigned long old_addr; in kimage_alloc_page() local
757 old_addr = *old & PAGE_MASK; in kimage_alloc_page()
758 old_page = boot_pfn_to_page(old_addr >> PAGE_SHIFT); in kimage_alloc_page()
771 addr = old_addr; in kimage_alloc_page()
/linux/drivers/net/wireless/quantenna/qtnfmac/
A Dcore.c167 unsigned char old_addr[ETH_ALEN]; in qtnf_netdev_set_mac_address() local
169 memcpy(old_addr, sa->sa_data, sizeof(old_addr)); in qtnf_netdev_set_mac_address()
182 eth_hw_addr_set(ndev, old_addr); in qtnf_netdev_set_mac_address()
/linux/net/batman-adv/
A Dsoft-interface.c131 u8 old_addr[ETH_ALEN]; in batadv_interface_set_mac_addr() local
136 ether_addr_copy(old_addr, dev->dev_addr); in batadv_interface_set_mac_addr()
145 batadv_tt_local_remove(bat_priv, old_addr, vlan->vid, in batadv_interface_set_mac_addr()
/linux/drivers/dma/ppc4xx/
A Dadma.c821 dma_addr_t old_addr = srcs[i-1]; in ppc440spe_dma2_pq_slot_count() local
824 if (cur_addr == old_addr + len) { in ppc440spe_dma2_pq_slot_count()
830 } else if (old_addr == cur_addr + len) { in ppc440spe_dma2_pq_slot_count()
842 && cur_addr != old_addr - len)) { in ppc440spe_dma2_pq_slot_count()
846 } else if (cur_addr == old_addr + len*order) { in ppc440spe_dma2_pq_slot_count()
850 } else if (cur_addr == old_addr + 2*len) { in ppc440spe_dma2_pq_slot_count()
854 } else if (cur_addr == old_addr + 3*len) { in ppc440spe_dma2_pq_slot_count()
1275 if (cur_addr == old_addr + len) { in ppc440spe_can_rxor()
1279 } else if (old_addr == cur_addr + len) { in ppc440spe_can_rxor()
1292 (cur_addr == old_addr + 2 * len) || in ppc440spe_can_rxor()
[all …]
/linux/arch/csky/kernel/
A Dftrace.c139 int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, in ftrace_modify_call() argument

Completed in 70 milliseconds

123