Lines Matching refs:klp_patch

106 static struct klp_object *klp_find_object(struct klp_patch *patch,  in klp_find_object()
359 static int __klp_disable_patch(struct klp_patch *patch);
364 struct klp_patch *patch; in enabled_store()
372 patch = container_of(kobj, struct klp_patch, kobj); in enabled_store()
407 struct klp_patch *patch; in enabled_show()
409 patch = container_of(kobj, struct klp_patch, kobj); in enabled_show()
416 struct klp_patch *patch; in transition_show()
418 patch = container_of(kobj, struct klp_patch, kobj); in transition_show()
425 struct klp_patch *patch; in force_store()
438 patch = container_of(kobj, struct klp_patch, kobj); in force_store()
454 struct klp_patch *patch; in replace_show()
456 patch = container_of(kobj, struct klp_patch, kobj); in replace_show()
463 struct klp_patch *patch, *this_patch; in stack_order_show()
466 this_patch = container_of(kobj, struct klp_patch, kobj); in stack_order_show()
494 ATTRIBUTE_GROUPS(klp_patch);
520 static void klp_init_object_early(struct klp_patch *patch,
524 struct klp_patch *patch) in klp_alloc_object_dynamic()
580 static int klp_add_object_nops(struct klp_patch *patch, in klp_add_object_nops()
615 static int klp_add_nops(struct klp_patch *patch) in klp_add_nops()
617 struct klp_patch *old_patch; in klp_add_nops()
635 struct klp_patch *patch; in klp_kobj_release_patch()
637 patch = container_of(kobj, struct klp_patch, kobj); in klp_kobj_release_patch()
706 static void __klp_free_objects(struct klp_patch *patch, bool nops_only) in __klp_free_objects()
721 static void klp_free_objects(struct klp_patch *patch) in klp_free_objects()
726 static void klp_free_objects_dynamic(struct klp_patch *patch) in klp_free_objects_dynamic()
738 static void klp_free_patch_start(struct klp_patch *patch) in klp_free_patch_start()
754 static void klp_free_patch_finish(struct klp_patch *patch) in klp_free_patch_finish()
777 struct klp_patch *patch = in klp_free_patch_work_fn()
778 container_of(work, struct klp_patch, free_work); in klp_free_patch_work_fn()
783 void klp_free_patch_async(struct klp_patch *patch) in klp_free_patch_async()
789 void klp_free_replaced_patches_async(struct klp_patch *new_patch) in klp_free_replaced_patches_async()
791 struct klp_patch *old_patch, *tmp_patch; in klp_free_replaced_patches_async()
829 static int klp_write_object_relocs(struct klp_patch *patch, in klp_write_object_relocs()
853 static int klp_apply_object_relocs(struct klp_patch *patch, in klp_apply_object_relocs()
859 static void klp_clear_object_relocs(struct klp_patch *patch, in klp_clear_object_relocs()
866 static int klp_init_object_loaded(struct klp_patch *patch, in klp_init_object_loaded()
914 static int klp_init_object(struct klp_patch *patch, struct klp_object *obj) in klp_init_object()
952 static void klp_init_object_early(struct klp_patch *patch, in klp_init_object_early()
960 static void klp_init_patch_early(struct klp_patch *patch) in klp_init_patch_early()
982 static int klp_init_patch(struct klp_patch *patch) in klp_init_patch()
1008 static int __klp_disable_patch(struct klp_patch *patch) in __klp_disable_patch()
1040 static int __klp_enable_patch(struct klp_patch *patch) in __klp_enable_patch()
1108 int klp_enable_patch(struct klp_patch *patch) in klp_enable_patch()
1190 void klp_unpatch_replaced_patches(struct klp_patch *new_patch) in klp_unpatch_replaced_patches()
1192 struct klp_patch *old_patch; in klp_unpatch_replaced_patches()
1219 void klp_discard_nops(struct klp_patch *new_patch) in klp_discard_nops()
1231 struct klp_patch *limit) in klp_cleanup_module_patches_limited()
1233 struct klp_patch *patch; in klp_cleanup_module_patches_limited()
1262 struct klp_patch *patch; in klp_module_coming()