Lines Matching refs:unit_bytes
423 int unit_bytes, in xfs_log_reserve() argument
442 tic = xlog_ticket_alloc(log, unit_bytes, cnt, client, permanent, in xfs_log_reserve()
3581 int unit_bytes) in xfs_log_calc_unit_res() argument
3619 unit_bytes += sizeof(xlog_op_header_t); in xfs_log_calc_unit_res()
3620 unit_bytes += sizeof(xfs_trans_header_t); in xfs_log_calc_unit_res()
3623 unit_bytes += sizeof(xlog_op_header_t); in xfs_log_calc_unit_res()
3643 num_headers = howmany(unit_bytes, iclog_space); in xfs_log_calc_unit_res()
3646 unit_bytes += sizeof(xlog_op_header_t) * num_headers; in xfs_log_calc_unit_res()
3650 howmany(unit_bytes, iclog_space) > num_headers) { in xfs_log_calc_unit_res()
3651 unit_bytes += sizeof(xlog_op_header_t); in xfs_log_calc_unit_res()
3654 unit_bytes += log->l_iclog_hsize * num_headers; in xfs_log_calc_unit_res()
3657 unit_bytes += log->l_iclog_hsize; in xfs_log_calc_unit_res()
3662 unit_bytes += 2 * mp->m_sb.sb_logsunit; in xfs_log_calc_unit_res()
3665 unit_bytes += 2 * BBSIZE; in xfs_log_calc_unit_res()
3668 return unit_bytes; in xfs_log_calc_unit_res()
3677 int unit_bytes, in xlog_ticket_alloc() argument
3690 unit_res = xfs_log_calc_unit_res(log->l_mp, unit_bytes); in xlog_ticket_alloc()