Lines Matching refs:qi
658 struct xfs_quotainfo *qi, in xfs_qm_dqget_cache_lookup() argument
665 mutex_lock(&qi->qi_tree_lock); in xfs_qm_dqget_cache_lookup()
668 mutex_unlock(&qi->qi_tree_lock); in xfs_qm_dqget_cache_lookup()
676 mutex_unlock(&qi->qi_tree_lock); in xfs_qm_dqget_cache_lookup()
683 mutex_unlock(&qi->qi_tree_lock); in xfs_qm_dqget_cache_lookup()
699 struct xfs_quotainfo *qi, in xfs_qm_dqget_cache_insert() argument
706 mutex_lock(&qi->qi_tree_lock); in xfs_qm_dqget_cache_insert()
711 mutex_unlock(&qi->qi_tree_lock); in xfs_qm_dqget_cache_insert()
720 qi->qi_dquots++; in xfs_qm_dqget_cache_insert()
721 mutex_unlock(&qi->qi_tree_lock); in xfs_qm_dqget_cache_insert()
766 struct xfs_quotainfo *qi = mp->m_quotainfo; in xfs_qm_dqget() local
767 struct radix_tree_root *tree = xfs_dquot_tree(qi, type); in xfs_qm_dqget()
776 dqp = xfs_qm_dqget_cache_lookup(mp, qi, tree, id); in xfs_qm_dqget()
786 error = xfs_qm_dqget_cache_insert(mp, qi, tree, id, dqp); in xfs_qm_dqget()
855 struct xfs_quotainfo *qi = mp->m_quotainfo; in xfs_qm_dqget_inode() local
856 struct radix_tree_root *tree = xfs_dquot_tree(qi, type); in xfs_qm_dqget_inode()
871 dqp = xfs_qm_dqget_cache_lookup(mp, qi, tree, id); in xfs_qm_dqget_inode()
910 error = xfs_qm_dqget_cache_insert(mp, qi, tree, id, dqp); in xfs_qm_dqget_inode()
977 struct xfs_quotainfo *qi = dqp->q_mount->m_quotainfo; in xfs_qm_dqput() local
980 if (list_lru_add(&qi->qi_lru, &dqp->q_lru)) in xfs_qm_dqput()