Lines Matching refs:old_patch
586 struct klp_patch *old_patch; in klp_add_nops() local
589 klp_for_each_patch(old_patch) { in klp_add_nops()
590 klp_for_each_object(old_patch, old_obj) { in klp_add_nops()
760 struct klp_patch *old_patch, *tmp_patch; in klp_free_replaced_patches_async() local
762 klp_for_each_patch_safe(old_patch, tmp_patch) { in klp_free_replaced_patches_async()
763 if (old_patch == new_patch) in klp_free_replaced_patches_async()
765 klp_free_patch_async(old_patch); in klp_free_replaced_patches_async()
1161 struct klp_patch *old_patch; in klp_unpatch_replaced_patches() local
1163 klp_for_each_patch(old_patch) { in klp_unpatch_replaced_patches()
1164 if (old_patch == new_patch) in klp_unpatch_replaced_patches()
1167 old_patch->enabled = false; in klp_unpatch_replaced_patches()
1168 klp_unpatch_objects(old_patch); in klp_unpatch_replaced_patches()