Searched refs:fromidx (Results 1 – 2 of 2) sorted by relevance
283 int fromidx; /* source leaf index */ in xfs_dir2_block_compact() local288 fromidx = toidx = be32_to_cpu(btp->count) - 1; in xfs_dir2_block_compact()290 for (; fromidx >= 0; fromidx--) { in xfs_dir2_block_compact()291 if (blp[fromidx].address == cpu_to_be32(XFS_DIR2_NULL_DATAPTR)) { in xfs_dir2_block_compact()300 if (fromidx < toidx) in xfs_dir2_block_compact()301 blp[toidx] = blp[fromidx]; in xfs_dir2_block_compact()
357 #define CE_RING_DELTA(nentries_mask, fromidx, toidx) \ argument358 (((int)(toidx) - (int)(fromidx)) & (nentries_mask))