Searched refs:klp_func (Results 1 – 18 of 18) sorted by relevance
| /linux/kernel/livepatch/ |
| H A D | patch.c | 28 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()
|
| H A D | core.c | 85 static struct klp_func *klp_find_func(struct klp_object *obj, in klp_find_func() 86 struct klp_func *old_func) in klp_find_func() 88 struct klp_func *func; in klp_find_func() 519 struct klp_func *func); 546 static void klp_free_func_nop(struct klp_func *func) in klp_free_func_nop() 552 static struct klp_func *klp_alloc_func_nop(struct klp_func *old_func, in klp_alloc_func_nop() 555 struct klp_func *func; in klp_alloc_func_nop() 584 struct klp_func *func, *old_func; in klp_add_object_nops() 665 struct klp_func *func; in klp_kobj_release_func() 667 func = container_of(kobj, struct klp_func, kobj); in klp_kobj_release_func() [all …]
|
| H A D | transition.c | 84 struct klp_func *func; in klp_synchronize_transition() 205 static int klp_check_stack_func(struct klp_func *func, unsigned long *entries, in klp_update_patch_state() 232 struct klp_func *prev; in klp_check_stack_func() 258 struct klp_func *func; 557 struct klp_func *func; in klp_start_transition()
|
| /linux/tools/testing/selftests/livepatch/test_modules/ |
| H A D | test_klp_callbacks_demo.c | 60 static struct klp_func no_funcs[] = { 64 static struct klp_func busymod_funcs[] = {
|
| H A D | test_klp_livepatch.c | 18 static struct klp_func funcs[] = {
|
| H A D | test_klp_atomic_replace.c | 22 static struct klp_func funcs[] = {
|
| H A D | test_klp_callbacks_demo2.c | 55 static struct klp_func no_funcs[] = {
|
| H A D | test_klp_syscall.c | 62 static struct klp_func vmlinux_funcs[] = {
|
| H A D | test_klp_state.c | 117 static struct klp_func no_funcs[] = {
|
| H A D | test_klp_state2.c | 146 static struct klp_func no_funcs[] = {
|
| /linux/samples/livepatch/ |
| H A D | livepatch-callbacks-demo.c | 137 static struct klp_func no_funcs[] = { 141 static struct klp_func busymod_funcs[] = {
|
| H A D | livepatch-sample.c | 39 static struct klp_func funcs[] = {
|
| H A D | livepatch-shadow-fix2.c | 95 static struct klp_func funcs[] = {
|
| H A D | livepatch-shadow-fix1.c | 135 static struct klp_func funcs[] = {
|
| /linux/scripts/livepatch/ |
| H A D | init.c | 47 struct klp_func *funcs = objs[i].funcs; in livepatch_mod_init() 50 funcs = kzalloc(sizeof(struct klp_func) * (nr_funcs + 1), GFP_KERNEL); in livepatch_mod_init()
|
| /linux/include/linux/ |
| H A D | livepatch.h | 57 struct klp_func { struct 97 struct klp_func *funcs; argument
|
| /linux/Documentation/livepatch/ |
| H A D | api.rst | 30 :identifiers: klp_patch klp_object klp_func klp_callbacks klp_state
|
| H A D | livepatch.rst | 248 - 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
|