Searched refs:tmpl_size (Results 1 – 3 of 3) sorted by relevance
| /linux-6.15/arch/x86/kernel/ |
| H A D | callthunks.c | 285 unsigned int tmpl_size = SKL_TMPL_SIZE; in is_callthunk() local 294 pad = (void *)(dest - tmpl_size); in is_callthunk() 296 memcpy(insn_buff, skl_call_thunk_template, tmpl_size); in is_callthunk() 297 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() 304 unsigned int tmpl_size = SKL_TMPL_SIZE; in x86_call_depth_emit_accounting() local 314 memcpy(insn_buff, skl_call_thunk_template, tmpl_size); in x86_call_depth_emit_accounting() 315 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() 318 *pprog += tmpl_size; in x86_call_depth_emit_accounting() [all …]
|
| /linux-6.15/drivers/firmware/efi/libstub/ |
| H A D | x86-5lvl.c | 29 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.15/mm/ |
| H A D | hugetlb_cgroup.c | 814 struct cftype *tmpl, int tmpl_size) in hugetlb_cgroup_cfttypes_init() argument 822 for (i = 0; i < tmpl_size; cft++, tmpl++, i++) { in hugetlb_cgroup_cfttypes_init()
|