Lines Matching defs:check
235 /* check for valid extent range, including overflow */
533 * unknown-owner removal then we have no owner information to check.
663 * just a corruption check as we don't actually do anything with this
1338 /* check that left + prev + right is not too long */
1816 /* check that left + prev + right is not too long */
2970 struct xfs_rmap_irec check = *rec;
2975 filedata = !XFS_RMAP_NON_INODE_OWNER(check.rm_owner) &&
2976 !(check.rm_flags & XFS_RMAP_BMBT_BLOCK);
2978 /* Trim the part of check that comes before the comparison range. */
2979 delta = (int64_t)roc->good.rm_startblock - check.rm_startblock;
2981 check.rm_startblock += delta;
2982 check.rm_blockcount -= delta;
2984 check.rm_offset += delta;
2987 /* Trim the part of check that comes after the comparison range. */
2988 delta = (check.rm_startblock + check.rm_blockcount) -
2991 check.rm_blockcount -= delta;
2994 keyflags = check.rm_flags & (XFS_RMAP_ATTR_FORK | XFS_RMAP_BMBT_BLOCK);
2996 if (check.rm_startblock == roc->good.rm_startblock &&
2997 check.rm_blockcount == roc->good.rm_blockcount &&
2998 check.rm_owner == roc->good.rm_owner &&
2999 check.rm_offset == roc->good.rm_offset &&
3005 xfs_rmap_shareable(cur->bc_mp, &check))