Lines Matching refs:target
44 * (or "before the sector after the target range")
60 sector_t target = s + sectors;
66 target += (1<<bb->shift) - 1;
67 target >>= bb->shift;
69 /* 'target' is now the first block after the bad range */
77 /* Binary search between lo and hi for 'target'
78 * i.e. for the last range that starts before 'target'
81 * are known not to be the last range before target.
89 if (a < target)
98 /* 'lo' might be the last that started before target, but 'hi' isn't */
105 if (BB_OFFSET(p[lo]) < target) {
334 sector_t target = s + sectors;
346 target >>= bb->shift;
354 /* Find the last range that starts before 'target' */
359 if (a < target)
369 if ((BB_OFFSET(p[lo]) + BB_LEN(p[lo]) > target) &&
370 (BB_OFFSET(p[lo]) < target)) {
387 p[lo] = BB_MAKE(target, end - target, ack);
394 (BB_OFFSET(p[lo]) < target)) {