Home
last modified time | relevance | path

Searched refs:new_func (Results 1 – 14 of 14) sorted by relevance

/openbmc/linux/tools/bpf/bpftool/
H A Dcfg.c65 struct func_node *new_func, *func; in cfg_append_func() local
75 new_func = calloc(1, sizeof(*new_func)); in cfg_append_func()
76 if (!new_func) { in cfg_append_func()
80 new_func->start = insn; in cfg_append_func()
81 new_func->idx = cfg->func_num; in cfg_append_func()
82 list_add(&new_func->l, &func->l); in cfg_append_func()
85 return new_func; in cfg_append_func()
/openbmc/linux/samples/livepatch/
H A Dlivepatch-shadow-fix2.c98 .new_func = livepatch_fix2_dummy_check,
102 .new_func = livepatch_fix2_dummy_free,
H A Dlivepatch-shadow-fix1.c139 .new_func = livepatch_fix1_dummy_alloc,
143 .new_func = livepatch_fix1_dummy_free,
H A Dlivepatch-sample.c42 .new_func = livepatch_cmdline_proc_show,
H A Dlivepatch-callbacks-demo.c144 .new_func = patched_work_func,
/openbmc/linux/include/linux/
H A Dlivepatch.h59 void *new_func; member
186 func->old_name || func->new_func || func->old_sympos; \
/openbmc/linux/lib/livepatch/
H A Dtest_klp_livepatch.c21 .new_func = livepatch_cmdline_proc_show,
H A Dtest_klp_atomic_replace.c25 .new_func = livepatch_meminfo_proc_show,
H A Dtest_klp_callbacks_demo.c67 .new_func = patched_work_func,
/openbmc/linux/kernel/livepatch/
H A Dtransition.c226 func_addr = (unsigned long)func->new_func; in klp_check_stack_func()
244 func_addr = (unsigned long)prev->new_func; in klp_check_stack_func()
H A Dcore.c660 func->new_func = NULL; in klp_free_object_loaded()
767 if (!func->new_func && !func->nop) in klp_init_func()
858 func->new_func = func->old_func; in klp_init_object_loaded()
860 ret = kallsyms_lookup_size_offset((unsigned long)func->new_func, in klp_init_object_loaded()
H A Dpatch.c121 ftrace_regs_set_instruction_pointer(fregs, (unsigned long)func->new_func); in klp_ftrace_handler()
/openbmc/qemu/target/i386/
H A Dsev.c850 SnpCpuidFunc *old_func, *new_func; in sev_snp_cpuid_report_mismatches() local
853 new_func = &new->entries[i]; in sev_snp_cpuid_report_mismatches()
855 if (memcmp(old_func, new_func, sizeof(SnpCpuidFunc))) { in sev_snp_cpuid_report_mismatches()
861 new_func->eax, new_func->ebx, new_func->ecx, new_func->edx); in sev_snp_cpuid_report_mismatches()
/openbmc/qemu/hw/sd/
H A Dsd.c1182 int i, mode, new_func; in sd_function_switch() local
1202 new_func = (arg >> (i * 4)) & 0x0f; in sd_function_switch()
1203 if (mode && new_func != 0x0f) in sd_function_switch()
1204 sd->function_group[i] = new_func; in sd_function_switch()
1205 sd->data[16 - (i >> 1)] |= new_func << ((i % 2) * 4); in sd_function_switch()