Home
last modified time | relevance | path

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

/Linux-v4.19/fs/exofs/
Dore.c618 unsigned bio_size; in _ore_add_stripe_unit() local
621 bio_size = ios->si.maxdevUnits; in _ore_add_stripe_unit()
623 bio_size = (ios->si.maxdevUnits + 1) * in _ore_add_stripe_unit()
627 bio_size *= (ios->layout->stripe_unit / PAGE_SIZE); in _ore_add_stripe_unit()
629 per_dev->bio = bio_kmalloc(GFP_KERNEL, bio_size); in _ore_add_stripe_unit()
632 bio_size); in _ore_add_stripe_unit()
/Linux-v4.19/block/
Dblk-throttle.c938 unsigned int bio_size = throtl_bio_data_size(bio); in tg_with_in_bps_limit() local
952 if (tg->bytes_disp[rw] + bio_size <= bytes_allowed) { in tg_with_in_bps_limit()
959 extra_bytes = tg->bytes_disp[rw] + bio_size - bytes_allowed; in tg_with_in_bps_limit()
1039 unsigned int bio_size = throtl_bio_data_size(bio); in throtl_charge_bio() local
1042 tg->bytes_disp[rw] += bio_size; in throtl_charge_bio()
1044 tg->last_bytes_disp[rw] += bio_size; in throtl_charge_bio()