Lines Matching refs:fcur
38 static unsigned int *calc_addr(struct fixup_entry *fcur, long offset) in calc_addr() argument
45 return (unsigned int *)((unsigned long)fcur + offset); in calc_addr()
71 static int patch_feature_section(unsigned long value, struct fixup_entry *fcur) in patch_feature_section() argument
75 start = calc_addr(fcur, fcur->start_off); in patch_feature_section()
76 end = calc_addr(fcur, fcur->end_off); in patch_feature_section()
77 alt_start = calc_addr(fcur, fcur->alt_start_off); in patch_feature_section()
78 alt_end = calc_addr(fcur, fcur->alt_end_off); in patch_feature_section()
83 if ((value & fcur->mask) == fcur->value) in patch_feature_section()
102 struct fixup_entry *fcur, *fend; in do_feature_fixups() local
104 fcur = fixup_start; in do_feature_fixups()
107 for (; fcur < fend; fcur++) { in do_feature_fixups()
108 if (patch_feature_section(value, fcur)) { in do_feature_fixups()
112 calc_addr(fcur, fcur->start_off), in do_feature_fixups()
113 calc_addr(fcur, fcur->end_off), in do_feature_fixups()
114 calc_addr(fcur, fcur->alt_start_off), in do_feature_fixups()
115 calc_addr(fcur, fcur->alt_end_off)); in do_feature_fixups()