Home
last modified time | relevance | path

Searched refs:klp_patch (Results 1 – 13 of 13) sorted by relevance

/Linux-v4.19/kernel/livepatch/
Dcore.c85 static bool klp_is_patch_registered(struct klp_patch *patch) in klp_is_patch_registered()
87 struct klp_patch *mypatch; in klp_is_patch_registered()
281 static int __klp_disable_patch(struct klp_patch *patch) in __klp_disable_patch()
326 int klp_disable_patch(struct klp_patch *patch) in klp_disable_patch()
350 static int __klp_enable_patch(struct klp_patch *patch) in __klp_enable_patch()
426 int klp_enable_patch(struct klp_patch *patch) in klp_enable_patch()
461 struct klp_patch *patch; in enabled_store()
469 patch = container_of(kobj, struct klp_patch, kobj); in enabled_store()
512 struct klp_patch *patch; in enabled_show()
514 patch = container_of(kobj, struct klp_patch, kobj); in enabled_show()
[all …]
Dtransition.h7 extern struct klp_patch *klp_transition_patch;
9 void klp_init_transition(struct klp_patch *patch, int state);
Dpatch.h32 void klp_unpatch_objects(struct klp_patch *patch);
Dtransition.c32 struct klp_patch *klp_transition_patch;
456 void klp_init_transition(struct klp_patch *patch, int state) in klp_init_transition()
Dpatch.c270 void klp_unpatch_objects(struct klp_patch *patch) in klp_unpatch_objects()
/Linux-v4.19/include/linux/
Dlivepatch.h143 struct klp_patch { struct
163 int klp_register_patch(struct klp_patch *); argument
164 int klp_unregister_patch(struct klp_patch *);
165 int klp_enable_patch(struct klp_patch *);
166 int klp_disable_patch(struct klp_patch *);
168 void arch_klp_init_object_loaded(struct klp_patch *patch,
/Linux-v4.19/samples/livepatch/
Dlivepatch-sample.c65 static struct klp_patch patch = {
Dlivepatch-shadow-fix2.c125 static struct klp_patch patch = {
Dlivepatch-shadow-fix1.c148 static struct klp_patch patch = {
Dlivepatch-callbacks-demo.c191 static struct klp_patch patch = {
/Linux-v4.19/arch/x86/kernel/
Dlivepatch.c24 void arch_klp_init_object_loaded(struct klp_patch *patch, in arch_klp_init_object_loaded()
/Linux-v4.19/Documentation/livepatch/
Dlivepatch.txt289 + struct klp_patch defines an array of patched objects (struct
306 has to register the patch (struct klp_patch) and enable it. See the
Dcallbacks.txt152 to the klp_patch, their post-patch callbacks run and the transition