Searched defs:replaced (Results 1 - 8 of 8) sorted by relevance

/arch/arm64/kernel/
H A Dftrace.c23 * If @validate == true, a replaced instruction is checked against 'old'.
28 u32 replaced; local
40 if (aarch64_insn_read((void *)pc, &replaced))
43 if (replaced != old)
/arch/metag/kernel/
H A Dftrace.c54 unsigned char replaced[MCOUNT_INSN_SIZE]; local
66 if (probe_kernel_read(replaced, (void *)pc, MCOUNT_INSN_SIZE))
70 if (memcmp(replaced, old_code, MCOUNT_INSN_SIZE) != 0)
/arch/sparc/kernel/
H A Dftrace.c27 u32 replaced; local
45 : "=r" (replaced), [faulted] "=r" (faulted)
49 if (replaced != old && replaced != new)
/arch/ia64/kernel/
H A Dftrace.c97 unsigned char replaced[MCOUNT_INSN_SIZE]; local
113 if (probe_kernel_read(replaced, (void *)ip, MCOUNT_INSN_SIZE))
117 if (memcmp(replaced, old_code, MCOUNT_INSN_SIZE) != 0)
131 unsigned char __attribute__((aligned(8))) replaced[MCOUNT_INSN_SIZE]; local
134 if (probe_kernel_read(replaced, (void *)ip, MCOUNT_INSN_SIZE))
140 tmp_call = (void *)replaced;
145 if (memcmp(replaced, ftrace_call_code, MCOUNT_INSN_SIZE) != 0)
152 tmp_call = (void *)replaced;
155 if (memcmp(replaced, ftrace_orig_code, MCOUNT_INSN_SIZE) != 0)
/arch/arm/kernel/
H A Dftrace.c106 unsigned long replaced; local
117 if (probe_kernel_read(&replaced, (void *)pc, MCOUNT_INSN_SIZE))
120 if (replaced != old)
/arch/powerpc/kernel/
H A Dftrace.c47 unsigned int replaced; local
60 if (probe_kernel_read(&replaced, (void *)ip, MCOUNT_INSN_SIZE))
64 if (replaced != old)
/arch/sh/kernel/
H A Dftrace.c212 unsigned char replaced[MCOUNT_INSN_SIZE]; local
225 if (probe_kernel_read(replaced, (void *)ip, MCOUNT_INSN_SIZE))
229 if (memcmp(replaced, old_code, MCOUNT_INSN_SIZE) != 0)
/arch/x86/kernel/
H A Dftrace.c105 unsigned char replaced[MCOUNT_INSN_SIZE]; local
118 if (probe_kernel_read(replaced, (void *)ip, MCOUNT_INSN_SIZE))
122 if (memcmp(replaced, old_code, MCOUNT_INSN_SIZE) != 0)
310 unsigned char replaced[MCOUNT_INSN_SIZE]; local
313 if (probe_kernel_read(replaced, (void *)ip, MCOUNT_INSN_SIZE))
317 if (memcmp(replaced, old, MCOUNT_INSN_SIZE) != 0)

Completed in 26 milliseconds