Lines Matching refs:calc_offset
591 static long calc_offset(struct fixup_entry *entry, unsigned int *p) in calc_offset() function
605 fixup.start_off = calc_offset(&fixup, ftr_fixup_test1 + 1); in test_basic_patching()
606 fixup.end_off = calc_offset(&fixup, ftr_fixup_test1 + 2); in test_basic_patching()
637 fixup.start_off = calc_offset(&fixup, ftr_fixup_test2 + 1); in test_alternative_patching()
638 fixup.end_off = calc_offset(&fixup, ftr_fixup_test2 + 2); in test_alternative_patching()
639 fixup.alt_start_off = calc_offset(&fixup, ftr_fixup_test2_alt); in test_alternative_patching()
640 fixup.alt_end_off = calc_offset(&fixup, ftr_fixup_test2_alt + 1); in test_alternative_patching()
669 fixup.start_off = calc_offset(&fixup, ftr_fixup_test3 + 1); in test_alternative_case_too_big()
670 fixup.end_off = calc_offset(&fixup, ftr_fixup_test3 + 2); in test_alternative_case_too_big()
671 fixup.alt_start_off = calc_offset(&fixup, ftr_fixup_test3_alt); in test_alternative_case_too_big()
672 fixup.alt_end_off = calc_offset(&fixup, ftr_fixup_test3_alt + 2); in test_alternative_case_too_big()
699 fixup.start_off = calc_offset(&fixup, ftr_fixup_test4 + 1); in test_alternative_case_too_small()
700 fixup.end_off = calc_offset(&fixup, ftr_fixup_test4 + 5); in test_alternative_case_too_small()
701 fixup.alt_start_off = calc_offset(&fixup, ftr_fixup_test4_alt); in test_alternative_case_too_small()
702 fixup.alt_end_off = calc_offset(&fixup, ftr_fixup_test4_alt + 2); in test_alternative_case_too_small()
807 fixup.start_off = calc_offset(&fixup, ftr_fixup_prefix1 + 1); in test_prefix_patching()
808 fixup.end_off = calc_offset(&fixup, ftr_fixup_prefix1 + 3); in test_prefix_patching()
829 fixup.start_off = calc_offset(&fixup, ftr_fixup_prefix2 + 1); in test_prefix_alt_patching()
830 fixup.end_off = calc_offset(&fixup, ftr_fixup_prefix2 + 3); in test_prefix_alt_patching()
831 fixup.alt_start_off = calc_offset(&fixup, ftr_fixup_prefix2_alt); in test_prefix_alt_patching()
832 fixup.alt_end_off = calc_offset(&fixup, ftr_fixup_prefix2_alt + 2); in test_prefix_alt_patching()
851 fixup.start_off = calc_offset(&fixup, ftr_fixup_prefix3 + 1); in test_prefix_word_alt_patching()
852 fixup.end_off = calc_offset(&fixup, ftr_fixup_prefix3 + 4); in test_prefix_word_alt_patching()
853 fixup.alt_start_off = calc_offset(&fixup, ftr_fixup_prefix3_alt); in test_prefix_word_alt_patching()
854 fixup.alt_end_off = calc_offset(&fixup, ftr_fixup_prefix3_alt + 3); in test_prefix_word_alt_patching()