Home
last modified time | relevance | path

Searched refs:insn_len (Results 1 – 2 of 2) sorted by relevance

/arch/x86/kernel/
Dparavirt.c162 unsigned insn_len = end - start; in paravirt_patch_insns() local
164 if (insn_len > len || start == NULL) in paravirt_patch_insns()
165 insn_len = len; in paravirt_patch_insns()
167 memcpy(insnbuf, start, insn_len); in paravirt_patch_insns()
169 return insn_len; in paravirt_patch_insns()
/arch/x86/lguest/
Dboot.c960 unsigned int insn_len; in lguest_patch() local
966 insn_len = lguest_insns[type].end - lguest_insns[type].start; in lguest_patch()
970 if (len < insn_len) in lguest_patch()
974 memcpy(ibuf, lguest_insns[type].start, insn_len); in lguest_patch()
975 return insn_len; in lguest_patch()