Lines Matching refs:fcur
34 static unsigned int *calc_addr(struct fixup_entry *fcur, long offset) in calc_addr() argument
41 return (unsigned int *)((unsigned long)fcur + offset); in calc_addr()
67 static int patch_feature_section(unsigned long value, struct fixup_entry *fcur) in patch_feature_section() argument
71 start = calc_addr(fcur, fcur->start_off); in patch_feature_section()
72 end = calc_addr(fcur, fcur->end_off); in patch_feature_section()
73 alt_start = calc_addr(fcur, fcur->alt_start_off); in patch_feature_section()
74 alt_end = calc_addr(fcur, fcur->alt_end_off); in patch_feature_section()
79 if ((value & fcur->mask) == fcur->value) in patch_feature_section()
98 struct fixup_entry *fcur, *fend; in do_feature_fixups() local
100 fcur = fixup_start; in do_feature_fixups()
103 for (; fcur < fend; fcur++) { in do_feature_fixups()
104 if (patch_feature_section(value, fcur)) { in do_feature_fixups()
108 calc_addr(fcur, fcur->start_off), in do_feature_fixups()
109 calc_addr(fcur, fcur->end_off), in do_feature_fixups()
110 calc_addr(fcur, fcur->alt_start_off), in do_feature_fixups()
111 calc_addr(fcur, fcur->alt_end_off)); in do_feature_fixups()