Lines Matching refs:qi

107 	struct xfs_quotainfo	*qi = mp->m_quotainfo;  in xfs_dquot_set_timeout()  local
109 return clamp_t(time64_t, timeout, qi->qi_expiry_min, in xfs_dquot_set_timeout()
110 qi->qi_expiry_max); in xfs_dquot_set_timeout()
161 struct xfs_quotainfo *qi = mp->m_quotainfo; in xfs_qm_adjust_dqtimers() local
165 defq = xfs_get_defquota(qi, xfs_dquot_type(dq)); in xfs_qm_adjust_dqtimers()
749 struct xfs_quotainfo *qi, in xfs_qm_dqget_cache_lookup() argument
756 mutex_lock(&qi->qi_tree_lock); in xfs_qm_dqget_cache_lookup()
759 mutex_unlock(&qi->qi_tree_lock); in xfs_qm_dqget_cache_lookup()
767 mutex_unlock(&qi->qi_tree_lock); in xfs_qm_dqget_cache_lookup()
774 mutex_unlock(&qi->qi_tree_lock); in xfs_qm_dqget_cache_lookup()
790 struct xfs_quotainfo *qi, in xfs_qm_dqget_cache_insert() argument
797 mutex_lock(&qi->qi_tree_lock); in xfs_qm_dqget_cache_insert()
801 mutex_unlock(&qi->qi_tree_lock); in xfs_qm_dqget_cache_insert()
810 qi->qi_dquots++; in xfs_qm_dqget_cache_insert()
811 mutex_unlock(&qi->qi_tree_lock); in xfs_qm_dqget_cache_insert()
853 struct xfs_quotainfo *qi = mp->m_quotainfo; in xfs_qm_dqget() local
854 struct radix_tree_root *tree = xfs_dquot_tree(qi, type); in xfs_qm_dqget()
863 dqp = xfs_qm_dqget_cache_lookup(mp, qi, tree, id); in xfs_qm_dqget()
873 error = xfs_qm_dqget_cache_insert(mp, qi, tree, id, dqp); in xfs_qm_dqget()
942 struct xfs_quotainfo *qi = mp->m_quotainfo; in xfs_qm_dqget_inode() local
943 struct radix_tree_root *tree = xfs_dquot_tree(qi, type); in xfs_qm_dqget_inode()
958 dqp = xfs_qm_dqget_cache_lookup(mp, qi, tree, id); in xfs_qm_dqget_inode()
997 error = xfs_qm_dqget_cache_insert(mp, qi, tree, id, dqp); in xfs_qm_dqget_inode()
1064 struct xfs_quotainfo *qi = dqp->q_mount->m_quotainfo; in xfs_qm_dqput() local
1067 if (list_lru_add(&qi->qi_lru, &dqp->q_lru)) in xfs_qm_dqput()