Home
last modified time | relevance | path

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

/linux-5.19.10/tools/bpf/bpftool/
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()
/linux-5.19.10/samples/livepatch/
Dlivepatch-shadow-fix2.c98 .new_func = livepatch_fix2_dummy_check,
102 .new_func = livepatch_fix2_dummy_free,
Dlivepatch-shadow-fix1.c139 .new_func = livepatch_fix1_dummy_alloc,
143 .new_func = livepatch_fix1_dummy_free,
Dlivepatch-sample.c42 .new_func = livepatch_cmdline_proc_show,
Dlivepatch-callbacks-demo.c144 .new_func = patched_work_func,
/linux-5.19.10/include/linux/
Dlivepatch.h58 void *new_func; member
185 func->old_name || func->new_func || func->old_sympos; \
/linux-5.19.10/lib/livepatch/
Dtest_klp_livepatch.c21 .new_func = livepatch_cmdline_proc_show,
Dtest_klp_atomic_replace.c25 .new_func = livepatch_meminfo_proc_show,
Dtest_klp_callbacks_demo.c67 .new_func = patched_work_func,
/linux-5.19.10/kernel/livepatch/
Dtransition.c207 func_addr = (unsigned long)func->new_func; in klp_check_stack_func()
225 func_addr = (unsigned long)prev->new_func; in klp_check_stack_func()
Dcore.c620 func->new_func = NULL; in klp_free_object_loaded()
727 if (!func->new_func && !func->nop) in klp_init_func()
805 func->new_func = func->old_func; in klp_init_object_loaded()
807 ret = kallsyms_lookup_size_offset((unsigned long)func->new_func, in klp_init_object_loaded()
Dpatch.c121 ftrace_instruction_pointer_set(fregs, (unsigned long)func->new_func); in klp_ftrace_handler()