Home | History | Annotate | Download | only in linker

Lines Matching refs:best_fit

103     int best_fit = -1;
117 best_fit = curr;
121 (best_fit < 0 ||
122 BA_ORDER(curr) < BA_ORDER(best_fit)))
123 best_fit = curr;
128 /* if best_fit < 0, there are no suitable slots,
131 if (best_fit < 0)
138 while (BA_ORDER(best_fit) > (unsigned char)order) {
140 BA_ORDER(best_fit) -= 1;
141 buddy = BA_BUDDY_INDEX(best_fit);
142 BA_ORDER(buddy) = BA_ORDER(best_fit);
144 ba->bitmap[best_fit].allocated = 1;
145 return best_fit;