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;
68 sectors = target - s;
70 /* 'target' is now the first block after the bad range */
78 /* Binary search between lo and hi for 'target'
79 * i.e. for the last range that starts before 'target'
82 * are known not to be the last range before target.
90 if (a < target)
99 /* 'lo' might be the last that started before target, but 'hi' isn't */
106 if (BB_OFFSET(p[lo]) < target) {
335 sector_t target = s + sectors;
347 target >>= bb->shift;
348 sectors = target - s;
356 /* Find the last range that starts before 'target' */
361 if (a < target)
371 if ((BB_OFFSET(p[lo]) + BB_LEN(p[lo]) > target) &&
372 (BB_OFFSET(p[lo]) < target)) {
389 p[lo] = BB_MAKE(target, end - target, ack);
396 (BB_OFFSET(p[lo]) < target)) {