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()
164 struct xfs_quotainfo *qi = mp->m_quotainfo; in xfs_qm_adjust_dqtimers() local
168 defq = xfs_get_defquota(qi, xfs_dquot_type(dq)); in xfs_qm_adjust_dqtimers()
776 struct xfs_quotainfo *qi, in xfs_qm_dqget_cache_lookup() argument
783 mutex_lock(&qi->qi_tree_lock); in xfs_qm_dqget_cache_lookup()
786 mutex_unlock(&qi->qi_tree_lock); in xfs_qm_dqget_cache_lookup()
794 mutex_unlock(&qi->qi_tree_lock); in xfs_qm_dqget_cache_lookup()
801 mutex_unlock(&qi->qi_tree_lock); in xfs_qm_dqget_cache_lookup()
817 struct xfs_quotainfo *qi, in xfs_qm_dqget_cache_insert() argument
824 mutex_lock(&qi->qi_tree_lock); in xfs_qm_dqget_cache_insert()
829 mutex_unlock(&qi->qi_tree_lock); in xfs_qm_dqget_cache_insert()
838 qi->qi_dquots++; in xfs_qm_dqget_cache_insert()
839 mutex_unlock(&qi->qi_tree_lock); in xfs_qm_dqget_cache_insert()
881 struct xfs_quotainfo *qi = mp->m_quotainfo; in xfs_qm_dqget() local
882 struct radix_tree_root *tree = xfs_dquot_tree(qi, type); in xfs_qm_dqget()
891 dqp = xfs_qm_dqget_cache_lookup(mp, qi, tree, id); in xfs_qm_dqget()
901 error = xfs_qm_dqget_cache_insert(mp, qi, tree, id, dqp); in xfs_qm_dqget()
970 struct xfs_quotainfo *qi = mp->m_quotainfo; in xfs_qm_dqget_inode() local
971 struct radix_tree_root *tree = xfs_dquot_tree(qi, type); in xfs_qm_dqget_inode()
986 dqp = xfs_qm_dqget_cache_lookup(mp, qi, tree, id); in xfs_qm_dqget_inode()
1025 error = xfs_qm_dqget_cache_insert(mp, qi, tree, id, dqp); in xfs_qm_dqget_inode()
1092 struct xfs_quotainfo *qi = dqp->q_mount->m_quotainfo; in xfs_qm_dqput() local
1095 if (list_lru_add(&qi->qi_lru, &dqp->q_lru)) in xfs_qm_dqput()