Lines Matching refs:new_patch
491 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()
515 STAILQ_INSERT_TAIL(&patches, new_patch, links); in emit_patch()