Lines Matching refs:fixup
479 static struct fixup_entry fixup; variable
494 fixup.value = fixup.mask = 8; in test_basic_patching()
495 fixup.start_off = calc_offset(&fixup, ftr_fixup_test1 + 1); in test_basic_patching()
496 fixup.end_off = calc_offset(&fixup, ftr_fixup_test1 + 2); in test_basic_patching()
497 fixup.alt_start_off = fixup.alt_end_off = 0; in test_basic_patching()
503 patch_feature_section(8, &fixup); in test_basic_patching()
507 patch_feature_section(0, &fixup); in test_basic_patching()
513 patch_feature_section(~8, &fixup); in test_basic_patching()
526 fixup.value = fixup.mask = 0xF; in test_alternative_patching()
527 fixup.start_off = calc_offset(&fixup, ftr_fixup_test2 + 1); in test_alternative_patching()
528 fixup.end_off = calc_offset(&fixup, ftr_fixup_test2 + 2); in test_alternative_patching()
529 fixup.alt_start_off = calc_offset(&fixup, ftr_fixup_test2_alt); in test_alternative_patching()
530 fixup.alt_end_off = calc_offset(&fixup, ftr_fixup_test2_alt + 1); in test_alternative_patching()
536 patch_feature_section(0xF, &fixup); in test_alternative_patching()
540 patch_feature_section(0, &fixup); in test_alternative_patching()
546 patch_feature_section(~0xF, &fixup); in test_alternative_patching()
558 fixup.value = fixup.mask = 0xC; in test_alternative_case_too_big()
559 fixup.start_off = calc_offset(&fixup, ftr_fixup_test3 + 1); in test_alternative_case_too_big()
560 fixup.end_off = calc_offset(&fixup, ftr_fixup_test3 + 2); in test_alternative_case_too_big()
561 fixup.alt_start_off = calc_offset(&fixup, ftr_fixup_test3_alt); in test_alternative_case_too_big()
562 fixup.alt_end_off = calc_offset(&fixup, ftr_fixup_test3_alt + 2); in test_alternative_case_too_big()
568 check(patch_feature_section(0xF, &fixup) == 1); in test_alternative_case_too_big()
570 check(patch_feature_section(0, &fixup) == 1); in test_alternative_case_too_big()
572 check(patch_feature_section(~0xF, &fixup) == 1); in test_alternative_case_too_big()
588 fixup.value = fixup.mask = flag; in test_alternative_case_too_small()
589 fixup.start_off = calc_offset(&fixup, ftr_fixup_test4 + 1); in test_alternative_case_too_small()
590 fixup.end_off = calc_offset(&fixup, ftr_fixup_test4 + 5); in test_alternative_case_too_small()
591 fixup.alt_start_off = calc_offset(&fixup, ftr_fixup_test4_alt); in test_alternative_case_too_small()
592 fixup.alt_end_off = calc_offset(&fixup, ftr_fixup_test4_alt + 2); in test_alternative_case_too_small()
598 patch_feature_section(flag, &fixup); in test_alternative_case_too_small()
602 patch_feature_section(0, &fixup); in test_alternative_case_too_small()
608 patch_feature_section(~flag, &fixup); in test_alternative_case_too_small()