Lines Matching defs:range
82 * use daddr format for all range/len calculations as that is
83 * the format the range/len variables are supplied in by
98 * If the extent is entirely outside of the range we are
108 * If any blocks in the range are still busy, skip the
142 * trim a range of the filesystem.
147 * is a linear address range. Hence we need to use DADDR based conversions and
157 struct fstrim_range range;
175 if (copy_from_user(&range, urange, sizeof(range)))
178 range.minlen = max_t(u64, granularity, range.minlen);
179 minlen = BTOBB(range.minlen);
187 if (range.start >= XFS_FSB_TO_B(mp, mp->m_sb.sb_dblocks) ||
188 range.minlen > XFS_FSB_TO_B(mp, mp->m_ag_max_usable) ||
189 range.len < mp->m_sb.sb_blocksize)
192 start = BTOBB(range.start);
193 end = start + BTOBBT(range.len) - 1;
214 range.len = XFS_FSB_TO_B(mp, blocks_trimmed);
215 if (copy_to_user(urange, &range, sizeof(range)))