Home
last modified time | relevance | path

Searched refs:klp_func (Results 1 – 16 of 16) sorted by relevance

/linux-6.1.9/kernel/livepatch/
Dpatch.c28 struct klp_func *func; in klp_find_ops()
31 func = list_first_entry(&ops->func_stack, struct klp_func, in klp_find_ops()
46 struct klp_func *func; in klp_ftrace_handler()
62 func = list_first_or_null_rcu(&ops->func_stack, struct klp_func, in klp_ftrace_handler()
107 struct klp_func, stack_node); in klp_ftrace_handler()
127 static void klp_unpatch_func(struct klp_func *func) in klp_unpatch_func()
160 static int klp_patch_func(struct klp_func *func) in klp_patch_func()
232 struct klp_func *func; in __klp_unpatch_object()
254 struct klp_func *func; in klp_patch_object()
Dcore.c86 static struct klp_func *klp_find_func(struct klp_object *obj, in klp_find_func()
87 struct klp_func *old_func) in klp_find_func()
89 struct klp_func *func; in klp_find_func()
458 struct klp_func *func);
485 static void klp_free_func_nop(struct klp_func *func) in klp_free_func_nop()
491 static struct klp_func *klp_alloc_func_nop(struct klp_func *old_func, in klp_alloc_func_nop()
494 struct klp_func *func; in klp_alloc_func_nop()
523 struct klp_func *func, *old_func; in klp_add_object_nops()
601 struct klp_func *func; in klp_kobj_release_func()
603 func = container_of(kobj, struct klp_func, kobj); in klp_kobj_release_func()
[all …]
Dtransition.c71 struct klp_func *func; in klp_complete_transition()
192 static int klp_check_stack_func(struct klp_func *func, unsigned long *entries, in klp_check_stack_func()
222 struct klp_func *prev; in klp_check_stack_func()
245 struct klp_func *func; in klp_check_stack()
508 struct klp_func *func; in klp_init_transition()
/linux-6.1.9/samples/livepatch/
Dlivepatch-callbacks-demo.c137 static struct klp_func no_funcs[] = {
141 static struct klp_func busymod_funcs[] = {
Dlivepatch-sample.c39 static struct klp_func funcs[] = {
Dlivepatch-shadow-fix2.c95 static struct klp_func funcs[] = {
Dlivepatch-shadow-fix1.c136 static struct klp_func funcs[] = {
/linux-6.1.9/lib/livepatch/
Dtest_klp_callbacks_demo.c60 static struct klp_func no_funcs[] = {
64 static struct klp_func busymod_funcs[] = {
Dtest_klp_livepatch.c18 static struct klp_func funcs[] = {
Dtest_klp_atomic_replace.c22 static struct klp_func funcs[] = {
Dtest_klp_callbacks_demo2.c55 static struct klp_func no_funcs[] = {
Dtest_klp_state.c117 static struct klp_func no_funcs[] = {
Dtest_klp_state2.c146 static struct klp_func no_funcs[] = {
/linux-6.1.9/include/linux/
Dlivepatch.h55 struct klp_func { struct
119 struct klp_func *funcs;
/linux-6.1.9/Documentation/livepatch/
Dapi.rst30 :identifiers: klp_patch klp_object klp_func klp_callbacks klp_state
Dlivepatch.rst248 - struct klp_func is defined for each patched function. It describes
266 klp_func) in the same object. Where the object is either vmlinux
354 all the functions (struct klp_func) associated with the replaced
377 to '0'. All the functions (struct klp_func) associated with the to-be-disabled