Searched refs:old_func (Results 1 – 4 of 4) sorted by relevance
25 struct klp_ops *klp_find_ops(void *old_func) in klp_find_ops() argument33 if (func->old_func == old_func) in klp_find_ops()133 if (WARN_ON(!func->old_func)) in klp_unpatch_func()136 ops = klp_find_ops(func->old_func); in klp_unpatch_func()143 ftrace_loc = ftrace_location((unsigned long)func->old_func); in klp_unpatch_func()165 if (WARN_ON(!func->old_func)) in klp_patch_func()171 ops = klp_find_ops(func->old_func); in klp_patch_func()175 ftrace_loc = ftrace_location((unsigned long)func->old_func); in klp_patch_func()
87 struct klp_func *old_func) in klp_find_func() argument92 if ((strcmp(old_func->old_name, func->old_name) == 0) && in klp_find_func()93 (old_func->old_sympos == func->old_sympos)) { in klp_find_func()491 static struct klp_func *klp_alloc_func_nop(struct klp_func *old_func, in klp_alloc_func_nop() argument500 if (old_func->old_name) { in klp_alloc_func_nop()501 func->old_name = kstrdup(old_func->old_name, GFP_KERNEL); in klp_alloc_func_nop()513 func->old_sympos = old_func->old_sympos; in klp_alloc_func_nop()523 struct klp_func *func, *old_func; in klp_add_object_nops() local533 klp_for_each_func(old_obj, old_func) { in klp_add_object_nops()534 func = klp_find_func(obj, old_func); in klp_add_object_nops()[all …]
28 struct klp_ops *klp_find_ops(void *old_func);
214 ops = klp_find_ops(func->old_func); in klp_check_stack_func()218 func_addr = (unsigned long)func->old_func; in klp_check_stack_func()