Home
last modified time | relevance | path

Searched refs:qi (Results 1 – 5 of 5) sorted by relevance

/fs/xfs/
Dxfs_qm.h75 struct xfs_quotainfo *qi, in xfs_dquot_tree() argument
80 return &qi->qi_uquota_tree; in xfs_dquot_tree()
82 return &qi->qi_gquota_tree; in xfs_dquot_tree()
84 return &qi->qi_pquota_tree; in xfs_dquot_tree()
156 xfs_get_defquota(struct xfs_quotainfo *qi, xfs_dqtype_t type) in xfs_get_defquota() argument
160 return &qi->qi_usr_default; in xfs_get_defquota()
162 return &qi->qi_grp_default; in xfs_get_defquota()
164 return &qi->qi_prj_default; in xfs_get_defquota()
Dxfs_qm.c39 STATIC void xfs_qm_destroy_quotainos(struct xfs_quotainfo *qi);
57 struct xfs_quotainfo *qi = mp->m_quotainfo; in xfs_qm_dquot_walk() local
58 struct radix_tree_root *tree = xfs_dquot_tree(qi, type); in xfs_qm_dquot_walk()
74 mutex_lock(&qi->qi_tree_lock); in xfs_qm_dquot_walk()
78 mutex_unlock(&qi->qi_tree_lock); in xfs_qm_dquot_walk()
96 mutex_unlock(&qi->qi_tree_lock); in xfs_qm_dquot_walk()
125 struct xfs_quotainfo *qi = dqp->q_mount->m_quotainfo; in xfs_qm_dqpurge() local
166 radix_tree_delete(xfs_dquot_tree(qi, xfs_dquot_type(dqp)), dqp->q_id); in xfs_qm_dqpurge()
167 qi->qi_dquots--; in xfs_qm_dqpurge()
174 list_lru_del(&qi->qi_lru, &dqp->q_lru); in xfs_qm_dqpurge()
[all …]
Dxfs_dquot.c107 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()
[all …]
/fs/xfs/scrub/
Dquota.c81 struct xfs_quotainfo *qi = mp->m_quotainfo; in xchk_quota_item() local
93 offset = dq->q_id / qi->qi_dqperchunk; in xchk_quota_item()
176 struct xfs_quotainfo *qi = sc->mp->m_quotainfo; in xchk_quota_data_fork() local
187 max_dqid_off = ((xfs_dqid_t)-1) / qi->qi_dqperchunk; in xchk_quota_data_fork()
215 struct xfs_quotainfo *qi = mp->m_quotainfo; in xchk_quota() local
243 sqi.last_id * qi->qi_dqperchunk, &error)) in xchk_quota()
/fs/smb/client/
Dsmb2ops.c1496 struct smb_query_info qi; in smb2_ioctl_query_info() local
1520 if (copy_from_user(&qi, arg, sizeof(struct smb_query_info))) { in smb2_ioctl_query_info()
1524 if (qi.output_buffer_length > 1024) { in smb2_ioctl_query_info()
1537 if (qi.output_buffer_length) { in smb2_ioctl_query_info()
1538 buffer = memdup_user(arg + sizeof(struct smb_query_info), qi.output_buffer_length); in smb2_ioctl_query_info()
1556 if (qi.flags & PASSTHRU_FSCTL) { in smb2_ioctl_query_info()
1557 switch (qi.info_type & FSCTL_DEVICE_ACCESS_MASK) { in smb2_ioctl_query_info()
1571 } else if (qi.flags & PASSTHRU_SET_INFO) { in smb2_ioctl_query_info()
1584 if (qi.flags & PASSTHRU_FSCTL) { in smb2_ioctl_query_info()
1594 qi.info_type, buffer, qi.output_buffer_length, in smb2_ioctl_query_info()
[all …]