Searched refs:new_patch (Results 1 – 4 of 4) sorted by relevance
491 patch_t *new_patch; in emit_patch() local499 new_patch = (patch_t *)malloc(sizeof(*new_patch)); in emit_patch()501 if (new_patch == NULL) in emit_patch()504 memset(new_patch, 0, sizeof(*new_patch)); in emit_patch()507 new_patch->patch_func = scope->func_num; in emit_patch()508 new_patch->begin = scope->begin_addr; in emit_patch()510 new_patch->patch_func = 0; in emit_patch()511 new_patch->begin = scope->end_addr; in emit_patch()513 new_patch->skip_instr = pinfo->skip_instr; in emit_patch()514 new_patch->skip_patch = pinfo->skip_patch; in emit_patch()[all …]
17 void klp_free_replaced_patches_async(struct klp_patch *new_patch);18 void klp_unpatch_replaced_patches(struct klp_patch *new_patch);19 void klp_discard_nops(struct klp_patch *new_patch);
747 void klp_free_replaced_patches_async(struct klp_patch *new_patch) in klp_free_replaced_patches_async() argument752 if (old_patch == new_patch) in klp_free_replaced_patches_async()1148 void klp_unpatch_replaced_patches(struct klp_patch *new_patch) in klp_unpatch_replaced_patches() argument1153 if (old_patch == new_patch) in klp_unpatch_replaced_patches()1177 void klp_discard_nops(struct klp_patch *new_patch) in klp_discard_nops() argument
595 static void update_cache(struct ucode_patch *new_patch) in update_cache() argument600 if (p->equiv_cpu == new_patch->equiv_cpu) { in update_cache()601 if (p->patch_id >= new_patch->patch_id) { in update_cache()603 kfree(new_patch->data); in update_cache()604 kfree(new_patch); in update_cache()608 list_replace(&p->plist, &new_patch->plist); in update_cache()615 list_add_tail(&new_patch->plist, µcode_cache); in update_cache()