Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
141 if (WARN_ON(!func->old_func)) in klp_unpatch_func()
144 ops = klp_find_ops(func->old_func); in klp_unpatch_func()
152 klp_get_ftrace_location((unsigned long)func->old_func); in klp_unpatch_func()
174 if (WARN_ON(!func->old_func)) in klp_patch_func()
180 ops = klp_find_ops(func->old_func); in klp_patch_func()
185 klp_get_ftrace_location((unsigned long)func->old_func); in klp_patch_func()
Dcore.c86 struct klp_func *old_func) in klp_find_func() argument
91 if ((strcmp(old_func->old_name, func->old_name) == 0) && in klp_find_func()
92 (old_func->old_sympos == func->old_sympos)) { in klp_find_func()
475 static struct klp_func *klp_alloc_func_nop(struct klp_func *old_func, in klp_alloc_func_nop() argument
484 if (old_func->old_name) { in klp_alloc_func_nop()
485 func->old_name = kstrdup(old_func->old_name, GFP_KERNEL); in klp_alloc_func_nop()
497 func->old_sympos = old_func->old_sympos; in klp_alloc_func_nop()
507 struct klp_func *func, *old_func; in klp_add_object_nops() local
517 klp_for_each_func(old_obj, old_func) { in klp_add_object_nops()
518 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.c215 ops = klp_find_ops(func->old_func); in klp_check_stack_func()
219 func_addr = (unsigned long)func->old_func; in klp_check_stack_func()
/kernel/linux/linux-5.10/drivers/net/dsa/sja1105/
Dsja1105_ptp.c646 enum ptp_pin_function old_func; in sja1105_change_ptp_clk_pin_func() local
653 old_func = PTP_PF_PEROUT; in sja1105_change_ptp_clk_pin_func()
655 old_func = PTP_PF_EXTTS; in sja1105_change_ptp_clk_pin_func()
657 if (func == old_func) in sja1105_change_ptp_clk_pin_func()
/kernel/linux/linux-5.10/include/linux/
Dlivepatch.h71 void *old_func; member
/kernel/linux/linux-5.10/drivers/net/ethernet/amazon/ena/
Dena_com.c2307 enum ena_admin_hash_functions old_func; in ena_com_fill_hash_function() local
2350 old_func = rss->hash_func; in ena_com_fill_hash_function()
2356 rss->hash_func = old_func; in ena_com_fill_hash_function()