Lines Matching refs:resv
84 struct xfs_trans_resv *resv) in xfs_log_calc_trans_resv_for_minlogblocks() argument
93 xfs_trans_resv_calc(mp, resv); in xfs_log_calc_trans_resv_for_minlogblocks()
108 xfs_trans_resv_calc(mp, resv); in xfs_log_calc_trans_resv_for_minlogblocks()
115 resv->tr_write.tr_logcount = XFS_WRITE_LOG_COUNT_REFLINK; in xfs_log_calc_trans_resv_for_minlogblocks()
116 resv->tr_itruncate.tr_logcount = in xfs_log_calc_trans_resv_for_minlogblocks()
118 resv->tr_qm_dqalloc.tr_logcount = XFS_WRITE_LOG_COUNT_REFLINK; in xfs_log_calc_trans_resv_for_minlogblocks()
124 resv->tr_write.tr_logcount = XFS_WRITE_LOG_COUNT; in xfs_log_calc_trans_resv_for_minlogblocks()
125 resv->tr_itruncate.tr_logcount = XFS_ITRUNCATE_LOG_COUNT; in xfs_log_calc_trans_resv_for_minlogblocks()
126 resv->tr_qm_dqalloc.tr_logcount = XFS_WRITE_LOG_COUNT; in xfs_log_calc_trans_resv_for_minlogblocks()
134 resv->tr_write.tr_logres = in xfs_log_calc_trans_resv_for_minlogblocks()
136 resv->tr_itruncate.tr_logres = in xfs_log_calc_trans_resv_for_minlogblocks()
138 resv->tr_qm_dqalloc.tr_logres = in xfs_log_calc_trans_resv_for_minlogblocks()
155 struct xfs_trans_resv resv = {}; in xfs_log_get_max_trans_res() local
164 xfs_log_calc_trans_resv_for_minlogblocks(mp, &resv); in xfs_log_get_max_trans_res()
166 resp = (struct xfs_trans_res *)&resv; in xfs_log_get_max_trans_res()
167 end_resp = (struct xfs_trans_res *)(&resv + 1); in xfs_log_get_max_trans_res()
181 *max_resp = resv.tr_attrsetm; /* struct copy */ in xfs_log_get_max_trans_res()