Searched refs:new_func (Results 1 - 13 of 13) sorted by relevance

/linux-master/samples/livepatch/
H A Dlivepatch-sample.c42 .new_func = livepatch_cmdline_proc_show,
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-callbacks-demo.c144 .new_func = patched_work_func,
/linux-master/tools/testing/selftests/livepatch/test_modules/
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_syscall.c65 .new_func = lp_sys_getpid,
H A Dtest_klp_callbacks_demo.c67 .new_func = patched_work_func,
/linux-master/tools/bpf/bpftool/
H A Dcfg.c65 struct func_node *new_func, *func; local
75 new_func = calloc(1, sizeof(*new_func));
76 if (!new_func) {
80 new_func->start = insn;
81 new_func->idx = cfg->func_num;
82 list_add(&new_func->l, &func->l);
85 return new_func;
/linux-master/include/linux/
H A Dlivepatch.h28 * @new_func: pointer to the patched function code
59 void *new_func; member in struct:klp_func
186 func->old_name || func->new_func || func->old_sympos; \
/linux-master/kernel/livepatch/
H A Dtransition.c226 func_addr = (unsigned long)func->new_func;
244 func_addr = (unsigned long)prev->new_func;
H A Dpatch.c121 ftrace_regs_set_instruction_pointer(fregs, (unsigned long)func->new_func);
H A Dcore.c532 * func->new_func is same as func->old_func. These addresses are
660 func->new_func = NULL;
767 if (!func->new_func && !func->nop)
858 func->new_func = func->old_func;
860 ret = kallsyms_lookup_size_offset((unsigned long)func->new_func,

Completed in 375 milliseconds