Lines Matching refs:qi
688 struct xfs_quotainfo *qi, in xfs_qm_dqget_cache_lookup() argument
695 mutex_lock(&qi->qi_tree_lock); in xfs_qm_dqget_cache_lookup()
698 mutex_unlock(&qi->qi_tree_lock); in xfs_qm_dqget_cache_lookup()
706 mutex_unlock(&qi->qi_tree_lock); in xfs_qm_dqget_cache_lookup()
713 mutex_unlock(&qi->qi_tree_lock); in xfs_qm_dqget_cache_lookup()
729 struct xfs_quotainfo *qi, in xfs_qm_dqget_cache_insert() argument
736 mutex_lock(&qi->qi_tree_lock); in xfs_qm_dqget_cache_insert()
741 mutex_unlock(&qi->qi_tree_lock); in xfs_qm_dqget_cache_insert()
750 qi->qi_dquots++; in xfs_qm_dqget_cache_insert()
751 mutex_unlock(&qi->qi_tree_lock); in xfs_qm_dqget_cache_insert()
796 struct xfs_quotainfo *qi = mp->m_quotainfo; in xfs_qm_dqget() local
797 struct radix_tree_root *tree = xfs_dquot_tree(qi, type); in xfs_qm_dqget()
806 dqp = xfs_qm_dqget_cache_lookup(mp, qi, tree, id); in xfs_qm_dqget()
816 error = xfs_qm_dqget_cache_insert(mp, qi, tree, id, dqp); in xfs_qm_dqget()
885 struct xfs_quotainfo *qi = mp->m_quotainfo; in xfs_qm_dqget_inode() local
886 struct radix_tree_root *tree = xfs_dquot_tree(qi, type); in xfs_qm_dqget_inode()
901 dqp = xfs_qm_dqget_cache_lookup(mp, qi, tree, id); in xfs_qm_dqget_inode()
940 error = xfs_qm_dqget_cache_insert(mp, qi, tree, id, dqp); in xfs_qm_dqget_inode()
1007 struct xfs_quotainfo *qi = dqp->q_mount->m_quotainfo; in xfs_qm_dqput() local
1010 if (list_lru_add(&qi->qi_lru, &dqp->q_lru)) in xfs_qm_dqput()