Lines Matching refs:unit_bytes
368 int unit_bytes, in xfs_log_reserve() argument
384 tic = xlog_ticket_alloc(log, unit_bytes, cnt, permanent); in xfs_log_reserve()
3024 int unit_bytes, in xlog_calc_unit_res() argument
3062 unit_bytes += sizeof(struct xlog_op_header); in xlog_calc_unit_res()
3063 unit_bytes += sizeof(struct xfs_trans_header); in xlog_calc_unit_res()
3066 unit_bytes += sizeof(struct xlog_op_header); in xlog_calc_unit_res()
3086 num_headers = howmany(unit_bytes, iclog_space); in xlog_calc_unit_res()
3089 unit_bytes += sizeof(struct xlog_op_header) * num_headers; in xlog_calc_unit_res()
3093 howmany(unit_bytes, iclog_space) > num_headers) { in xlog_calc_unit_res()
3094 unit_bytes += sizeof(struct xlog_op_header); in xlog_calc_unit_res()
3097 unit_bytes += log->l_iclog_hsize * num_headers; in xlog_calc_unit_res()
3100 unit_bytes += log->l_iclog_hsize; in xlog_calc_unit_res()
3103 unit_bytes += 2 * log->l_iclog_roundoff; in xlog_calc_unit_res()
3107 return unit_bytes; in xlog_calc_unit_res()
3113 int unit_bytes) in xfs_log_calc_unit_res() argument
3115 return xlog_calc_unit_res(mp->m_log, unit_bytes, NULL); in xfs_log_calc_unit_res()
3124 int unit_bytes, in xlog_ticket_alloc() argument
3134 unit_res = xlog_calc_unit_res(log, unit_bytes, &tic->t_iclog_hdrs); in xlog_ticket_alloc()