Lines Matching refs:resv
47 struct xfs_trans_resv *resv) in xfs_log_calc_trans_resv_for_minlogblocks() argument
62 xfs_trans_resv_calc(mp, resv); in xfs_log_calc_trans_resv_for_minlogblocks()
69 resv->tr_write.tr_logcount = XFS_WRITE_LOG_COUNT_REFLINK; in xfs_log_calc_trans_resv_for_minlogblocks()
70 resv->tr_itruncate.tr_logcount = in xfs_log_calc_trans_resv_for_minlogblocks()
72 resv->tr_qm_dqalloc.tr_logcount = XFS_WRITE_LOG_COUNT_REFLINK; in xfs_log_calc_trans_resv_for_minlogblocks()
78 resv->tr_write.tr_logcount = XFS_WRITE_LOG_COUNT; in xfs_log_calc_trans_resv_for_minlogblocks()
79 resv->tr_itruncate.tr_logcount = XFS_ITRUNCATE_LOG_COUNT; in xfs_log_calc_trans_resv_for_minlogblocks()
80 resv->tr_qm_dqalloc.tr_logcount = XFS_WRITE_LOG_COUNT; in xfs_log_calc_trans_resv_for_minlogblocks()
88 resv->tr_write.tr_logres = in xfs_log_calc_trans_resv_for_minlogblocks()
90 resv->tr_itruncate.tr_logres = in xfs_log_calc_trans_resv_for_minlogblocks()
92 resv->tr_qm_dqalloc.tr_logres = in xfs_log_calc_trans_resv_for_minlogblocks()
109 struct xfs_trans_resv resv = {}; in xfs_log_get_max_trans_res() local
118 xfs_log_calc_trans_resv_for_minlogblocks(mp, &resv); in xfs_log_get_max_trans_res()
120 resp = (struct xfs_trans_res *)&resv; in xfs_log_get_max_trans_res()
121 end_resp = (struct xfs_trans_res *)(&resv + 1); in xfs_log_get_max_trans_res()
135 *max_resp = resv.tr_attrsetm; /* struct copy */ in xfs_log_get_max_trans_res()