Searched refs:fromidx (Results 1 – 2 of 2) sorted by relevance
309 int fromidx; /* source leaf index */ in xfs_dir2_block_compact() local314 fromidx = toidx = be32_to_cpu(btp->count) - 1; in xfs_dir2_block_compact()316 for (; fromidx >= 0; fromidx--) { in xfs_dir2_block_compact()317 if (blp[fromidx].address == cpu_to_be32(XFS_DIR2_NULL_DATAPTR)) { in xfs_dir2_block_compact()326 if (fromidx < toidx) in xfs_dir2_block_compact()327 blp[toidx] = blp[fromidx]; in xfs_dir2_block_compact()
360 #define CE_RING_DELTA(nentries_mask, fromidx, toidx) \ argument361 (((int)(toidx) - (int)(fromidx)) & (nentries_mask))