Searched refs:qi (Results 1 – 5 of 5) sorted by relevance
/fs/xfs/ |
D | xfs_qm.h | 84 struct xfs_quotainfo *qi, in xfs_dquot_tree() argument 89 return &qi->qi_uquota_tree; in xfs_dquot_tree() 91 return &qi->qi_gquota_tree; in xfs_dquot_tree() 93 return &qi->qi_pquota_tree; in xfs_dquot_tree() 167 xfs_get_defquota(struct xfs_dquot *dqp, struct xfs_quotainfo *qi) in xfs_get_defquota() argument 172 defq = &qi->qi_usr_default; in xfs_get_defquota() 174 defq = &qi->qi_grp_default; in xfs_get_defquota() 177 defq = &qi->qi_prj_default; in xfs_get_defquota()
|
D | xfs_qm.c | 35 STATIC void xfs_qm_destroy_quotainos(xfs_quotainfo_t *qi); 53 struct xfs_quotainfo *qi = mp->m_quotainfo; in xfs_qm_dquot_walk() local 54 struct radix_tree_root *tree = xfs_dquot_tree(qi, type); in xfs_qm_dquot_walk() 70 mutex_lock(&qi->qi_tree_lock); in xfs_qm_dquot_walk() 74 mutex_unlock(&qi->qi_tree_lock); in xfs_qm_dquot_walk() 92 mutex_unlock(&qi->qi_tree_lock); in xfs_qm_dquot_walk() 122 struct xfs_quotainfo *qi = mp->m_quotainfo; in xfs_qm_dqpurge() local 162 radix_tree_delete(xfs_dquot_tree(qi, dqp->q_core.d_flags), in xfs_qm_dqpurge() 164 qi->qi_dquots--; in xfs_qm_dqpurge() 171 list_lru_del(&qi->qi_lru, &dqp->q_lru); in xfs_qm_dqpurge() [all …]
|
D | xfs_dquot.c | 658 struct xfs_quotainfo *qi, in xfs_qm_dqget_cache_lookup() argument 665 mutex_lock(&qi->qi_tree_lock); in xfs_qm_dqget_cache_lookup() 668 mutex_unlock(&qi->qi_tree_lock); in xfs_qm_dqget_cache_lookup() 676 mutex_unlock(&qi->qi_tree_lock); in xfs_qm_dqget_cache_lookup() 683 mutex_unlock(&qi->qi_tree_lock); in xfs_qm_dqget_cache_lookup() 699 struct xfs_quotainfo *qi, in xfs_qm_dqget_cache_insert() argument 706 mutex_lock(&qi->qi_tree_lock); in xfs_qm_dqget_cache_insert() 711 mutex_unlock(&qi->qi_tree_lock); in xfs_qm_dqget_cache_insert() 720 qi->qi_dquots++; in xfs_qm_dqget_cache_insert() 721 mutex_unlock(&qi->qi_tree_lock); in xfs_qm_dqget_cache_insert() [all …]
|
/fs/xfs/scrub/ |
D | quota.c | 83 struct xfs_quotainfo *qi = mp->m_quotainfo; in xchk_quota_item() local 101 offset = id / qi->qi_dqperchunk; in xchk_quota_item() 191 struct xfs_quotainfo *qi = sc->mp->m_quotainfo; in xchk_quota_data_fork() local 202 max_dqid_off = ((xfs_dqid_t)-1) / qi->qi_dqperchunk; in xchk_quota_data_fork() 230 struct xfs_quotainfo *qi = mp->m_quotainfo; in xchk_quota() local 256 sqi.last_id * qi->qi_dqperchunk, &error)) in xchk_quota()
|
/fs/cifs/ |
D | smb2ops.c | 1362 struct smb_query_info qi; in smb2_ioctl_query_info() local 1387 if (copy_from_user(&qi, arg, sizeof(struct smb_query_info))) in smb2_ioctl_query_info() 1390 if (qi.output_buffer_length > 1024) in smb2_ioctl_query_info() 1399 buffer = kmalloc(qi.output_buffer_length, GFP_KERNEL); in smb2_ioctl_query_info() 1404 qi.output_buffer_length)) { in smb2_ioctl_query_info() 1424 if (qi.flags & PASSTHRU_FSCTL) { in smb2_ioctl_query_info() 1425 switch (qi.info_type & FSCTL_DEVICE_ACCESS_MASK) { in smb2_ioctl_query_info() 1439 } else if (qi.flags & PASSTHRU_SET_INFO) { in smb2_ioctl_query_info() 1451 if (qi.flags & PASSTHRU_FSCTL) { in smb2_ioctl_query_info() 1462 qi.info_type, true, buffer, in smb2_ioctl_query_info() [all …]
|