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()
802 mutex_unlock(&qi->qi_tree_lock); in xfs_qm_dqget_cache_insert()
811 qi->qi_dquots++; in xfs_qm_dqget_cache_insert()
812 mutex_unlock(&qi->qi_tree_lock); in xfs_qm_dqget_cache_insert()
854 struct xfs_quotainfo *qi = mp->m_quotainfo; in xfs_qm_dqget() local
855 struct radix_tree_root *tree = xfs_dquot_tree(qi, type); in xfs_qm_dqget()
864 dqp = xfs_qm_dqget_cache_lookup(mp, qi, tree, id); in xfs_qm_dqget()
874 error = xfs_qm_dqget_cache_insert(mp, qi, tree, id, dqp); in xfs_qm_dqget()
943 struct xfs_quotainfo *qi = mp->m_quotainfo; in xfs_qm_dqget_inode() local
944 struct radix_tree_root *tree = xfs_dquot_tree(qi, type); in xfs_qm_dqget_inode()
959 dqp = xfs_qm_dqget_cache_lookup(mp, qi, tree, id); in xfs_qm_dqget_inode()
998 error = xfs_qm_dqget_cache_insert(mp, qi, tree, id, dqp); in xfs_qm_dqget_inode()
1065 struct xfs_quotainfo *qi = dqp->q_mount->m_quotainfo; in xfs_qm_dqput() local
1068 if (list_lru_add(&qi->qi_lru, &dqp->q_lru)) in xfs_qm_dqput()