Home
last modified time | relevance | path

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

/linux-4.1.27/include/linux/
Dlivepatch.h115 struct klp_patch { struct
126 int klp_register_patch(struct klp_patch *); argument
127 int klp_unregister_patch(struct klp_patch *);
128 int klp_enable_patch(struct klp_patch *);
129 int klp_disable_patch(struct klp_patch *);
/linux-4.1.27/kernel/livepatch/
Dcore.c118 static bool klp_is_patch_registered(struct klp_patch *patch) in klp_is_patch_registered()
120 struct klp_patch *mypatch; in klp_is_patch_registered()
463 static int __klp_disable_patch(struct klp_patch *patch) in __klp_disable_patch()
492 int klp_disable_patch(struct klp_patch *patch) in klp_disable_patch()
516 static int __klp_enable_patch(struct klp_patch *patch) in __klp_enable_patch()
561 int klp_enable_patch(struct klp_patch *patch) in klp_enable_patch()
593 struct klp_patch *patch; in enabled_store()
604 patch = container_of(kobj, struct klp_patch, kobj); in enabled_store()
636 struct klp_patch *patch; in enabled_show()
638 patch = container_of(kobj, struct klp_patch, kobj); in enabled_show()
[all …]
/linux-4.1.27/samples/livepatch/
Dlivepatch-sample.c63 static struct klp_patch patch = {