Lines Matching refs:quotip
297 struct xfs_inode *quotip = xfs_quota_inode(mp, qtype); in xfs_dquot_disk_alloc() local
308 xfs_ilock(quotip, XFS_ILOCK_EXCL); in xfs_dquot_disk_alloc()
309 xfs_trans_ijoin(tp, quotip, 0); in xfs_dquot_disk_alloc()
320 error = xfs_iext_count_may_overflow(quotip, XFS_DATA_FORK, in xfs_dquot_disk_alloc()
323 error = xfs_iext_count_upgrade(tp, quotip, in xfs_dquot_disk_alloc()
329 error = xfs_bmapi_write(tp, quotip, dqp->q_fileoffset, in xfs_dquot_disk_alloc()
385 xfs_iunlock(quotip, XFS_ILOCK_EXCL); in xfs_dquot_disk_alloc()
396 xfs_iunlock(quotip, XFS_ILOCK_EXCL); in xfs_dquot_disk_alloc()
413 struct xfs_inode *quotip = xfs_quota_inode(mp, qtype); in xfs_dquot_disk_read() local
418 lock_mode = xfs_ilock_data_map_shared(quotip); in xfs_dquot_disk_read()
424 xfs_iunlock(quotip, lock_mode); in xfs_dquot_disk_read()
431 error = xfs_bmapi_read(quotip, dqp->q_fileoffset, in xfs_dquot_disk_read()
433 xfs_iunlock(quotip, lock_mode); in xfs_dquot_disk_read()
702 struct xfs_inode *quotip = xfs_quota_inode(mp, type); in xfs_dq_get_next_id() local
723 lock_flags = xfs_ilock_data_map_shared(quotip); in xfs_dq_get_next_id()
724 error = xfs_iread_extents(NULL, quotip, XFS_DATA_FORK); in xfs_dq_get_next_id()
728 if (xfs_iext_lookup_extent(quotip, "ip->i_df, start, &cur, &got)) { in xfs_dq_get_next_id()
737 xfs_iunlock(quotip, lock_flags); in xfs_dq_get_next_id()