Searched refs:insnbuf (Results 1 – 6 of 6) sorted by relevance
/linux-2.6.39/arch/x86/kernel/ |
D | paravirt.c | 86 unsigned paravirt_patch_call(void *insnbuf, in paravirt_patch_call() argument 91 struct branch *b = insnbuf; in paravirt_patch_call() 106 unsigned paravirt_patch_jmp(void *insnbuf, const void *target, in paravirt_patch_jmp() argument 109 struct branch *b = insnbuf; in paravirt_patch_jmp() 139 unsigned paravirt_patch_default(u8 type, u16 clobbers, void *insnbuf, in paravirt_patch_default() argument 147 ret = paravirt_patch_insns(insnbuf, len, ud2a, ud2a+sizeof(ud2a)); in paravirt_patch_default() 154 ret = paravirt_patch_ident_32(insnbuf, len); in paravirt_patch_default() 156 ret = paravirt_patch_ident_64(insnbuf, len); in paravirt_patch_default() 163 ret = paravirt_patch_jmp(insnbuf, opfunc, addr, len); in paravirt_patch_default() 167 ret = paravirt_patch_call(insnbuf, opfunc, CLBR_ANY, in paravirt_patch_default() [all …]
|
D | paravirt_patch_64.c | 25 unsigned paravirt_patch_ident_32(void *insnbuf, unsigned len) in paravirt_patch_ident_32() argument 27 return paravirt_patch_insns(insnbuf, len, in paravirt_patch_ident_32() 31 unsigned paravirt_patch_ident_64(void *insnbuf, unsigned len) in paravirt_patch_ident_64() argument 33 return paravirt_patch_insns(insnbuf, len, in paravirt_patch_ident_64()
|
D | alternative.c | 210 u8 insnbuf[MAX_PATCH_LEN]; in apply_alternatives() local 216 BUG_ON(a->instrlen > sizeof(insnbuf)); in apply_alternatives() 228 memcpy(insnbuf, a->replacement, a->replacementlen); in apply_alternatives() 229 if (*insnbuf == 0xe8 && a->replacementlen == 5) in apply_alternatives() 230 *(s32 *)(insnbuf + 1) += a->replacement - a->instr; in apply_alternatives() 231 add_nops(insnbuf + a->replacementlen, in apply_alternatives() 233 text_poke_early(instr, insnbuf, a->instrlen); in apply_alternatives() 431 char insnbuf[MAX_PATCH_LEN]; in apply_paravirt() local 441 memcpy(insnbuf, p->instr, p->len); in apply_paravirt() 442 used = pv_init_ops.patch(p->instrtype, p->clobbers, insnbuf, in apply_paravirt() [all …]
|
D | paravirt_patch_32.c | 15 unsigned paravirt_patch_ident_32(void *insnbuf, unsigned len) in paravirt_patch_ident_32() argument 21 unsigned paravirt_patch_ident_64(void *insnbuf, unsigned len) in paravirt_patch_ident_64() argument
|
/linux-2.6.39/arch/x86/include/asm/ |
D | paravirt_types.h | 79 unsigned (*patch)(u8 type, u16 clobber, void *insnbuf, 387 unsigned paravirt_patch_ident_32(void *insnbuf, unsigned len); 388 unsigned paravirt_patch_ident_64(void *insnbuf, unsigned len); 390 unsigned paravirt_patch_call(void *insnbuf, 394 unsigned paravirt_patch_jmp(void *insnbuf, const void *target, 396 unsigned paravirt_patch_default(u8 type, u16 clobbers, void *insnbuf, 399 unsigned paravirt_patch_insns(void *insnbuf, unsigned len,
|
/linux-2.6.39/arch/x86/xen/ |
D | enlighten.c | 883 static unsigned xen_patch(u8 type, u16 clobbers, void *insnbuf, in xen_patch() argument 911 ret = paravirt_patch_insns(insnbuf, len, start, end); in xen_patch() 919 long *relocp = (long *)(insnbuf + reloc_off); in xen_patch() 928 ret = paravirt_patch_default(type, clobbers, insnbuf, in xen_patch()
|