Lines Matching refs:unit_bytes
417 int unit_bytes, in xfs_log_reserve() argument
433 tic = xlog_ticket_alloc(log, unit_bytes, cnt, permanent); in xfs_log_reserve()
3139 int unit_bytes, in xlog_calc_unit_res() argument
3177 unit_bytes += sizeof(xlog_op_header_t); in xlog_calc_unit_res()
3178 unit_bytes += sizeof(xfs_trans_header_t); in xlog_calc_unit_res()
3181 unit_bytes += sizeof(xlog_op_header_t); in xlog_calc_unit_res()
3201 num_headers = howmany(unit_bytes, iclog_space); in xlog_calc_unit_res()
3204 unit_bytes += sizeof(xlog_op_header_t) * num_headers; in xlog_calc_unit_res()
3208 howmany(unit_bytes, iclog_space) > num_headers) { in xlog_calc_unit_res()
3209 unit_bytes += sizeof(xlog_op_header_t); in xlog_calc_unit_res()
3212 unit_bytes += log->l_iclog_hsize * num_headers; in xlog_calc_unit_res()
3215 unit_bytes += log->l_iclog_hsize; in xlog_calc_unit_res()
3218 unit_bytes += 2 * log->l_iclog_roundoff; in xlog_calc_unit_res()
3222 return unit_bytes; in xlog_calc_unit_res()
3228 int unit_bytes) in xfs_log_calc_unit_res() argument
3230 return xlog_calc_unit_res(mp->m_log, unit_bytes, NULL); in xfs_log_calc_unit_res()
3239 int unit_bytes, in xlog_ticket_alloc() argument
3249 unit_res = xlog_calc_unit_res(log, unit_bytes, &tic->t_iclog_hdrs); in xlog_ticket_alloc()