Searched refs:maxsector (Results 1 – 1 of 1) sorted by relevance
745 static void handle_bad_sector(struct bio *bio, sector_t maxsector) in handle_bad_sector() argument753 (long long)maxsector); in handle_bad_sector()825 static inline int bio_check_eod(struct bio *bio, sector_t maxsector) in bio_check_eod() argument829 if (nr_sectors && maxsector && in bio_check_eod()830 (nr_sectors > maxsector || in bio_check_eod()831 bio->bi_iter.bi_sector > maxsector - nr_sectors)) { in bio_check_eod()832 handle_bad_sector(bio, maxsector); in bio_check_eod()