Lines Matching refs:old_patch
536 struct klp_patch *old_patch; in klp_add_nops() local
539 klp_for_each_patch(old_patch) { in klp_add_nops()
540 klp_for_each_object(old_patch, old_obj) { in klp_add_nops()
709 struct klp_patch *old_patch, *tmp_patch; in klp_free_replaced_patches_async() local
711 klp_for_each_patch_safe(old_patch, tmp_patch) { in klp_free_replaced_patches_async()
712 if (old_patch == new_patch) in klp_free_replaced_patches_async()
714 klp_free_patch_async(old_patch); in klp_free_replaced_patches_async()
1100 struct klp_patch *old_patch; in klp_unpatch_replaced_patches() local
1102 klp_for_each_patch(old_patch) { in klp_unpatch_replaced_patches()
1103 if (old_patch == new_patch) in klp_unpatch_replaced_patches()
1106 old_patch->enabled = false; in klp_unpatch_replaced_patches()
1107 klp_unpatch_objects(old_patch); in klp_unpatch_replaced_patches()