Searched refs:insn_len (Results 1 – 2 of 2) sorted by relevance
162 unsigned insn_len = end - start; in paravirt_patch_insns() local164 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()
960 unsigned int insn_len; in lguest_patch() local966 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()