Home
last modified time | relevance | path

Searched refs:qi_dqperchunk (Results 1 – 6 of 6) sorted by relevance

/linux/fs/xfs/scrub/
H A Ddqiterate.c54 fileoff = this_id / qi->qi_dqperchunk; in xchk_dquot_iter_revalidate_bmap()
101 if (fileoff > XFS_DQ_ID_MAX / qi->qi_dqperchunk) { in xchk_dquot_iter_advance_bmap()
123 next_id = cursor->bmap.br_startoff * qi->qi_dqperchunk; in xchk_dquot_iter_advance_bmap()
H A Dquota.c169 offset = dq->q_id / qi->qi_dqperchunk; in xchk_quota_item()
272 max_dqid_off = XFS_DQ_ID_MAX / qi->qi_dqperchunk; in xchk_quota_data_fork()
334 sqi.last_id * qi->qi_dqperchunk, &error)) in xchk_quota()
H A Dquota_repair.c114 xfs_fileoff_t offset = dq->q_id / qi->qi_dqperchunk; in xrep_quota_item_bmap()
343 for (i = 0; i < qi->qi_dqperchunk; i++, dqblk++) { in xrep_quota_block()
415 max_dqid_off = XFS_DQ_ID_MAX / qi->qi_dqperchunk; in xrep_quota_data_fork()
488 dqtype, off * qi->qi_dqperchunk); in xrep_quota_data_fork()
/linux/fs/xfs/
H A Dxfs_dquot.c265 curid = id - (id % q->qi_dqperchunk); in xfs_qm_init_dquot_blk()
267 for (i = 0; i < q->qi_dqperchunk; i++, d++, curid++) { in xfs_qm_init_dquot_blk()
535 dqp->q_fileoffset = (xfs_fileoff_t)id / mp->m_quotainfo->qi_dqperchunk; in xfs_dquot_alloc()
539 dqp->q_bufoffset = (id % mp->m_quotainfo->qi_dqperchunk) * in xfs_dquot_alloc()
769 if (next_id % mp->m_quotainfo->qi_dqperchunk) { in xfs_dq_get_next_id()
775 start = (xfs_fsblock_t)next_id / mp->m_quotainfo->qi_dqperchunk; in xfs_dq_get_next_id()
786 *id = got.br_startoff * mp->m_quotainfo->qi_dqperchunk; in xfs_dq_get_next_id()
H A Dxfs_qm.h63 uint qi_dqperchunk; /* # ondisk dq in above chunk */ member
H A Dxfs_qm.c872 qinf->qi_dqperchunk = xfs_calc_dquots_per_chunk(qinf->qi_dqchunklen); in xfs_qm_init_quotainfo()
1099 ASSERT(mp->m_quotainfo->qi_dqperchunk == j); in xfs_qm_reset_dqcounts()
1102 for (j = 0; j < mp->m_quotainfo->qi_dqperchunk; j++) { in xfs_qm_reset_dqcounts()
1208 firstid += mp->m_quotainfo->qi_dqperchunk; in xfs_qm_reset_dqcounts_all()
1276 mp->m_quotainfo->qi_dqperchunk; in xfs_qm_reset_dqcounts_buf()