Lines Matching refs:quotip
301 struct xfs_inode *quotip = xfs_quota_inode(mp, qtype); in xfs_dquot_disk_alloc() local
307 xfs_ilock(quotip, XFS_ILOCK_EXCL); in xfs_dquot_disk_alloc()
313 xfs_iunlock(quotip, XFS_ILOCK_EXCL); in xfs_dquot_disk_alloc()
318 xfs_trans_ijoin(tp, quotip, XFS_ILOCK_EXCL); in xfs_dquot_disk_alloc()
319 error = xfs_bmapi_write(tp, quotip, dqp->q_fileoffset, in xfs_dquot_disk_alloc()
393 struct xfs_inode *quotip = xfs_quota_inode(mp, qtype); in xfs_dquot_disk_read() local
398 lock_mode = xfs_ilock_data_map_shared(quotip); in xfs_dquot_disk_read()
404 xfs_iunlock(quotip, lock_mode); in xfs_dquot_disk_read()
411 error = xfs_bmapi_read(quotip, dqp->q_fileoffset, in xfs_dquot_disk_read()
413 xfs_iunlock(quotip, lock_mode); in xfs_dquot_disk_read()
688 struct xfs_inode *quotip = xfs_quota_inode(mp, type); in xfs_dq_get_next_id() local
709 lock_flags = xfs_ilock_data_map_shared(quotip); in xfs_dq_get_next_id()
710 if (!(quotip->i_df.if_flags & XFS_IFEXTENTS)) { in xfs_dq_get_next_id()
711 error = xfs_iread_extents(NULL, quotip, XFS_DATA_FORK); in xfs_dq_get_next_id()
716 if (xfs_iext_lookup_extent(quotip, "ip->i_df, start, &cur, &got)) { in xfs_dq_get_next_id()
725 xfs_iunlock(quotip, lock_flags); in xfs_dq_get_next_id()