Home
last modified time | relevance | path

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

/linux-2.4.37.9/fs/xfs/
Dxfs_log_recover.c318 xfs_daddr_t *last_blk, in xlog_find_cycle_start() argument
326 mid_blk = BLK_AVG(first_blk, *last_blk); in xlog_find_cycle_start()
327 while (mid_blk != first_blk && mid_blk != *last_blk) { in xlog_find_cycle_start()
333 *last_blk = mid_blk; in xlog_find_cycle_start()
339 mid_blk = BLK_AVG(first_blk, *last_blk); in xlog_find_cycle_start()
341 ASSERT((mid_blk == first_blk && mid_blk+1 == *last_blk) || in xlog_find_cycle_start()
342 (mid_blk == *last_blk && mid_blk-1 == first_blk)); in xlog_find_cycle_start()
424 xfs_daddr_t *last_blk, in xlog_find_verify_log_record() argument
433 int num_blks = *last_blk - start_blk; in xlog_find_verify_log_record()
436 ASSERT(start_blk != 0 || *last_blk != start_blk); in xlog_find_verify_log_record()
[all …]
/linux-2.4.37.9/fs/affs/
Dfile.c820 u32 last_blk, blkcnt, blk; in affs_truncate() local
828 last_blk = 0; in affs_truncate()
831 last_blk = ((u32)inode->i_size - 1) / AFFS_SB->s_data_blksize; in affs_truncate()
832 ext = last_blk / AFFS_SB->s_hashsize; in affs_truncate()
879 blk = last_blk; in affs_truncate()
881 i = last_blk % AFFS_SB->s_hashsize + 1; in affs_truncate()
898 AFFS_INODE->i_blkcnt = last_blk + 1; in affs_truncate()
901 struct buffer_head *bh = affs_bread_ino(inode, last_blk, 0); in affs_truncate()
905 last_blk, PTR_ERR(bh)); in affs_truncate()