Home
last modified time | relevance | path

Searched refs:bio_size (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/block/
Dblk-throttle.c863 unsigned int bio_size = throtl_bio_data_size(bio); in tg_within_bps_limit() local
881 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() local
974 tg->bytes_disp[rw] += bio_size; in throtl_charge_bio()
975 tg->last_bytes_disp[rw] += bio_size; in throtl_charge_bio()
/linux-6.1.9/drivers/md/
Ddm-writecache.c1374 unsigned bio_size = wc->block_size; in writecache_bio_copy_ssd() local
1376 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()
/linux-6.1.9/fs/btrfs/
Dextent_io.c1368 u32 bio_size = bio->bi_iter.bi_size; in btrfs_bio_add_page() local
1413 bio_ctrl->len_to_stripe_boundary) - bio_size; in btrfs_bio_add_page()