Lines Matching refs:alt
836 struct alternative *alt; in add_special_section_alts() local
879 alt = malloc(sizeof(*alt)); in add_special_section_alts()
880 if (!alt) { in add_special_section_alts()
886 alt->insn = new_insn; in add_special_section_alts()
887 alt->skip_orig = special_alt->skip_orig; in add_special_section_alts()
889 list_add_tail(&alt->list, &orig_insn->alts); in add_special_section_alts()
904 struct alternative *alt; in add_jump_table() local
935 alt = malloc(sizeof(*alt)); in add_jump_table()
936 if (!alt) { in add_jump_table()
941 alt->insn = dest_insn; in add_jump_table()
942 list_add_tail(&alt->list, &insn->alts); in add_jump_table()
1946 struct alternative *alt; in validate_branch() local
2033 list_for_each_entry(alt, &insn->alts, list) { in validate_branch()
2034 if (alt->skip_orig) in validate_branch()
2037 ret = validate_branch(file, func, alt->insn, state); in validate_branch()
2410 struct alternative *alt, *tmpalt; in cleanup() local
2413 list_for_each_entry_safe(alt, tmpalt, &insn->alts, list) { in cleanup()
2414 list_del(&alt->list); in cleanup()
2415 free(alt); in cleanup()