Searched refs:bio_size (Results 1 – 3 of 3) sorted by relevance
863 unsigned int bio_size = throtl_bio_data_size(bio); in tg_within_bps_limit() local881 if (tg->bytes_disp[rw] + bio_size <= bytes_allowed) { in tg_within_bps_limit()888 extra_bytes = tg->bytes_disp[rw] + bio_size - bytes_allowed; in tg_within_bps_limit()970 unsigned int bio_size = throtl_bio_data_size(bio); in throtl_charge_bio() local974 tg->bytes_disp[rw] += bio_size; in throtl_charge_bio()975 tg->last_bytes_disp[rw] += bio_size; in throtl_charge_bio()
1374 unsigned bio_size = wc->block_size; in writecache_bio_copy_ssd() local1376 sector_t current_cache_sec = start_cache_sec + (bio_size >> SECTOR_SHIFT); in writecache_bio_copy_ssd()1378 while (bio_size < bio->bi_iter.bi_size) { in writecache_bio_copy_ssd()1384 (bio_size >> SECTOR_SHIFT), wc->seq_count); in writecache_bio_copy_ssd()1404 bio_size += wc->block_size; in writecache_bio_copy_ssd()1410 dm_accept_partial_bio(bio, bio_size >> SECTOR_SHIFT); in writecache_bio_copy_ssd()
1368 u32 bio_size = bio->bi_iter.bi_size; in btrfs_bio_add_page() local1413 bio_ctrl->len_to_stripe_boundary) - bio_size; in btrfs_bio_add_page()