Home
last modified time | relevance | path

Searched refs:klp_ops (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/kernel/livepatch/
H A Dpatch.c23 static LIST_HEAD(klp_ops);
25 struct klp_ops *klp_find_ops(void *old_func) in klp_find_ops()
27 struct klp_ops *ops; in klp_find_ops()
30 list_for_each_entry(ops, &klp_ops, node) { in klp_find_ops()
45 struct klp_ops *ops; in klp_ftrace_handler()
49 ops = container_of(fops, struct klp_ops, fops); in klp_ftrace_handler()
137 struct klp_ops *ops; in klp_unpatch_func()
171 struct klp_ops *ops; in klp_patch_func()
202 list_add(&ops->node, &klp_ops); in klp_patch_func()
H A Dpatch.h10 * struct klp_ops - structure for tracking registered ftrace ops structs
14 * between function versions to happen instantaneously by updating the klp_ops
18 * @node: node for the global klp_ops list
22 struct klp_ops { struct
28 struct klp_ops *klp_find_ops(void *old_func);
H A Dtransition.c197 struct klp_ops *ops; in klp_check_stack_func()
/kernel/linux/linux-6.6/kernel/livepatch/
H A Dpatch.c23 static LIST_HEAD(klp_ops);
25 struct klp_ops *klp_find_ops(void *old_func) in klp_find_ops()
27 struct klp_ops *ops; in klp_find_ops()
30 list_for_each_entry(ops, &klp_ops, node) { in klp_find_ops()
45 struct klp_ops *ops; in klp_ftrace_handler()
50 ops = container_of(fops, struct klp_ops, fops); in klp_ftrace_handler()
129 struct klp_ops *ops; in klp_unpatch_func()
162 struct klp_ops *ops; in klp_patch_func()
194 list_add(&ops->node, &klp_ops); in klp_patch_func()
H A Dpatch.h10 * struct klp_ops - structure for tracking registered ftrace ops structs
14 * between function versions to happen instantaneously by updating the klp_ops
18 * @node: node for the global klp_ops list
22 struct klp_ops { struct
28 struct klp_ops *klp_find_ops(void *old_func);
H A Dtransition.c218 struct klp_ops *ops; in klp_check_stack_func()

Completed in 4 milliseconds