Home
last modified time | relevance | path

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

/linux-6.12.1/block/
Dblk-lib.c41 sector_t bio_sects = min(*nr_sects, bio_discard_limit(bdev, *sector)); in blk_alloc_discard_bio() local
44 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()