Lines Matching refs:insn_buff
184 u8 insn_buff[MAX_PATCH_LEN]; in patch_dest() local
187 memcpy(insn_buff, skl_call_thunk_template, tsize); in patch_dest()
188 text_poke_apply_relocation(insn_buff, pad, tsize, skl_call_thunk_template, tsize); in patch_dest()
191 if (!bcmp(pad, insn_buff, tsize)) in patch_dest()
201 memcpy(pad, insn_buff, tsize); in patch_dest()
203 text_poke_copy_locked(pad, insn_buff, tsize, true); in patch_dest()
286 u8 insn_buff[MAX_PATCH_LEN]; in is_callthunk() local
296 memcpy(insn_buff, skl_call_thunk_template, tmpl_size); in is_callthunk()
297 text_poke_apply_relocation(insn_buff, pad, tmpl_size, skl_call_thunk_template, tmpl_size); in is_callthunk()
299 return !bcmp(pad, insn_buff, tmpl_size); in is_callthunk()
305 u8 insn_buff[MAX_PATCH_LEN]; in x86_call_depth_emit_accounting() local
314 memcpy(insn_buff, skl_call_thunk_template, tmpl_size); in x86_call_depth_emit_accounting()
315 text_poke_apply_relocation(insn_buff, ip, tmpl_size, skl_call_thunk_template, tmpl_size); in x86_call_depth_emit_accounting()
317 memcpy(*pprog, insn_buff, tmpl_size); in x86_call_depth_emit_accounting()