Lines Matching refs:probe_pos
2279 int probe_hi, probe_lo, probe_pos, insert_after, insert_point;
2296 probe_pos = (probe_hi + probe_lo) / 2;
2297 while ((probe_pfn = contig_pfn_list[probe_pos]) != pfn) {
2298 if (probe_pos == probe_lo) { /* pfn not in list */
2299 probe_pos = -1;
2303 probe_lo = probe_pos;
2305 probe_hi = probe_pos;
2306 probe_pos = (probe_hi + probe_lo) / 2;
2308 if (probe_pos >= 0) {
2323 ovbcopy(&contig_pfn_list[probe_pos + 1],
2324 &contig_pfn_list[probe_pos],
2325 (contig_pfn_cnt - probe_pos) * sizeof (pfn_t));
2336 probe_pos = (probe_hi + probe_lo) / 2;
2337 probe_mfn = pfn_to_mfn(contig_pfn_list[probe_pos]);
2339 insert_after = probe_pos;
2341 insert_after = probe_pos - 1;
2342 if (probe_pos == probe_lo)
2345 probe_lo = probe_pos;
2347 probe_hi = probe_pos;