Searched refs:bio_size (Results 1 – 2 of 2) sorted by relevance
941 unsigned int bio_size = throtl_bio_data_size(bio); in tg_with_in_bps_limit() local961 if (tg->bytes_disp[rw] + bio_size <= bytes_allowed) { in tg_with_in_bps_limit()968 extra_bytes = tg->bytes_disp[rw] + bio_size - bytes_allowed; in tg_with_in_bps_limit()1049 unsigned int bio_size = throtl_bio_data_size(bio); in throtl_charge_bio() local1052 tg->bytes_disp[rw] += bio_size; in throtl_charge_bio()1054 tg->last_bytes_disp[rw] += bio_size; in throtl_charge_bio()
1391 unsigned bio_size = wc->block_size; in writecache_map() local1393 sector_t current_cache_sec = start_cache_sec + (bio_size >> SECTOR_SHIFT); in writecache_map()1395 while (bio_size < bio->bi_iter.bi_size) { in writecache_map()1400 (bio_size >> SECTOR_SHIFT), wc->seq_count); in writecache_map()1403 bio_size += wc->block_size; in writecache_map()1409 dm_accept_partial_bio(bio, bio_size >> SECTOR_SHIFT); in writecache_map()