Home
last modified time | relevance | path

Searched refs:rmapip (Results 1 – 1 of 1) sorted by relevance

/linux/fs/xfs/
H A Dxfs_zone_alloc.c201 struct xfs_inode *rmapip = rtg_rmap(rtg); in xfs_zone_record_blocks() local
207 rmapip->i_used_blocks += len; in xfs_zone_record_blocks()
208 ASSERT(rmapip->i_used_blocks <= rtg_blocks(rtg)); in xfs_zone_record_blocks()
212 xfs_trans_log_inode(tp, rmapip, XFS_ILOG_CORE); in xfs_zone_record_blocks()
382 struct xfs_inode *rmapip = rtg_rmap(rtg); in xfs_zone_free_blocks() local
384 xfs_assert_ilocked(rmapip, XFS_ILOCK_EXCL); in xfs_zone_free_blocks()
386 if (len > rmapip->i_used_blocks) { in xfs_zone_free_blocks()
389 len, rmapip->i_used_blocks); in xfs_zone_free_blocks()
390 ASSERT(len <= rmapip->i_used_blocks); in xfs_zone_free_blocks()
398 rmapip->i_used_blocks -= len; in xfs_zone_free_blocks()
[all …]