Home
last modified time | relevance | path

Searched refs:tmpl_size (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/arch/x86/kernel/
Dcallthunks.c298 unsigned int tmpl_size = SKL_TMPL_SIZE; in is_callthunk() local
307 pad = (void *)(dest - tmpl_size); in is_callthunk()
309 memcpy(insn_buff, skl_call_thunk_template, tmpl_size); in is_callthunk()
310 apply_relocation(insn_buff, pad, tmpl_size, skl_call_thunk_template, tmpl_size); in is_callthunk()
312 return !bcmp(pad, insn_buff, tmpl_size); in is_callthunk()
317 unsigned int tmpl_size = SKL_TMPL_SIZE; in x86_call_depth_emit_accounting() local
327 memcpy(insn_buff, skl_call_thunk_template, tmpl_size); in x86_call_depth_emit_accounting()
328 apply_relocation(insn_buff, ip, tmpl_size, skl_call_thunk_template, tmpl_size); in x86_call_depth_emit_accounting()
330 memcpy(*pprog, insn_buff, tmpl_size); in x86_call_depth_emit_accounting()
331 *pprog += tmpl_size; in x86_call_depth_emit_accounting()
[all …]
/linux-6.12.1/drivers/firmware/efi/libstub/
Dx86-5lvl.c29 u8 tmpl_size = (u8 *)&trampoline_ljmp_imm_offset - (u8 *)&trampoline_32bit_src; in efi_setup_5level_paging() local
47 la57_toggle = memcpy(la57_code, trampoline_32bit_src, tmpl_size); in efi_setup_5level_paging()
48 memset(la57_code + tmpl_size, 0x90, PAGE_SIZE - tmpl_size); in efi_setup_5level_paging()
/linux-6.12.1/mm/
Dhugetlb_cgroup.c818 struct cftype *tmpl, int tmpl_size) in hugetlb_cgroup_cfttypes_init() argument
826 for (i = 0; i < tmpl_size; cft++, tmpl++, i++) { in hugetlb_cgroup_cfttypes_init()