Home
last modified time | relevance | path

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

/arch/sh/kernel/
Dftrace.c266 static int ftrace_mod(unsigned long ip, unsigned long old_addr, in ftrace_mod() argument
274 if (old_addr != __raw_readl((unsigned long *)code)) in ftrace_mod()
283 unsigned long ip, old_addr, new_addr; in ftrace_enable_ftrace_graph_caller() local
286 old_addr = (unsigned long)(&skip_trace); in ftrace_enable_ftrace_graph_caller()
289 return ftrace_mod(ip, old_addr, new_addr); in ftrace_enable_ftrace_graph_caller()
294 unsigned long ip, old_addr, new_addr; in ftrace_disable_ftrace_graph_caller() local
297 old_addr = (unsigned long)(&ftrace_graph_caller); in ftrace_disable_ftrace_graph_caller()
300 return ftrace_mod(ip, old_addr, new_addr); in ftrace_disable_ftrace_graph_caller()
/arch/powerpc/boot/
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()
/arch/arm64/kernel/
Dftrace.c157 int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, in ftrace_modify_call() argument
163 if (!ftrace_find_callable_addr(rec, NULL, &old_addr)) in ftrace_modify_call()
168 old = aarch64_insn_gen_branch_imm(pc, old_addr, in ftrace_modify_call()
/arch/riscv/kernel/
Dftrace.c148 int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, in ftrace_modify_call() argument
154 make_call(rec->ip, old_addr, call); in ftrace_modify_call()
/arch/parisc/kernel/
Dcache.c329 unsigned long addr, old_addr = 0; in flush_dcache_page() local
365 if (old_addr == 0 || (old_addr & (SHM_COLOUR - 1)) in flush_dcache_page()
368 if (parisc_requires_coherency() && old_addr) in flush_dcache_page()
369 …printk(KERN_ERR "INEQUIVALENT ALIASES 0x%lx and 0x%lx in file %pD\n", old_addr, addr, mpnt->vm_fil… in flush_dcache_page()
370 old_addr = addr; in flush_dcache_page()
Dftrace.c107 int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, in ftrace_modify_call() argument
/arch/powerpc/kernel/trace/
Dftrace.c712 __ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, argument
740 entry = ppc_global_function_entry((void *)old_addr);
805 int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, argument
816 if (test_24bit_addr(ip, addr) && test_24bit_addr(ip, old_addr)) {
818 old = ftrace_call_replace(ip, old_addr, 1);
838 return __ftrace_modify_call(rec, old_addr, addr);
/arch/arm/kernel/
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()
/arch/s390/kernel/
Dftrace.c76 int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, in ftrace_modify_call() argument
/arch/csky/kernel/
Dftrace.c144 int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, in ftrace_modify_call() argument
/arch/x86/net/
Dbpf_jit_comp.c325 void *old_addr, void *new_addr, in __bpf_arch_text_poke() argument
335 if (old_addr) { in __bpf_arch_text_poke()
338 emit_call(&prog, old_addr, ip) : in __bpf_arch_text_poke()
339 emit_jump(&prog, old_addr, ip); in __bpf_arch_text_poke()
372 void *old_addr, void *new_addr) in bpf_arch_text_poke() argument
379 return __bpf_arch_text_poke(ip, t, old_addr, new_addr, true); in bpf_arch_text_poke()
/arch/sparc/include/asm/
Dpgtable_64.h945 #define move_pte(pte, prot, old_addr, new_addr) \ argument
952 (((old_addr) ^ (new_addr)) & (1 << 13))) \
/arch/x86/kernel/
Dftrace.c172 int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, in ftrace_modify_call() argument