Lines Matching defs:range
42 * lock, gathers a range of inode cluster buffers that are allocated, drops the
222 * use daddr format for all range/len calculations as that is
223 * the format the range/len variables are supplied in by
239 * If the extent is entirely outside of the range we are
249 * If any blocks in the range are still busy, skip the
355 * trim a range of the filesystem.
360 * is a linear address range. Hence we need to use DADDR based conversions and
371 struct fstrim_range range;
389 if (copy_from_user(&range, urange, sizeof(range)))
392 range.minlen = max_t(u64, granularity, range.minlen);
393 minlen = BTOBB(range.minlen);
401 if (range.start >= XFS_FSB_TO_B(mp, mp->m_sb.sb_dblocks) ||
402 range.minlen > XFS_FSB_TO_B(mp, mp->m_ag_max_usable) ||
403 range.len < mp->m_sb.sb_blocksize)
406 start = BTOBB(range.start);
407 end = start + BTOBBT(range.len) - 1;
428 range.len = XFS_FSB_TO_B(mp, blocks_trimmed);
429 if (copy_to_user(urange, &range, sizeof(range)))