Lines Matching refs:sectors
117 unsigned int sectors = min(bio_sectors(bio), in bch_data_invalidate() local
123 bio->bi_iter.bi_sector += sectors; in bch_data_invalidate()
124 bio->bi_iter.bi_size -= sectors << 9; in bch_data_invalidate()
129 sectors)); in bch_data_invalidate()
367 unsigned int sectors, congested; in check_should_bypass() local
453 sectors = max(task->sequential_io, in check_should_bypass()
457 sectors >= dc->sequential_cutoff >> 9) { in check_should_bypass()
462 if (congested && sectors >= congested) { in check_should_bypass()
540 unsigned int sectors = KEY_INODE(k) == s->iop.inode in cache_lookup_fn() local
544 int ret = s->d->cache_miss(b, s, bio, sectors); in cache_lookup_fn()
550 BUG_ON(bio_sectors <= sectors); in cache_lookup_fn()
893 struct bio *bio, unsigned int sectors) in cached_dev_cache_miss() argument
903 miss = bio_next_split(bio, sectors, GFP_NOIO, &s->d->bio_split); in cached_dev_cache_miss()
911 s->insert_bio_sectors = min3(size_limit, sectors, bio_sectors(bio)); in cached_dev_cache_miss()
1266 struct bio *bio, unsigned int sectors) in flash_dev_cache_miss() argument
1268 unsigned int bytes = min(sectors, bio_sectors(bio)) << 9; in flash_dev_cache_miss()