Lines Matching refs:old_patch
575 struct klp_patch *old_patch; in klp_add_nops() local
578 klp_for_each_patch(old_patch) { in klp_add_nops()
579 klp_for_each_object(old_patch, old_obj) { in klp_add_nops()
749 struct klp_patch *old_patch, *tmp_patch; in klp_free_replaced_patches_async() local
751 klp_for_each_patch_safe(old_patch, tmp_patch) { in klp_free_replaced_patches_async()
752 if (old_patch == new_patch) in klp_free_replaced_patches_async()
754 klp_free_patch_async(old_patch); in klp_free_replaced_patches_async()
1150 struct klp_patch *old_patch; in klp_unpatch_replaced_patches() local
1152 klp_for_each_patch(old_patch) { in klp_unpatch_replaced_patches()
1153 if (old_patch == new_patch) in klp_unpatch_replaced_patches()
1156 old_patch->enabled = false; in klp_unpatch_replaced_patches()
1157 klp_unpatch_objects(old_patch); in klp_unpatch_replaced_patches()