Home
last modified time | relevance | path

Searched refs:old_func (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/kernel/livepatch/
Dpatch.c25 struct klp_ops *klp_find_ops(void *old_func) in klp_find_ops() argument
33 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()
Dcore.c88 struct klp_func *old_func) in klp_find_func() argument
93 if ((strcmp(old_func->old_name, func->old_name) == 0) && in klp_find_func()
94 (old_func->old_sympos == func->old_sympos)) { in klp_find_func()
524 static struct klp_func *klp_alloc_func_nop(struct klp_func *old_func, in klp_alloc_func_nop() argument
533 if (old_func->old_name) { in klp_alloc_func_nop()
534 func->old_name = kstrdup(old_func->old_name, GFP_KERNEL); in klp_alloc_func_nop()
546 func->old_sympos = old_func->old_sympos; in klp_alloc_func_nop()
556 struct klp_func *func, *old_func; in klp_add_object_nops() local
566 klp_for_each_func(old_obj, old_func) { in klp_add_object_nops()
567 func = klp_find_func(obj, old_func); in klp_add_object_nops()
[all …]
Dpatch.h28 struct klp_ops *klp_find_ops(void *old_func);
Dtransition.c233 ops = klp_find_ops(func->old_func); in klp_check_stack_func()
237 func_addr = (unsigned long)func->old_func; in klp_check_stack_func()
/linux-6.12.1/drivers/net/dsa/sja1105/
Dsja1105_ptp.c690 enum ptp_pin_function old_func; in sja1105_change_ptp_clk_pin_func() local
697 old_func = PTP_PF_PEROUT; in sja1105_change_ptp_clk_pin_func()
699 old_func = PTP_PF_EXTTS; in sja1105_change_ptp_clk_pin_func()
701 if (func == old_func) in sja1105_change_ptp_clk_pin_func()
/linux-6.12.1/include/linux/
Dlivepatch.h70 void *old_func; member
/linux-6.12.1/drivers/net/ethernet/amazon/ena/
Dena_com.c2376 enum ena_admin_hash_functions old_func; in ena_com_fill_hash_function() local
2410 old_func = rss->hash_func; in ena_com_fill_hash_function()
2416 rss->hash_func = old_func; in ena_com_fill_hash_function()