Home
last modified time | relevance | path

Searched refs:new_patch (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/scsi/aic7xxx/aicasm/ !
Daicasm.c491 patch_t *new_patch; in emit_patch() local
499 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 …]
/linux-6.1.9/kernel/livepatch/ !
Dcore.h17 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);
Dcore.c725 void klp_free_replaced_patches_async(struct klp_patch *new_patch) in klp_free_replaced_patches_async() argument
730 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() argument
1118 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
/linux-6.1.9/arch/x86/kernel/cpu/microcode/ !
Damd.c617 static void update_cache(struct ucode_patch *new_patch) in update_cache() argument
622 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, &microcode_cache); in update_cache()