Home
last modified time | relevance | path

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

/fs/xfs/
Dxfs_dir2_readdir.c280 int ra_index; /* *map index for read-ahead */ member
428 for (mip->ra_index = mip->ra_offset = i = 0; in xfs_dir2_leaf_readbuf()
431 ASSERT(mip->ra_index < mip->map_valid); in xfs_dir2_leaf_readbuf()
436 (map[mip->ra_index].br_blockcount - mip->ra_offset) >= in xfs_dir2_leaf_readbuf()
439 map[mip->ra_index].br_startoff + mip->ra_offset, in xfs_dir2_leaf_readbuf()
441 map[mip->ra_index].br_startblock + in xfs_dir2_leaf_readbuf()
452 map[mip->ra_index].br_startoff + in xfs_dir2_leaf_readbuf()
464 j < geo->fsbcount && mip->ra_index < mip->map_valid; in xfs_dir2_leaf_readbuf()
471 map[mip->ra_index].br_blockcount - in xfs_dir2_leaf_readbuf()
478 if (mip->ra_offset == map[mip->ra_index].br_blockcount) { in xfs_dir2_leaf_readbuf()
[all …]
/fs/btrfs/
Dioctl.c1272 unsigned long ra_index = 0; in btrfs_defrag_file() local
1388 if (i + cluster > ra_index) { in btrfs_defrag_file()
1389 ra_index = max(i, ra_index); in btrfs_defrag_file()
1390 btrfs_force_ra(inode->i_mapping, ra, file, ra_index, in btrfs_defrag_file()
1392 ra_index += max_cluster; in btrfs_defrag_file()