Home
last modified time | relevance | path

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

/linux-6.12.1/fs/xfs/scrub/
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()
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()
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-6.12.1/fs/xfs/libxfs/
Dxfs_dquot_buf.c163 ndquots = mp->m_quotainfo->qi_dqperchunk; in xfs_dquot_buf_verify_crc()
197 ndquots = mp->m_quotainfo->qi_dqperchunk; in xfs_dquot_buf_verify()
/linux-6.12.1/fs/xfs/
Dxfs_dquot.c240 curid = id - (id % q->qi_dqperchunk); in xfs_qm_init_dquot_blk()
242 for (i = 0; i < q->qi_dqperchunk; i++, d++, curid++) { in xfs_qm_init_dquot_blk()
505 dqp->q_fileoffset = (xfs_fileoff_t)id / mp->m_quotainfo->qi_dqperchunk; in xfs_dquot_alloc()
509 dqp->q_bufoffset = (id % mp->m_quotainfo->qi_dqperchunk) * in xfs_dquot_alloc()
739 if (next_id % mp->m_quotainfo->qi_dqperchunk) { in xfs_dq_get_next_id()
745 start = (xfs_fsblock_t)next_id / mp->m_quotainfo->qi_dqperchunk; in xfs_dq_get_next_id()
756 *id = got.br_startoff * mp->m_quotainfo->qi_dqperchunk; in xfs_dq_get_next_id()
Dxfs_qm.h62 uint qi_dqperchunk; /* # ondisk dq in above chunk */ member
Dxfs_qm.c657 qinf->qi_dqperchunk = xfs_calc_dquots_per_chunk(qinf->qi_dqchunklen); in xfs_qm_init_quotainfo()
869 ASSERT(mp->m_quotainfo->qi_dqperchunk == j); in xfs_qm_reset_dqcounts()
872 for (j = 0; j < mp->m_quotainfo->qi_dqperchunk; j++) { in xfs_qm_reset_dqcounts()
978 firstid += mp->m_quotainfo->qi_dqperchunk; in xfs_qm_reset_dqcounts_all()
1046 mp->m_quotainfo->qi_dqperchunk; in xfs_qm_reset_dqcounts_buf()