Searched refs:bio_sects (Results 1 – 1 of 1) sorted by relevance
41 sector_t bio_sects = min(*nr_sects, bio_discard_limit(bdev, *sector)); in blk_alloc_discard_bio() local44 if (!bio_sects) in blk_alloc_discard_bio()51 bio->bi_iter.bi_size = bio_sects << SECTOR_SHIFT; in blk_alloc_discard_bio()52 *sector += bio_sects; in blk_alloc_discard_bio()53 *nr_sects -= bio_sects; in blk_alloc_discard_bio()