Home
last modified time | relevance | path

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

/block/
Dblk-zoned.c174 sector_t nr_sectors) in blkdev_allow_reset_all_zones() argument
183 return !sector && nr_sectors == get_capacity(bdev->bd_disk); in blkdev_allow_reset_all_zones()
203 sector_t sector, sector_t nr_sectors, in blkdev_zone_mgmt() argument
209 sector_t end_sector = sector + nr_sectors; in blkdev_zone_mgmt()
230 if ((nr_sectors & (zone_sectors - 1)) && end_sector != capacity) in blkdev_zone_mgmt()
242 blkdev_allow_reset_all_zones(bdev, sector, nr_sectors)) { in blkdev_zone_mgmt()
323 if (zrange->sector + zrange->nr_sectors <= zrange->sector || in blkdev_truncate_zone_range()
324 zrange->sector + zrange->nr_sectors > get_capacity(bdev->bd_disk)) in blkdev_truncate_zone_range()
329 end = ((zrange->sector + zrange->nr_sectors) << SECTOR_SHIFT) - 1; in blkdev_truncate_zone_range()
385 ret = blkdev_zone_mgmt(bdev, op, zrange.sector, zrange.nr_sectors, in blkdev_zone_mgmt_ioctl()
Dblk-core.c739 unsigned int nr_sectors = bio_sectors(bio); in bio_check_eod() local
741 if (nr_sectors && maxsector && in bio_check_eod()
742 (nr_sectors > maxsector || in bio_check_eod()
743 bio->bi_iter.bi_sector > maxsector - nr_sectors)) { in bio_check_eod()
788 int nr_sectors = bio_sectors(bio); in blk_check_zone_append() local
804 if (nr_sectors > q->limits.chunk_sectors) in blk_check_zone_append()
808 if (nr_sectors > q->limits.max_zone_append_sectors) in blk_check_zone_append()
Dblk-merge.c373 unsigned int nr_sectors = 0; in blk_recalc_rq_segments() local
398 bvec_split_segs(rq->q, &bv, &nr_phys_segs, &nr_sectors, in blk_recalc_rq_segments()