Lines Matching refs:unit_bytes
462 int unit_bytes, in xfs_log_reserve() argument
478 tic = xlog_ticket_alloc(log, unit_bytes, cnt, permanent); in xfs_log_reserve()
3411 int unit_bytes, in xlog_calc_unit_res() argument
3449 unit_bytes += sizeof(xlog_op_header_t); in xlog_calc_unit_res()
3450 unit_bytes += sizeof(xfs_trans_header_t); in xlog_calc_unit_res()
3453 unit_bytes += sizeof(xlog_op_header_t); in xlog_calc_unit_res()
3473 num_headers = howmany(unit_bytes, iclog_space); in xlog_calc_unit_res()
3476 unit_bytes += sizeof(xlog_op_header_t) * num_headers; in xlog_calc_unit_res()
3480 howmany(unit_bytes, iclog_space) > num_headers) { in xlog_calc_unit_res()
3481 unit_bytes += sizeof(xlog_op_header_t); in xlog_calc_unit_res()
3484 unit_bytes += log->l_iclog_hsize * num_headers; in xlog_calc_unit_res()
3487 unit_bytes += log->l_iclog_hsize; in xlog_calc_unit_res()
3490 unit_bytes += 2 * log->l_iclog_roundoff; in xlog_calc_unit_res()
3494 return unit_bytes; in xlog_calc_unit_res()
3500 int unit_bytes) in xfs_log_calc_unit_res() argument
3502 return xlog_calc_unit_res(mp->m_log, unit_bytes, NULL); in xfs_log_calc_unit_res()
3511 int unit_bytes, in xlog_ticket_alloc() argument
3520 unit_res = xlog_calc_unit_res(log, unit_bytes, &tic->t_iclog_hdrs); in xlog_ticket_alloc()