Lines Matching refs:unit_bytes
436 int unit_bytes, in xfs_log_reserve() argument
455 tic = xlog_ticket_alloc(log, unit_bytes, cnt, client, permanent); in xfs_log_reserve()
3346 int unit_bytes) in xfs_log_calc_unit_res() argument
3384 unit_bytes += sizeof(xlog_op_header_t); in xfs_log_calc_unit_res()
3385 unit_bytes += sizeof(xfs_trans_header_t); in xfs_log_calc_unit_res()
3388 unit_bytes += sizeof(xlog_op_header_t); in xfs_log_calc_unit_res()
3408 num_headers = howmany(unit_bytes, iclog_space); in xfs_log_calc_unit_res()
3411 unit_bytes += sizeof(xlog_op_header_t) * num_headers; in xfs_log_calc_unit_res()
3415 howmany(unit_bytes, iclog_space) > num_headers) { in xfs_log_calc_unit_res()
3416 unit_bytes += sizeof(xlog_op_header_t); in xfs_log_calc_unit_res()
3419 unit_bytes += log->l_iclog_hsize * num_headers; in xfs_log_calc_unit_res()
3422 unit_bytes += log->l_iclog_hsize; in xfs_log_calc_unit_res()
3427 unit_bytes += 2 * mp->m_sb.sb_logsunit; in xfs_log_calc_unit_res()
3430 unit_bytes += 2 * BBSIZE; in xfs_log_calc_unit_res()
3433 return unit_bytes; in xfs_log_calc_unit_res()
3442 int unit_bytes, in xlog_ticket_alloc() argument
3452 unit_res = xfs_log_calc_unit_res(log->l_mp, unit_bytes); in xlog_ticket_alloc()