Home
last modified time | relevance | path

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

/linux/kernel/livepatch/
A Dcore.c335 struct klp_patch *patch; in enabled_store()
378 struct klp_patch *patch; in enabled_show()
387 struct klp_patch *patch; in transition_show()
397 struct klp_patch *patch; in force_store()
432 ATTRIBUTE_GROUPS(klp_patch);
536 struct klp_patch *old_patch; in klp_add_nops()
554 struct klp_patch *patch; in klp_kobj_release_patch()
695 struct klp_patch *patch = in klp_free_patch_work_fn()
1100 struct klp_patch *old_patch; in klp_unpatch_replaced_patches()
1141 struct klp_patch *patch; in klp_cleanup_module_patches_limited()
[all …]
A Dstate.c31 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()
A Dcore.h16 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);
A Dtransition.h7 extern struct klp_patch *klp_transition_patch;
9 void klp_init_transition(struct klp_patch *patch, int state);
A Dpatch.h32 void klp_unpatch_objects(struct klp_patch *patch);
33 void klp_unpatch_objects_dynamic(struct klp_patch *patch);
A Dpatch.c287 static void __klp_unpatch_objects(struct klp_patch *patch, bool nops_only) in __klp_unpatch_objects()
296 void klp_unpatch_objects(struct klp_patch *patch) in klp_unpatch_objects()
301 void klp_unpatch_objects_dynamic(struct klp_patch *patch) in klp_unpatch_objects_dynamic()
A Dtransition.c22 struct klp_patch *klp_transition_patch;
389 struct klp_patch *patch; in klp_try_complete_transition()
504 void klp_init_transition(struct klp_patch *patch, int state) in klp_init_transition()
630 struct klp_patch *patch; in klp_force_transition()
A Dstate.h7 bool klp_is_patch_compatible(struct klp_patch *patch);
/linux/include/linux/
A Dlivepatch.h159 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);
/linux/lib/livepatch/
A Dtest_klp_state.c32 static struct klp_patch patch;
141 static struct klp_patch patch = {
A Dtest_klp_state2.c32 static struct klp_patch patch;
170 static struct klp_patch patch = {
A Dtest_klp_livepatch.c32 static struct klp_patch patch = {
A Dtest_klp_atomic_replace.c36 static struct klp_patch patch = {
A Dtest_klp_callbacks_demo2.c72 static struct klp_patch patch = {
A Dtest_klp_callbacks_demo.c102 static struct klp_patch patch = {
/linux/samples/livepatch/
A Dlivepatch-sample.c53 static struct klp_patch patch = {
A Dlivepatch-shadow-fix2.c113 static struct klp_patch patch = {
A Dlivepatch-callbacks-demo.c179 static struct klp_patch patch = {
A Dlivepatch-shadow-fix1.c154 static struct klp_patch patch = {
/linux/Documentation/livepatch/
A Dcumulative-patches.rst20 The atomic replace can be enabled by setting "replace" flag in struct klp_patch,
23 static struct klp_patch patch = {
A Dlivepatch.rst275 - struct klp_patch defines an array of patched objects (struct
305 First, only the module has an easy access to the related struct klp_patch.

Completed in 29 milliseconds