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);
725 void klp_free_replaced_patches_async(struct klp_patch *new_patch) in klp_free_replaced_patches_async() argument730 if (old_patch == new_patch) in klp_free_replaced_patches_async()1113 void klp_unpatch_replaced_patches(struct klp_patch *new_patch) in klp_unpatch_replaced_patches() argument1118 if (old_patch == new_patch) in klp_unpatch_replaced_patches()1142 void klp_discard_nops(struct klp_patch *new_patch) in klp_discard_nops() argument
617 static void update_cache(struct ucode_patch *new_patch) in update_cache() argument622 if (p->equiv_cpu == new_patch->equiv_cpu) { in update_cache()623 if (p->patch_id >= new_patch->patch_id) { in update_cache()625 kfree(new_patch->data); in update_cache()626 kfree(new_patch); in update_cache()630 list_replace(&p->plist, &new_patch->plist); in update_cache()637 list_add_tail(&new_patch->plist, µcode_cache); in update_cache()