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);
758 void klp_free_replaced_patches_async(struct klp_patch *new_patch) in klp_free_replaced_patches_async() argument763 if (old_patch == new_patch) in klp_free_replaced_patches_async()1159 void klp_unpatch_replaced_patches(struct klp_patch *new_patch) in klp_unpatch_replaced_patches() argument1164 if (old_patch == new_patch) in klp_unpatch_replaced_patches()1188 void klp_discard_nops(struct klp_patch *new_patch) in klp_discard_nops() argument
674 static void update_cache(struct ucode_patch *new_patch) in update_cache() argument680 if (patch_cpus_equivalent(p, new_patch, true)) { in update_cache()681 ret = patch_newer(p, new_patch); in update_cache()686 kfree(new_patch->data); in update_cache()687 kfree(new_patch); in update_cache()691 list_replace(&p->plist, &new_patch->plist); in update_cache()698 list_add_tail(&new_patch->plist, µcode_cache); in update_cache()