Lines Matching refs:old_patch
553 struct klp_patch *old_patch; in klp_add_nops() local
556 klp_for_each_patch(old_patch) { in klp_add_nops()
557 klp_for_each_object(old_patch, old_obj) { in klp_add_nops()
727 struct klp_patch *old_patch, *tmp_patch; in klp_free_replaced_patches_async() local
729 klp_for_each_patch_safe(old_patch, tmp_patch) { in klp_free_replaced_patches_async()
730 if (old_patch == new_patch) in klp_free_replaced_patches_async()
732 klp_free_patch_async(old_patch); in klp_free_replaced_patches_async()
1115 struct klp_patch *old_patch; in klp_unpatch_replaced_patches() local
1117 klp_for_each_patch(old_patch) { in klp_unpatch_replaced_patches()
1118 if (old_patch == new_patch) in klp_unpatch_replaced_patches()
1121 old_patch->enabled = false; in klp_unpatch_replaced_patches()
1122 klp_unpatch_objects(old_patch); in klp_unpatch_replaced_patches()