Searched refs:klp_patch (Results 1 – 21 of 21) sorted by relevance
/kernel/linux/linux-5.10/kernel/livepatch/ |
D | core.c | 100 static struct klp_object *klp_find_object(struct klp_patch *patch, in klp_find_object() 331 static int __klp_disable_patch(struct klp_patch *patch); 336 struct klp_patch *patch; in enabled_store() 344 patch = container_of(kobj, struct klp_patch, kobj); in enabled_store() 379 struct klp_patch *patch; in enabled_show() 381 patch = container_of(kobj, struct klp_patch, kobj); in enabled_show() 388 struct klp_patch *patch; in transition_show() 390 patch = container_of(kobj, struct klp_patch, kobj); in transition_show() 398 struct klp_patch *patch; in force_store() 411 patch = container_of(kobj, struct klp_patch, kobj); in force_store() [all …]
|
D | state.c | 31 struct klp_state *klp_get_state(struct klp_patch *patch, unsigned long id) in klp_get_state() 66 struct klp_patch *patch; in klp_get_prev_state() 87 static bool klp_is_state_compatible(struct klp_patch *patch, in klp_is_state_compatible() 106 bool klp_is_patch_compatible(struct klp_patch *patch) in klp_is_patch_compatible() 108 struct klp_patch *old_patch; in klp_is_patch_compatible()
|
D | core.h | 16 void klp_free_patch_async(struct klp_patch *patch); 17 void klp_free_replaced_patches_async(struct klp_patch *new_patch); 18 void klp_unpatch_replaced_patches(struct klp_patch *new_patch); 19 void klp_discard_nops(struct klp_patch *new_patch);
|
D | transition.h | 7 extern struct klp_patch *klp_transition_patch; 9 void klp_init_transition(struct klp_patch *patch, int state);
|
D | patch.h | 32 void klp_unpatch_objects(struct klp_patch *patch); 33 void klp_unpatch_objects_dynamic(struct klp_patch *patch);
|
D | patch.c | 280 static void __klp_unpatch_objects(struct klp_patch *patch, bool nops_only) in __klp_unpatch_objects() 289 void klp_unpatch_objects(struct klp_patch *patch) in klp_unpatch_objects() 294 void klp_unpatch_objects_dynamic(struct klp_patch *patch) in klp_unpatch_objects_dynamic()
|
D | transition.c | 22 struct klp_patch *klp_transition_patch; 392 struct klp_patch *patch; in klp_try_complete_transition() 504 void klp_init_transition(struct klp_patch *patch, int state) in klp_init_transition() 644 struct klp_patch *patch; in klp_force_transition()
|
D | state.h | 7 bool klp_is_patch_compatible(struct klp_patch *patch);
|
/kernel/linux/linux-5.10/include/linux/ |
D | livepatch.h | 159 struct klp_patch { struct 196 int klp_enable_patch(struct klp_patch *); argument 231 struct klp_state *klp_get_state(struct klp_patch *patch, unsigned long id);
|
/kernel/linux/linux-5.10/lib/livepatch/ |
D | test_klp_state.c | 32 static struct klp_patch patch; 141 static struct klp_patch patch = {
|
D | test_klp_state2.c | 32 static struct klp_patch patch; 170 static struct klp_patch patch = {
|
D | test_klp_livepatch.c | 32 static struct klp_patch patch = {
|
D | test_klp_atomic_replace.c | 36 static struct klp_patch patch = {
|
D | test_klp_callbacks_demo2.c | 72 static struct klp_patch patch = {
|
D | test_klp_callbacks_demo.c | 102 static struct klp_patch patch = {
|
/kernel/linux/linux-5.10/samples/livepatch/ |
D | livepatch-sample.c | 53 static struct klp_patch patch = {
|
D | livepatch-shadow-fix2.c | 113 static struct klp_patch patch = {
|
D | livepatch-callbacks-demo.c | 179 static struct klp_patch patch = {
|
D | livepatch-shadow-fix1.c | 154 static struct klp_patch patch = {
|
/kernel/linux/linux-5.10/Documentation/livepatch/ |
D | cumulative-patches.rst | 20 The atomic replace can be enabled by setting "replace" flag in struct klp_patch, 23 static struct klp_patch patch = {
|
D | livepatch.rst | 288 - struct klp_patch defines an array of patched objects (struct 318 First, only the module has an easy access to the related struct klp_patch.
|