Searched refs:patch (Results 1 - 21 of 21) sorted by relevance

/arch/arm/kernel/
H A Dpatch.c9 #include "patch.h"
11 struct patch { struct
49 struct patch *patch = data; local
51 __patch_text(patch->addr, patch->insn);
58 struct patch patch = { local
64 stop_machine(patch_text_stop_machine, &patch, cpu_online_mask);
71 stop_machine(patch_text_stop_machine, &patch, NUL
[all...]
H A DMakefile39 obj-$(CONFIG_JUMP_LABEL) += jump_label.o insn.o patch.o
41 obj-$(CONFIG_KPROBES) += kprobes.o kprobes-common.o patch.o
/arch/ia64/kernel/
H A Dvmlinux.lds.S82 .data..patch.phys_stack_reg : AT(ADDR(.data..patch.phys_stack_reg) - LOAD_OFFSET) {
84 *(.data..patch.phys_stack_reg)
121 .data..patch.vtop : AT(ADDR(.data..patch.vtop) - LOAD_OFFSET) {
123 *(.data..patch.vtop)
127 .data..patch.rse : AT(ADDR(.data..patch.rse) - LOAD_OFFSET) {
129 *(.data..patch.rse)
133 .data..patch
[all...]
H A Dgate.lds.S35 .data..patch : {
37 *(.data..patch.mckinley_e9)
41 *(.data..patch.vtop)
45 *(.data..patch.fsyscall_table)
49 *(.data..patch.brl_fsys_bubble_down)
H A DMakefile12 irq_lsapic.o ivt.o machvec.o pal.o paravirt_patchlist.o patch.o process.o perfmon.o ptrace.o sal.o \
H A Dftrace.c18 #include <asm/patch.h>
H A Dpatch.c11 #include <asm/patch.h>
H A Dmodule.c7 * Loosely based on patch by Rusty Russell.
36 #include <asm/patch.h>
H A Dsetup.c55 #include <asm/patch.h>
/arch/x86/kernel/
H A Dmicrocode_amd.c78 /* page-sized ucode patch buffer */
79 void *patch; variable
114 pr_err("patch size mismatch\n");
139 * we signal a good patch is found by returning its size > 0
149 /* size of the current patch we're staring at */
157 * let's look at the patch header itself now
181 /* clear the patch buffer */
182 memset(patch, 0, PAGE_SIZE);
184 /* all looks ok, get the binary patch */
185 get_ucode_data(patch, ucode_pt
[all...]
H A Dvsmp_64.c101 pv_init_ops.patch = vsmp_patch;
H A Dparavirt.c99 return len; /* call too long for patch site */
115 return len; /* call too long for patch site */
123 /* Neat trick to map patch type back to the call within the
148 /* If there's no function, patch it with a ud2a (BUG) */
319 .patch = native_patch,
H A Dalternative.c272 * patch code.
504 used = pv_init_ops.patch(p->instrtype, p->clobbers, insnbuf,
538 /* switch to patch-once-at-boottime-only mode and free the
582 * When you use this code to patch more than one byte of an instruction
586 * handlers seeing an inconsistent instruction while you patch.
/arch/powerpc/kernel/
H A Dvdso.c82 /* Format of the patch table */
90 /* Table of functions to patch based on the CPU type/revision
629 struct vdso_patch_def *patch = &vdso_patches[i]; local
630 int match = (cur_cpu_spec->cpu_features & patch->ftr_mask)
631 == patch->ftr_value;
635 DBG("replacing %s with %s...\n", patch->gen_name,
636 patch->fix_name ? "NONE" : patch->fix_name);
640 * patch the "." symbol on 64 bits.
644 vdso_do_func_patch32(v32, v64, patch
[all...]
/arch/arm/mach-netx/
H A Dxc.c98 static int xc_patch(struct xc *x, const void *patch, int count) argument
101 const unsigned int *data = patch;
/arch/mips/include/asm/
H A Dcpu.h206 * the patch number. *ARGH*
210 #define PRID_REV_ENCODE_332(ver, rev, patch) \
211 ((ver) << 5 | (rev) << 2 | (patch))
/arch/ia64/mm/
H A Dinit.c29 #include <asm/patch.h>
/arch/s390/kernel/
H A Dhead.S382 # SALIPL loader support. Based on a patch by Rob van der Heij.
/arch/x86/include/asm/
H A Dparavirt_types.h81 * registers other than EAX. The patch function should return
85 unsigned (*patch)(u8 type, u16 clobber, void *insnbuf, member in struct:pv_init_ops
341 * what to patch. */
433 * the very least we can patch the call to e a simple direct call, or
434 * ideally, patch an inline implementation into the callsite. (Direct
690 /* These all sit in the .parainstructions section to tell us what to patch. */
/arch/x86/lguest/
H A Dboot.c946 * just applied the patch.
1221 * Our current solution is to allow the paravirt back end to optionally patch
1223 * patch two of the simplest of the most commonly called functions: disable
1224 * interrupts and save interrupts. We usually have 6 or 10 bytes to patch
1242 * Now our patch routine is fairly simple (based on the native one in
1295 pv_init_ops.patch = lguest_patch;
/arch/x86/xen/
H A Denlighten.c1096 .patch = xen_patch,

Completed in 369 milliseconds