Home
last modified time | relevance | path

Searched refs:mid_blk (Results 1 – 1 of 1) sorted by relevance

/linux-2.6.39/fs/xfs/
Dxfs_log_recover.c360 xfs_daddr_t mid_blk; in xlog_find_cycle_start() local
366 mid_blk = BLK_AVG(first_blk, end_blk); in xlog_find_cycle_start()
367 while (mid_blk != first_blk && mid_blk != end_blk) { in xlog_find_cycle_start()
368 error = xlog_bread(log, mid_blk, 1, bp, &offset); in xlog_find_cycle_start()
373 end_blk = mid_blk; /* last_half_cycle == mid_cycle */ in xlog_find_cycle_start()
375 first_blk = mid_blk; /* first_half_cycle == mid_cycle */ in xlog_find_cycle_start()
376 mid_blk = BLK_AVG(first_blk, end_blk); in xlog_find_cycle_start()
378 ASSERT((mid_blk == first_blk && mid_blk+1 == end_blk) || in xlog_find_cycle_start()
379 (mid_blk == end_blk && mid_blk-1 == first_blk)); in xlog_find_cycle_start()