Home
last modified time | relevance | path

Searched refs:replaced (Results 1 – 12 of 12) sorted by relevance

/arch/ia64/kernel/
Dftrace.c97 unsigned char replaced[MCOUNT_INSN_SIZE]; in ftrace_modify_code() local
111 if (probe_kernel_read(replaced, (void *)ip, MCOUNT_INSN_SIZE)) in ftrace_modify_code()
115 if (memcmp(replaced, old_code, MCOUNT_INSN_SIZE) != 0) in ftrace_modify_code()
129 unsigned char __attribute__((aligned(8))) replaced[MCOUNT_INSN_SIZE]; in ftrace_make_nop_check() local
132 if (probe_kernel_read(replaced, (void *)ip, MCOUNT_INSN_SIZE)) in ftrace_make_nop_check()
138 tmp_call = (void *)replaced; in ftrace_make_nop_check()
143 if (memcmp(replaced, ftrace_call_code, MCOUNT_INSN_SIZE) != 0) in ftrace_make_nop_check()
150 tmp_call = (void *)replaced; in ftrace_make_nop_check()
153 if (memcmp(replaced, ftrace_orig_code, MCOUNT_INSN_SIZE) != 0) in ftrace_make_nop_check()
/arch/arm64/kernel/
Dftrace.c27 u32 replaced; in ftrace_modify_code() local
38 if (aarch64_insn_read((void *)pc, &replaced)) in ftrace_modify_code()
41 if (replaced != old) in ftrace_modify_code()
133 u32 replaced; in ftrace_make_nop() local
156 if (aarch64_insn_read((void *)pc, &replaced)) in ftrace_make_nop()
159 if (!aarch64_insn_is_bl(replaced) || in ftrace_make_nop()
160 !within_module(pc + aarch64_get_branch_offset(replaced), in ftrace_make_nop()
/arch/riscv/kernel/
Dftrace.c16 unsigned int replaced[2]; in ftrace_check_current_call() local
27 if (probe_kernel_read(replaced, (void *)hook_pos, MCOUNT_INSN_SIZE)) in ftrace_check_current_call()
34 if (memcmp(expected, replaced, sizeof(replaced))) { in ftrace_check_current_call()
36 (void *)hook_pos, expected[0], expected[1], replaced[0], in ftrace_check_current_call()
37 replaced[1]); in ftrace_check_current_call()
/arch/sparc/kernel/
Dftrace.c28 u32 replaced; in ftrace_modify_code() local
46 : "=r" (replaced), [faulted] "=r" (faulted) in ftrace_modify_code()
50 if (replaced != old && replaced != new) in ftrace_modify_code()
/arch/sh/kernel/
Dftrace.c195 unsigned char replaced[MCOUNT_INSN_SIZE]; in ftrace_modify_code() local
206 if (probe_kernel_read(replaced, (void *)ip, MCOUNT_INSN_SIZE)) in ftrace_modify_code()
210 if (memcmp(replaced, old_code, MCOUNT_INSN_SIZE) != 0) in ftrace_modify_code()
/arch/arm/kernel/
Dftrace.c83 unsigned long replaced; in ftrace_modify_code() local
94 if (probe_kernel_read(&replaced, (void *)pc, MCOUNT_INSN_SIZE)) in ftrace_modify_code()
97 if (replaced != old) in ftrace_modify_code()
/arch/x86/kernel/
Dftrace.c121 unsigned char replaced[MCOUNT_INSN_SIZE]; in ftrace_modify_code_direct() local
134 if (probe_kernel_read(replaced, (void *)ip, MCOUNT_INSN_SIZE)) in ftrace_modify_code_direct()
138 if (memcmp(replaced, old_code, MCOUNT_INSN_SIZE) != 0) in ftrace_modify_code_direct()
341 unsigned char replaced[MCOUNT_INSN_SIZE]; in add_break() local
344 if (probe_kernel_read(replaced, (void *)ip, MCOUNT_INSN_SIZE)) in add_break()
350 if (memcmp(replaced, old, MCOUNT_INSN_SIZE) != 0) in add_break()
/arch/powerpc/kernel/trace/
Dftrace.c59 unsigned int replaced; in ftrace_modify_code() local
70 if (probe_kernel_read(&replaced, (void *)ip, MCOUNT_INSN_SIZE)) in ftrace_modify_code()
74 if (replaced != old) { in ftrace_modify_code()
76 (void *)ip, replaced, old); in ftrace_modify_code()
/arch/arm/boot/dts/
Dsun4i-a10-pcduino2.dts48 * the USB host ports has been replaced with a USB WIFI chip.
Darmada-388-gp.dts182 * older than v1.5 it can be replaced with:
/arch/mips/
DKconfig.debug48 command line will be ignored and replaced by the built-in string.
/arch/arm/
DKconfig855 bool "ARM errata: Stale prediction on replaced interworking branch"
860 interworking branch is replaced with another code sequence at the
920 replaced from one of the CPUs at the same time as another CPU is