Searched refs:bytes_allowed (Results 1 – 1 of 1) sorted by relevance
709 long long bytes_allowed; in tg_within_bps_limit() local726 bytes_allowed = calculate_bytes_allowed(bps_limit, jiffy_elapsed_rnd); in tg_within_bps_limit()727 if (bytes_allowed > 0 && tg->bytes_disp[rw] + bio_size <= bytes_allowed) in tg_within_bps_limit()731 extra_bytes = tg->bytes_disp[rw] + bio_size - bytes_allowed; in tg_within_bps_limit()